Skip to main content

Get nearby retailers

GET /idp/v1/retailers

Get a list of nearby retailers based on the specified postal code and country code.

Authorization

NameInDescription
AuthorizationheaderThe Authorization header with the bearer token acquired during authentication.

URL parameters

NameInTypeRequiredDescription
postal_codequerystringRequiredThe US postal code. Used to find retailers in the vicinity of the postal code.

Request body

None.

Request examples

curl --request GET \
--url 'https://connect.instacart.com/idp/v1/retailers?postal_code=string' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'

Response

FieldTypeRequiredDescription
retailersArray(Retailer)OptionalThe returned nearby retailers.
Retailer Object
FieldTypeRequiredDescription
idintegerOptionalThe unique identifier that represents a retailer as a whole organization, rather than individual stores or locations.
namestringOptionalThe retailer name.
retailer_logo_urlstringOptionalThe retailer logo URL.

Response examples

200 Success

{
"retailers": [
{
"id": 123,
"name": "Test Retailer",
"retailer_logo_url": "www.logoUrl.com"
}
]
}