EverySearch Places API
POST
API health
- 24h health
- Normal
- Healthy / normal
- Available
- Limited
- Mostly down
Normal
Last 24 hours
Last 30 days
Places and local business search
Price $0.69 per 1,000 requests ($0.000694 per call). Failed calls and empty results are not charged.
AI prompt
#Help me write a script that calls the EveryInfra "Places" API.
API contract:
- Request: POST https://api.everyinfra.com/api/v1/search with the header Authorization: Bearer <API Key>. Read the key from the EVERYINFRA_API_KEY environment variable; do not put it in the code.
- In the request body, set tool to places and put the parameters in params.
- Required parameters:
- q: Search query.
- Optional parameters:
- location: A place, such as a city or district; it is searched together with the query.
- num: Number of places, up to 20; larger values return 20.
- Example request body:
{
"tool": "places",
"params": {
"q": "coffee",
"location": "New York",
"num": 3
}
}
- Billing: Price $0.69 per 1,000 requests ($0.000694 per call). Failed calls and empty results are not charged.
- On 422, fix the parameters using the suggestions and allowed values in the error. On 429 or 503, wait for Retry-After and try again.
Before writing code, ask me how many items I need to process and what format to save the results in, then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
tool | body | string | Yes | places | Tool name, fixed value. |
q | body.params | string | Yes | - | Search query. |
location | body.params | string | No | - | A place, such as a city or district; it is searched together with the query. |
num | body.params | integer (1–20) | No | 10 | Number of places, up to 20; larger values return 20. |
Code samples
#bash
curl -X POST 'https://api.everyinfra.com/api/v1/search' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"tool": "places",
"params": {
"q": "coffee",
"location": "New York",
"num": 3
}
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
#Captured October 24, 2026 at 22:01 (UTC) by calling this API with the parameters in the code sample above. results and count are that call's real response with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2. id, billing and quota differ on every call, so only their shape is shown.
json
{ "id": "req_…", "tool": "places", "results": [ { "title": "Dam Roast House & Browder Bookstore", "address": "554 Nevada Way, Boulder City, NV 89005", "latitude": 35.9771895, "longitude": -114.838469, "rating": 4.8, "rating_count": 561, "category": "Coffee shop", "categories": [ "Coffee shop", "Book store" ], "phone": "•••", "website": "http://www.damroasthousebc.com/", "opening_hours": { "Saturday": "6 AM–5 PM", "Sunday": "6 AM–5 PM", "Monday": "6 AM–5 PM", "Tuesday": "6 AM–5 PM", "Wednesday": "6 AM–5 PM", "Thursday": "6 AM–5 PM", "Friday": "6 AM–5 PM" }, "thumbnail_url": "https://lh3.googleusercontent.com/grass-cs/AABkmLf4-cpUw7kELwRhr17jbq5mKywqGj6YQcgRTRCjzyrp1IwiTyzk9E5y9cqSHfEc-gOK7eaWAMR1ahVoIM-rJ8Jfq50GDUFqSlYvRjJ9SXzrafaOW42dbzfD3_ex1ZfWf2Pw5YpJqad8nn7C", "place_id": "ChIJu5l4IRYryYARDeIpoXxvZEs" }, { "title": "The Coffee Cup Cafe", "address": "512 Nevada Way, Boulder City, NV 89005", "latitude": 35.9776607, "longitude": -114.8379609, "rating": 4.8, "rating_count": 3948, "category": "Coffee shop", "categories": [ "Coffee shop", "Bar", "Cafe" ], "phone": "•••", "website": "http://worldfamouscoffeecup.com/", "opening_hours": { "Saturday": "6 AM–2 PM", "Sunday": "6 AM–2 PM", "Monday": "6 AM–2 PM", "Tuesday": "6 AM–2 PM", "Wednesday": "6 AM–2 PM", "Thursday": "6 AM–2 PM", "Friday": "6 AM–2 PM" }, "thumbnail_url": "https://lh3.googleusercontent.com/grass-cs/AABkmLeandCndjsMrUCyaMWX17I-LspQ9FviwQnndWDPuRWDs3PT8wAG99vD5KHNvjIafGiRp3A7rEUaZuNkxHXdOabApOI1onpOxhYZKMqNseQeiO3w-0IMKZvyMrIR4PjR9L_ayKY", "place_id": "ChIJ_92jHDQryYARn-GaGEjl2fw" } ], "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.