ASOS
ASOS Stock API
Price and online stock of up to 100 ASOS products in one call, for one country and currency: per product the price block (price, previous price, RRP, lowest 30-day price, sale and outlet flags, discount), price_since, in_stock and every size variant with its own price, in_stock, low_stock and restocking_soon. Ids the store does not sell are listed in not_found. ASOS has no physical stores, so this is online stock. Costs 1 credit per call, however many ids.
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_idsstring[] | stringrequired1 to 100 ASOS product ids, as a list or comma-separated (items[].product_id of any answer). The same ids on every store.
Example: ["205338218", "206956133", "209793673"]
countrystringdefault:gbThe country, ISO-2 lower case (gb for the United Kingdom, not uk). ASOS serves it from one of its 13 stores (see the table below and the markets endpoint); this endpoint serves all 235 countries and 245 country-currency combinations. Every answer echoes country, currency, store and language. ru and by (ASOS is not selling there), countries ASOS does not list, and uk (send gb) answer 400, not charged.
Example: gb
currencystringISO-4217 currency, default ASOS's own default for the country. Any currency ASOS offers the country is accepted: ae AED or GBP, sa SAR or GBP, hk and mo HKD or GBP, il ILS, GBP or USD, jp and kr USD or GBP, kw and qa GBP or USD. Another currency answers 400 listing the allowed ones, not charged.
Example: GBP
Notes
Stores and currencies. This endpoint serves all 235 countries and 245 country-currency combinations, 18 currencies in all, through 13 ASOS stores: 11 with a site of their own in their own language (gb, us, fr, de, es, it, au, dk, nl, pl, se) plus ASOS's European store (europe) and international store (international), both in English. ru and by (ASOS is not selling there), countries ASOS does not list, and uk (send gb) answer 400, not charged. The markets endpoint lists every country with its store, language, currencies and size schema.
| store | country | Currencies | Language |
|---|---|---|---|
gb | gb (United Kingdom) | GBP | English (en-GB) |
us | us, pr | USD | English (en-US) |
fr | fr, mc; bl, gf, gp, mf, mq, nc, pf, pm, re, tf, wf, yt (French overseas territories) | EUR (fr, mc); USD (the territories) | French |
de | de, at | EUR | German |
es | es, ad | EUR | Spanish |
it | it, sm, va | EUR | Italian |
au | au, cc, cx, nf | AUD | English (en-AU) |
dk | dk | DKK | Danish |
nl | nl | EUR | Dutch |
pl | pl | PLN | Polish |
se | se | SEK | Swedish |
europe | 33 countries: ie, pt, be, lu, fi, gr, cz, hu, ro, bg, hr, si, sk, ee, lv, lt, cy, mt, al, ax, md, me, mk, rs (EUR); no, sj (NOK); fo, gl (DKK); am, ba, ge, kg, kz (GBP) | EUR, NOK, DKK, GBP | English (en-GB) |
international | 170 countries, e.g. ca (CAD), mx, in, za, br (USD), ch and li (CHF), nz (NZD), ae (AED or GBP), sa (SAR or GBP), hk and mo (HKD or GBP), il (ILS, GBP or USD), jp and kr (USD or GBP), kw and qa (GBP or USD), sg (SGD), tw (TWD), cn (CNY), xk (EUR) | USD and 13 more | English (en-GB) |
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=120)
ids = ["205338218", "206956133", "209793673"]
# The same ids in several countries and currencies: 1 credit per call, up to 100 ids each.
markets = [{"country": "gb"}, {"country": "de"}, {"country": "us"}, {"country": "ae", "currency": "AED"}]
for m in markets:
r = client.asos.stock(product_ids=ids, **m)["data"]
for p in r["products"]:
print(r["country"], r["currency"], p["product_id"], p["price"], p["previous_price"], p["in_stock"])
print("not sold here:", r["not_found"])Response