Media Expert
Media Expert Suggestions API
Media Expert's search suggestions for a partial query (8 by default, up to 10), each with how many times shoppers searched it (Media Expert's own count) and its average number of results, plus the matching categories with their paths. 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: pral
limitintegerdefault:8Suggestions, 1 to 10 (8 is what the site shows).
Example: 5
Notes
Store. One store: mediaexpert.pl, Poland, prices in PLN. There is no country input: Media Expert runs one Polish storefront. Names, specifications, labels, store names and review text come back in Polish, as Media Expert writes them; field names are English. Cost: 1 credit. Billing is the actual cost of the call, and every answer reports it in credits_used.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=210)
data = client.mediaexpert.suggestions(query="pral")["data"]
for s in data["suggestions"]:
print(s["phrase"], s["searches"], s["average_results"])Response