Action
Action Webshop Search API
Search the Action (action.com) webshop, shop.action.com, in the Netherlands and Belgium, or list one of its categories: each item with its EAN, Action article number, price, struck-through price, online stock level, order limit, shipping cost and promo label. Costs 1 credit.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonquerystringSearch text in Dutch or French (stofzuiger = vacuum cleaner). Send query or category.
Example: stofzuiger
categorystringOr a webshop category slug: the /c/<slug> part of a shop.action.com link (e.g. alle-tijdelijke-deals, all temporary deals).
Example: alle-tijdelijke-deals
pageintegerdefault:1Page, 1 to 200, 24 items a page.
Example: 2
countrystringdefault:nlThe Action market, as a lowercase country code. This endpoint serves the Action webshop (shop.action.com) in nl (nl-nl) and be (nl-be, or fr-be with language fr). Any other country answers 400, not charged. Prices come back in the market's currency, never converted. Bulgaria and every other country answer 400, not charged.
Example: nl
nl— Netherlands, EUR, nl (Dutch) (nl-nl). The default.be— Belgium, EUR, nl (Dutch) or fr (French); default nl (nl-be, fr-be).
languagestringFor be: nl (default) or fr.
Example: fr
Notes
Store. Action (action.com), the European non-food discount store, on 19 storefronts in 16 countries: country picks the market (default nl, the Netherlands) and language the storefront where a country has two or three (Belgium nl or fr, Switzerland de, fr or it). Titles, descriptions, labels, category names and facet values come back in that storefront's language, as Action writes them (Dutch by default); field names are English. Prices are numbers in the market's currency (EUR; CHF in Switzerland, PLN in Poland, CZK in Czechia, RON in Romania), never converted. An article number (product_code, 7 digits) is the same in every market; Action sets the price per market, inside the euro zone too. Every answer echoes country, language, market (the storefront, e.g. nl-nl) and currency. Not Action S.A. (action.pl), a Polish IT distributor. The Action webshop (shop.action.com) is separate from the store catalogue and runs in three storefronts only: nl-nl (country nl), nl-be (country be) and fr-be (country be, language fr). It sells a smaller online range, often online-only deals, shipped to the home. Its items carry the EAN, Action's online stock level (HIGH ... SOLD_OUT) and the order limit: that is online stock, not store stock (Action publishes no store stock). Cost: 1 credit.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=210)
# Online stock of every vacuum cleaner on the Dutch webshop.
d = client.action.webshop_search(query="stofzuiger", country="nl")["data"]
for i in d["items"]:
print(i["ean"], i["title"], i["price"], i["stock_level"], "max", i["order_limit"], i["promo_label"])Response