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.

DatasetWhat it holdsSourceRESTMCP
bestseller-plAllegro bestsellersAllegro /api/v1/bestseller-pl /mcp/bestseller-pl
bestseller-deAmazon.de bestsellersamazon.de /api/v1/bestseller-de /mcp/bestseller-de
bestseller-ukAmazon.co.uk bestsellersamazon.co.uk /api/v1/bestseller-uk /mcp/bestseller-uk
price-plShop prices: PolandGoogle Shopping /api/v1/price-pl /mcp/price-pl
price-deShop prices: GermanyGoogle Shopping /api/v1/price-de /mcp/price-de
price-ukShop prices: United KingdomGoogle Shopping /api/v1/price-uk /mcp/price-uk
price-roShop prices: RomaniaGoogle Shopping /api/v1/price-ro /mcp/price-ro
price-nlShop prices: NetherlandsGoogle Shopping /api/v1/price-nl /mcp/price-nl
price-czShop prices: Czech RepublicGoogle Shopping /api/v1/price-cz /mcp/price-cz
price-frShop prices: FranceGoogle Shopping /api/v1/price-fr /mcp/price-fr
price-esShop prices: SpainGoogle Shopping /api/v1/price-es /mcp/price-es
price-itShop prices: ItalyGoogle Shopping /api/v1/price-it /mcp/price-it
price-seShop prices: SwedenGoogle Shopping /api/v1/price-se /mcp/price-se
price-dkShop prices: DenmarkGoogle Shopping /api/v1/price-dk /mcp/price-dk
price-noShop prices: NorwayGoogle Shopping /api/v1/price-no /mcp/price-no
price-atShop prices: AustriaGoogle Shopping /api/v1/price-at /mcp/price-at
price-chShop prices: SwitzerlandGoogle Shopping /api/v1/price-ch /mcp/price-ch
ceneo-plShop 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.

PlanRequests / minRequests / dayRecords / dayRecords / monthDepthPage fetching / month
Free20 505003 000 10050 MB
Basic120 5 00050 000500 000 5 0005 000 MB
Enterprise600 60 000200 0002 000 000 50 00050 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.

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://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"}'
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).

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: