Getting started
Dealavo Kit serves e-commerce data in two forms: a REST API for your code and MCP servers for your LLM. Both read the same datasets and use the same token.
Create a token in the panel
Start → Generate a token. Keep it in an environment variable, not in code:
export KIT_TOKEN="kit_…"
Check that it works
curl https://builder.dealavo.com/api/v1/me -H "Authorization: Bearer $KIT_TOKEN"
The response shows your plan and today’s usage.
Pull your first data
# Allegro bestsellers for a phrase
curl "https://builder.dealavo.com/api/v1/bestseller-pl/products?q=ekspres&page_size=25" \
-H "Authorization: Bearer $KIT_TOKEN"
# prices of the same thing in Polish shops
curl "https://builder.dealavo.com/api/v1/price-pl/products?q=ekspres&limit=5" \
-H "Authorization: Bearer $KIT_TOKEN"
The address layout is always the same: https://builder.dealavo.com/api/v1/<dataset>/<resource>. The list of datasets comes from GET /api/v1/datasets.
Datasets
Base address: https://builder.dealavo.com. Every dataset has its own REST address and its own MCP server; click a name for the reference.
| Dataset | What it holds | Source | REST | MCP |
|---|---|---|---|---|
| bestseller-pl | Allegro bestsellers | Allegro | /api/v1/bestseller-pl | /mcp/bestseller-pl |
| bestseller-de | Amazon.de bestsellers | amazon.de | /api/v1/bestseller-de | /mcp/bestseller-de |
| bestseller-uk | Amazon.co.uk bestsellers | amazon.co.uk | /api/v1/bestseller-uk | /mcp/bestseller-uk |
| price-pl | Shop prices: Poland | Google Shopping | /api/v1/price-pl | /mcp/price-pl |
| price-de | Shop prices: Germany | Google Shopping | /api/v1/price-de | /mcp/price-de |
| price-uk | Shop prices: United Kingdom | Google Shopping | /api/v1/price-uk | /mcp/price-uk |
| price-ro | Shop prices: Romania | Google Shopping | /api/v1/price-ro | /mcp/price-ro |
| price-nl | Shop prices: Netherlands | Google Shopping | /api/v1/price-nl | /mcp/price-nl |
| price-cz | Shop prices: Czech Republic | Google Shopping | /api/v1/price-cz | /mcp/price-cz |
| price-fr | Shop prices: France | Google Shopping | /api/v1/price-fr | /mcp/price-fr |
| price-es | Shop prices: Spain | Google Shopping | /api/v1/price-es | /mcp/price-es |
| price-it | Shop prices: Italy | Google Shopping | /api/v1/price-it | /mcp/price-it |
| price-se | Shop prices: Sweden | Google Shopping | /api/v1/price-se | /mcp/price-se |
| price-dk | Shop prices: Denmark | Google Shopping | /api/v1/price-dk | /mcp/price-dk |
| price-no | Shop prices: Norway | Google Shopping | /api/v1/price-no | /mcp/price-no |
| price-at | Shop prices: Austria | Google Shopping | /api/v1/price-at | /mcp/price-at |
| price-ch | Shop prices: Switzerland | Google Shopping | /api/v1/price-ch | /mcp/price-ch |
| ceneo-pl | Shop prices: Ceneo (Poland) | Ceneo | /api/v1/ceneo-pl | /mcp/ceneo-pl |
Token
Every request carries the header Authorization: Bearer kit_…. A token is read-only and works for every dataset. A revoked token stops working within half a minute.
Do not put the token in browser-side code or a public repository: whoever holds it spends your limit.
Limits
Limits count per account, across all tokens, datasets, REST and MCP. A record is one product, offer or seller in a response; a single product card counts as one record.
| Plan | Requests / min | Requests / day | Records / day | Records / month | Depth | Page fetching / month |
|---|---|---|---|---|---|---|
| Free | 20 | 50 | 500 | 3 000 | 100 | 50 MB |
| Basic | 120 | 5 000 | 50 000 | 500 000 | 5 000 | 5 000 MB |
| Enterprise | 600 | 60 000 | 200 000 | 2 000 000 | 50 000 | 50 000 MB |
Every data response has the headers X-Quota-Plan, X-Quota-Rows-Day and X-Quota-Rows-Month (used/limit).
Errors
An error is always JSON with the field error.
| Status | error | What to do |
|---|---|---|
| 400 | depth_limit | You are paging too deep into one filter. Narrow the filter instead of paging on. |
| 401 | unauthorized | No token or a revoked one. Create a new one in the panel. |
| 403 | account_blocked | Account access is on hold. Write to us. |
| 404 | not_found | No such dataset or resource. Check the reference. |
| 429 | quota_exceeded | The limit named in quota is used up. The header Retry-After says when it resets. |
| 429 | rate_limited | Too many requests per minute. Slow down and retry shortly. |
| 503 | not_configured | Page fetching is not switched on yet. |
| 502 | upstream_unavailable | A short outage on our side. Retry in a moment. |
Pagination
The bestseller-* datasets paginate with page and page_size; the price-* datasets with offset and limit. Every plan has a depth limit: that many records of one filter can be walked. To see more, narrow the filter (category, brand, price range).
Page fetching
One call returns the content of a public web page — a product page, a listing, a price list — also where a plain request gets blocked. The content comes as text or HTML; you extract prices and names yourself, or your LLM does.
curl -X POST https://builder.dealavo.com/api/v1/fetch \
-H "Authorization: Bearer $KIT_TOKEN" -H "Content-Type: application/json" \
-d '{"url": "https://example-shop.pl/produkt/123", "country": "PL", "mode": "text"}'
| Field | Meaning |
|---|---|
| url * | A public http(s) address. |
| country | Country the request should come from (ISO code, e.g. PL, DE). |
| mode | text (default) or html. |
| expect | Text that must be on the page; without it we try a stronger method. |
| offset, max_chars | A slice of long content (first 20,000 characters by default). |
Page fetching is metered by traffic, not by the number of calls: a plan has a monthly pool in megabytes (table above). The bytes field in the response says how much the pool went down; a typical page is 0.02–1 MB. All traffic of a fetch counts, failed attempts included. You can add a bigger pool in the Account tab. Once the pool is used up the answer is 429 with quota: fetch_mb_month.
For your LLM
Instead of explaining the API to a model in your own words, hand it a ready description: