---
title: "Find nearby Costco warehouses"
method: GET
path: "/costco/warehouses"
tags: ["Costco"]
---

# Find nearby Costco warehouses

`GET /costco/warehouses`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/costco/warehouses`
- Auth: API key in header `x-api-key`

Returns Costco warehouses near a latitude/longitude, sorted by distance: name, address, and distance for each. Public data sourced from Costco's own warehouse locator backend.

## Query parameters

- `latitude` number, required
- `longitude` number, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- CostcoWarehousesResponseDoc
  - `code` integer
  - `data` CostcoWarehousesResponse
    - `warehouses` CostcoWarehouse[]
      - `address_line1` string
      - `city` string
      - `distance_miles` number
      - `id` string
      - `latitude` number
      - `longitude` number
      - `name` string
      - `postal_code` string
      - `state` string
      - `type` string
  - `msg` string

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/afac9b012a27?raw)
