OLX
OLX Seller API
One OLX seller by id on any of the seven OLX Europe sites: is_business (from the seller's own ads), business_name (the company name of business sellers only; null for private sellers), member_since, active_ads (the number of live ads; null on kz and uz from 1,000 ads up) and ads_url (the seller's page on OLX). Ratings are not available on OLX, so none are returned. Costs 1 credit per request.
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/jsonuser_idstring | integerrequiredAn OLX seller id: items[].seller.id of a search or seller.id of an ad. Send the country of the site where you found the id.
Example: 2547532895
countryenum<string>default:plThe OLX site. Titles, parameters and labels come back in the site's language (Polish on pl; Russian by default on kz and uz), prices in its currency. When you send a url, the market follows the url.
Example: pl
pl— olx.pl, PLN, Polish. The default.ro— olx.ro, RON, Romanian.pt— olx.pt, EUR, Portuguese.bg— olx.bg, EUR, Bulgarian.ua— olx.ua, UAH, Ukrainian.kz— olx.kz, KZT, Russian by default, Kazakh with language kk.uz— olx.uz, UZS, Russian by default, Uzbek with language uz.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
s = client.olx.seller(user_id=2547532895)["data"]
print(s["business_name"] if s["is_business"] else "private seller", s["active_ads"], "live ads since", s["member_since"])Response