---
title: "Costco API: Warehouses | Perceptlayer"
description: "Warehouses from Costco as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/costco/warehouses
---

[APIs](https://perceptlayer.com/apis) / [Costco](https://perceptlayer.com/apis/costco) / Warehouses

# Costco: Warehouses

Warehouses from Costco as JSON. 1 credit per successful call.

GET `/v1/costco/warehouses`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `locale` | string | Optional | en-US, en-CA, fr-CA |
| `latitude` | number | Optional | Any |
| `longitude` | number | Optional | Any |
| `postal_code` | string | Optional | Up to 12 characters |
| `page` | integer | Optional | Any |
| `per_page` | integer | Optional | Any |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/costco/warehouses?latitude=40.749&longitude=-73.996&per_page=5" \
  -H "X-API-Key: $API_KEY"
```

[Run this endpoint in the playground](https://perceptlayer.com/apis/costco?try=warehouses#playground) with your own parameters. 1 credit per successful call; failed calls are free.
