EverySearch Shopping API
POST
API health
- 24h health
- Normal
- Healthy / normal
- Available
- Limited
- Mostly down
Normal
Last 24 hours
Last 30 days
Product search and price comparison
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 "Shopping" 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 shopping and put the parameters in params.
- Required parameters:
- q: Search query.
- Optional parameters:
- num: Number of products, up to 40; larger values return 40.
- Example request body:
{
"tool": "shopping",
"params": {
"q": "coffee",
"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 | shopping | Tool name, fixed value. |
q | body.params | string | Yes | - | Search query. |
num | body.params | integer (1–40) | No | 10 | Number of products, up to 40; larger values return 40. |
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": "shopping",
"params": {
"q": "coffee",
"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": "shopping", "results": [ { "title": "Folgers Classic Roast Ground Coffee", "url": "https://www.google.com/search?ibp=oshop&q=coffee&prds=localAnnotatedOfferId:1,catalogid:16914877625280977865,gpcid:4610229434626044529,pvo:2,pvt:hg&gl=us&udm=28&pvorigin=2", "price": "$7.96", "merchant": "Walmart", "rating": 4, "rating_count": 2200, "image_url": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcRuNmbTUg6s244fX4-Lo0IhYr-TwBdxnyR263zIoVK8sQtRtnHlomLiLTwp-G1QOlJ3-1AHahRKI-_R-RtTWdXDoQY8Jtpf4tNbh5iIFCn3", "product_id": "16914877625280977865" }, { "title": "Maxwell House Original Roast Ground Coffee", "url": "https://www.google.com/search?ibp=oshop&q=coffee&prds=localAnnotatedOfferId:1,catalogid:13722422005171491253,gpcid:8462072460122212265,pvo:2,pvt:hg&gl=us&udm=28&pvorigin=2", "price": "$18.68", "merchant": "Sam's Club", "rating": 4.7, "rating_count": 1100, "image_url": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcRX6cTBW174c4ToLbN71seCskTrAaJozQVYWBqFVcpv7k_lh-4oUHh6Bf6dpxyzEN9AeMLtQMS5vJbvvlwg4_E8nns0gbt6mIqspIVcxBxcF4mkFAgNkjj7tw", "product_id": "13722422005171491253" } ], "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.