Endpoints

Create Search

Starts a Google Maps search. Returns the new list right away with status running; poll Search Status until it is completed.

curl -X POST https://prospectcheap.com/api/gmaps/lists \
  -H "Authorization: Bearer pc_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{ "keywords": ["plumber"], "location": "Austin, Texas", "country": "US", "maxResults": 100 }'

Body examples

SourceBody
POST /api/gmaps/lists{ "keywords": ["dentist"], "location": "Austin, Texas", "country": "US", "maxResults": 100 }

Response

{ "list": { "id": "460b081d-cd98-4ec8-bacc-c50d5e003c71", "status": "running", "result_count": 0 }, "credits": 1450 }

Credits for the most the search could cost are reserved when it starts; what it doesn't use comes back when it finishes.