Endpoints
Places
Business listings by trade and town, with the website, the phone number and the people behind it. Lead lists, ready to work.
POST
/v1/places/search
Request
Send a JSON body with a URL (or a list) and any options. The response holds data and what the call cost.
import requestsr = requests.post( 'https://api.snoopscan.com/v1/places/search', headers={'Authorization': 'Bearer sk_YOUR_KEY'}, json={ 'query': 'coffee shops', 'location': 'Austin, TX', 'limit': 20, 'enrich': True },)print(r.json())
const r = await fetch('https://api.snoopscan.com/v1/places/search', { method: 'POST', headers: { Authorization: 'Bearer sk_YOUR_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ "query": "coffee shops", "location": "Austin, TX", "limit": 20, "enrich": true }),});console.log(await r.json());
curl -X POST https://api.snoopscan.com/v1/places/search \ -H 'Authorization: Bearer sk_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{ "query": "coffee shops", "location": "Austin, TX", "limit": 20, "enrich": true}'
Returns places · website · phone · contacts · 10 credits a search.
Parameters
The parameter list could not be loaded.
The example above is correct. Refresh in a moment for the full list.
Response
A success returns {"success": true, "data": {…}}. data holds the formats you asked for, the page's metadata, and a cost object with what the call was charged. A failure returns {"success": false, "error": {…}} with an error code. See Errors.
Failed requests are not charged.
Re-reading a page you already fetched, within
maxAge, is free. See Credits for every rate.