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.

PlanRequests / minRequests / dayRecords / dayRecords / monthDepthPages / day
Beta (free)120 3 00020 000150 000 2 00025
Maker240 15 000100 0001 000 000 10 000250
Pro600 60 000500 0005 000 000 50 0002 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.

StatuserrorWhat to do
400depth_limitYou are paging too deep into one filter. Narrow the filter instead of paging on.
401unauthorizedNo token or a revoked one. Create a new one in the panel.
403account_blockedAccount access is on hold. Write to us.
404not_foundNo such dataset or resource. Check the reference.
429quota_exceededThe limit named in quota is used up. The header Retry-After says when it resets.
429rate_limitedToo many requests per minute. Slow down and retry shortly.
503not_configuredPage fetching is not switched on yet.
502upstream_unavailableA 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"}'
FieldMeaning
url *A public http(s) address.
countryCountry the request should come from (ISO code, e.g. PL, DE).
modetext (default) or html.
expectText that must be on the page; without it we try a stronger method.
offset, max_charsA 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: