Filter locations to a region
Add geographic filters to GET /api/v1/locations. This request returns Dutch Bros records in California. It requires a data-enabled key with locations:read.
curl --fail-with-body --silent --show-error --get \
'https://api.brandmappr.com/api/v1/locations' \
-H "x-api-key: $BRANDMAPPR_KEY" \
--data-urlencode 'brand=Dutch Bros' \
--data-urlencode 'country=US' \
--data-urlencode 'state=CA'Use city for a city match, postcode for a postal code, or city with radius_km for a radius up to 100 km. Pass an ISO two-letter country and use country with state or city when names can match in several countries. See Locations API filters.
Last updated on