Search
Search across 3M+ products by name in English, Russian, or Arabic.
GET /v1/searchRequest
curl "https://api.c0r.ai/v1/search?q=chicken&limit=10&lang=en" \
-H "X-API-Key: fdb_your_key"Python
import requests
response = requests.get(
"https://api.c0r.ai/v1/search",
params={"q": "chicken", "limit": 10, "lang": "en"},
headers={"X-API-Key": "fdb_your_key"}
)
print(response.json())JavaScript
const response = await fetch(
"https://api.c0r.ai/v1/search?q=chicken&limit=10&lang=en",
{ headers: { "X-API-Key": "fdb_your_key" } }
);
const data = await response.json();
console.log(data);Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
q | string | yes | Search query (min 2 chars) |
limit | integer | no | Results per page (default 10, max 50) |
lang | string | no | Language filter: en, ru, ar |
source | string | no | Filter: curated, off |
Response
{
"results": [
{
"id": "c_abc123",
"name": "Chicken breast, raw",
"barcode": null,
"brands": null,
"nutrition": {
"calories": 165,
"proteins": 31.0,
"fats": 3.6,
"carbs": 0.0
},
"food_group": "Meat & Poultry",
"image_url": null,
"source": "curated",
"verified": true
}
],
"total": 42,
"query": "chicken",
"lang": "en"
}