Getting Started
Quick Start
Three calls: find a location, search, poll for verified results.
Getting Started
Three calls: find a location, search, poll for verified results.
Getting Started
Three calls: find a location, search, poll for verified results.
Three calls: find a location, search, then poll for enriched results. Get your key on the API Keys page.
1. Find a location code:
curl "https://leadmarina.com/api/v1/locations?q=austin" \
-H "Authorization: Bearer lm_live_xxxx"2. Search for businesses:
curl -X POST https://leadmarina.com/api/v1/search \
-H "Authorization: Bearer lm_live_xxxx" \
-H "Content-Type: application/json" \
-d '{ "query": "electrician", "location": "Austin, TX" }'3. Poll for the enriched results, then page through them:
curl "https://leadmarina.com/api/v1/searches/<search_id>?limit=1000" \
-H "Authorization: Bearer lm_live_xxxx"
# poll every 30–60 seconds; read "stage" (queued → discovering → enriching → verifying → complete)
# each call returns one page of results: 50 by default, up to 1,000 with ?limit=
# while "next_offset" is not null, fetch the next page with &offset=<next_offset>