Getting Started
Quick Start
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:
bash
curl "https://leadmarina.com/api/v1/locations?q=austin" \
-H "Authorization: Bearer lm_live_xxxx"2. Search for businesses:
bash
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:
bash
curl https://leadmarina.com/api/v1/searches/<search_id> \
-H "Authorization: Bearer lm_live_xxxx"
# poll every few seconds until "enrichment": "complete"