Allegro
Allegro Offer Details API
One Allegro offer (one seller's listing, /oferta/) by offer number or link, on allegro.pl, allegro.cz, allegro.sk or allegro.hu: title, condition, price, original price and the 30-day lowest price with the discount, price with delivery, units in stock, sold count, auction state (current price, minimum next bid, bid step, end time, whether anyone has bid) or buy now price, every parameter (EAN / GTIN, brand, model...), the seller's description as plain text, images, breadcrumb, delivery methods with price and estimated delivery, handling time, returns, warranty, the product's rating and offer count, and the seller (login, super seller, positive feedback percent and counts, business or private, company name for business sellers). Costs 2 credits 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/jsonoffer_idstring | integerAn offer number (8-14 digits): items[].offer_id of a search, category or seller answer. Send offer_id or url.
Example: 18801787032
urlstringAn offer link (allegro.pl/oferta/..., or a product link with ?offerId=), on any of the four sites. Alternative to offer_id.
Example: https://allegro.pl/oferta/laptop-hp-stream-14-17858046919
countryenum<string>default:plThe Allegro site. Titles, parameters, labels and facet names come back in the site's language (Polish on pl), prices in its currency. When you send a url, the market follows the url; a url on one site with a different country is a 400.
Example: pl
pl— allegro.pl, PLN, Polish. The default, and the only market with the buying_format and deals filters.cz— allegro.cz, CZK, Czech.sk— allegro.sk, EUR, Slovak. Calls can take up to about 60 seconds.hu— allegro.hu, HUF, Hungarian. Calls can take up to about 60 seconds.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
offer = client.allegro.offer(offer_id="18801787032")["data"]
print(offer["title"], offer["price"], offer["currency"], "with delivery", offer["price_with_delivery"])
if offer["lowest_price_30d"]:
print("30-day lowest before the discount:", offer["lowest_price_30d"], f"-{offer['discount_percent']}%")
s = offer["seller"]
print(s["login"], "super seller" if s["super_seller"] else "", s["positive_feedback_percent"], s["company_name"])Response