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
Panel → Tokens. Keep it in an environment variable, not in code:
export KIT_TOKEN="kit_…"
Check that it works
curl https://kit.dealavotagger.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://kit.dealavotagger.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://kit.dealavotagger.com/api/v1/price-pl/products?q=ekspres&limit=5" \
-H "Authorization: Bearer $KIT_TOKEN"
The address layout is always the same: https://kit.dealavotagger.com/api/v1/<dataset>/<resource>. The list of datasets comes from GET /api/v1/datasets.
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 | Pages / day |
|---|---|---|---|---|---|---|
| Beta (free) | 120 | 3 000 | 20 000 | 150 000 | 2 000 | 25 |
| Maker | 240 | 15 000 | 100 000 | 1 000 000 | 10 000 | 250 |
| Pro | 600 | 60 000 | 500 000 | 5 000 000 | 50 000 | 2 000 |
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://kit.dealavotagger.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). |
Every fetched page counts against the plan’s daily page limit.
For your LLM
Instead of explaining the API to a model in your own words, hand it a ready description: