Skip to Content
GuidesExport to CSV or GeoJSON

Export to CSV or GeoJSON

Preview a sample CSV on a published directory page . The Locations API serves JSON and GeoJSON. Check the directory for dataset availability or export your JSON response with your own CSV tooling.

Use a data-enabled key with locations:read to save GeoJSON. Each point uses [longitude, latitude] order. Retain the response’s attribution with the dataset.

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 'format=geojson' \ --output dutch-bros-us.geojson
Last updated on