ASOS
ASOS Suggestions API
The search suggestions ASOS offers for what a shopper has typed, in the store's language, each with ASOS's number of results for it on that store: keyword research and autocomplete for every ASOS store except Poland. 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/jsonquerystringrequiredWhat the shopper has typed so far, 1-100 characters.
Example: dre
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 234 of the 235 countries (244 country-currency combinations): not pl (ASOS's Polish store answers no search suggestions; use search; 400, not charged). 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: us
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 234 of the 235 countries (244 country-currency combinations): not pl (ASOS's Polish store answers no search suggestions; use search; 400, not charged), 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 |
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)
# What US shoppers are offered after typing "dre", with result counts.
r = client.asos.suggestions(query="dre", country="us")["data"]
for s in r["suggestions"]:
print(s["text"], s["count"])Response