Skip to content

List campaign locations by US state​

GET
/locations

US states that currently have active campaigns, with a campaign count per state, sorted by state name. The state is parsed out of each campaign's free-text location (a two-letter code or full state name); campaigns whose location cannot be matched to a state are left out. Cached for 5 minutes. Drives the location filter on campaign browse.

Responses​

States with active campaigns

application/json
JSON
{
"data": [
{
"code": "CA",
"name": "California",
"count": 0
}
]
}

Playground​

Samples​

Powered by VitePress OpenAPI

Built with VitePress