---
title: "Retrieve nearby stores"
method: GET
path: "/store-locator/v1/brand/nearbystores"
---

# Retrieve nearby stores

`GET /store-locator/v1/brand/nearbystores`

This endpoint retrieves a paginated list of stores near a given location, with optional filters for site status and actual distance calculation.

## Query parameters

- `page` integer
- `actualDistance` boolean
- `site_status` string
- `latitude` number
- `longitude` number
- `distance` integer
- `size` integer

## Headers

- `cap_authorization` string
- `cap_device_id` string
- `cap_brand` string
- `cap_mobile` string

## Response `200`

Successful response containing the paginated list of nearby stores and related information.

- object
  - `message` string — A human-readable message indicating the result of the operation.

## Other responses

- `400` — Bad Request - The request was malformed or parameters were invalid.
- `401` — Unauthorized - Authentication credentials were missing or invalid.
- `403` — Forbidden - The authenticated user does not have the necessary permissions.
- `404` — Not Found - The requested resource could not be found.
- `500` — Internal Server Error - An unexpected error occurred on the server.

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/versions/de241f2ed9b3/schema)
