Action
Action Product API
One Action (action.com) product in full on one market, by its article number or an action.com link: price, Action's struck-through price, unit price, the weekly-deal validity dates, labels, rating, images, Action's own brand info, the long description and highlights, specifications, category, sustainability and safety flags, and related products. The article number is the same in every market, so one call per market prices it everywhere Action sells it; a market that does not sell it answers a charged 404. Action does not publish store stock. 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/jsonproduct_codestring | integerAction's article number: items[].product_code, 7 digits, the same in every market. Send product_code or url.
Example: 3225277
urlstringAn action.com product link, https://www.action.com/<market>/p/<code>/<name>/; the market comes from the link (country and language, if sent, must agree with it). Send product_code or url.
Example: https://www.action.com/nl-nl/p/3225277/dennenslinger-met-led/
countrystringdefault:nlThe Action market, as a lowercase country code. This endpoint serves all 19 storefronts in 16 countries. 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).fr— France, EUR, fr (French) (fr-fr).lu— Luxembourg, EUR, fr (French) (fr-lu).de— Germany, EUR, de (German) (de-de).at— Austria, EUR, de (German) (de-at).ch— Switzerland, CHF, de (German) or fr (French) or it (Italian); default de (de-ch, fr-ch, it-ch).it— Italy, EUR, it (Italian) (it-it).es— Spain, EUR, es (Spanish) (es-es).pt— Portugal, EUR, pt (Portuguese) (pt-pt).pl— Poland, PLN, pl (Polish) (pl-pl).cz— Czechia, CZK, cs (Czech) (cs-cz).sk— Slovakia, EUR, sk (Slovak) (sk-sk).ro— Romania, RON, ro (Romanian) (ro-ro).hr— Croatia, EUR, hr (Croatian) (hr-hr).si— Slovenia, EUR, sl (Slovenian) (sl-si).
languagestringThe storefront's language where a country has more than one: be nl (default) or fr; ch de (default), fr or it. Every other country has one language: leave language out (sending another answers 400, not charged). Titles, labels and facet values come back in it; prices are the same on every storefront of one country.
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. Text comes in the storefront's language: in this capture Dennenslinger met led is a LED pine garland, Kleur colour, Afmeting size. Cost: 1 credit.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=210)
# One article number, priced on several Action markets (1 credit per market).
for country in ["nl", "de", "at", "si", "pl", "ro", "cz"]:
try:
p = client.action.product(product_code="3218276", country=country)["data"]
print(p["market"], p["title"], p["price"], p["regular_price"], p["currency"])
except Exception as e: # a market that does not sell it answers 404
print(country, "not sold:", e)Response