Hotline.ua shop offers for a product
Every shop's offer for a product on Hotline.ua: shop name, id, logo, website, rating and review counts, official-seller flag, price in UAH, condition, offer title and description, warranty, when it ships, where it ships from, delivery methods and costs, payment methods, instalments and the shop's stores, plus the link to the offer.
Every response includes credits_used: the credits this call cost.
Part of the Hotline.ua API: 13 endpoints with prices, use cases and example responses.
Parameters
| name | type | description |
|---|---|---|
pathrequired | string | Product link or path. Example: /mobile-mobilnye-telefony-i-smartfony/google-pixel-9-12128gb-obsidian/ |
condition | new | used | Only new or only used/refurbished offers. |
city | string | kyiv (default), lviv, kharkiv, odesa, dnipro, zaporizhzhia or a numeric city id. |
lang | uk | ru | Language (default uk). |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/hotline/v1/offers?path=%2Fmobile-mobilnye-telefony-i-smartfony%2Fgoogle-pixel-9-12128gb-obsidian%2F" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/hotline/v1/offers",
params={"path": "/mobile-mobilnye-telefony-i-smartfony/google-pixel-9-12128gb-obsidian/"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/hotline/v1/offers");
url.searchParams.set("path", "/mobile-mobilnye-telefony-i-smartfony/google-pixel-9-12128gb-obsidian/");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).
Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)
{"id": 25688444,"title": "Pixel 9 12/128GB Obsidian","path": "/mobile-mobilnye-telefony-i-smartfony/google-pixel-9-12128gb-obsidian/","city": "kyiv","lang": "uk","condition": null,"total": 24,"count": 24,"offers": [{"id": "14264319985","shop": "Xstore.Ua","shop_id": 40683,"shop_logo": "https://hotline.ua/img/yp/40683_v2_150.png","shop_website": "xstore.ua","shop_rating": 73,"shop_reviews": 227,"shop_positive_reviews": 114,"shop_negative_reviews": 28,"official": false,"price": 31299,"currency": "UAH","condition": "новый","condition_id": 0,"title": "Google Смартфон Google Pixel 9 12/128GB Obsidian","description": "Смартфон Google Pixel 9 12/128GB Obsidian","warranty_months": 12,"warranty_unit": "мес.","warranty_type": "от магазина","ships": null,"delivery_from": "з Харкова","free_delivery": false,"same_city": false,"shop_country": "UA","delivery_methods": [],"payment_methods": ["card-card","non-vat","… 2 more"],"installments": [],"stores": [],"go_url": "https://hotline.ua/go/price/14264319985/"},{"id": "14269462184","shop": "mbuy24.com","shop_id": 34449,"shop_logo": "https://hotline.ua/img/yp/34449_v2_150.png","shop_website": "mbuy24.com","shop_rating": 61,"shop_reviews": 758,"shop_positive_reviews": 32,"shop_negative_reviews": 18,"official": false,"price": 28829,"currency": "UAH","condition": "новый","condition_id": 0,"title": "Google Смартфон Google Pixel 9 12/128GB Obsidian *CN","description": "Смартфон Google Pixel 9 12/128GB Obsidian *CN","warranty_months": 12,"warranty_unit": "мес.","warranty_type": null,"ships": null,"delivery_from": "з Харкова","free_delivery": false,"same_city": false,"shop_country": "UA","delivery_methods": [{"code": "NP","name": "Нова Пошта","cost": "за тарифами перевізника"},{"code": "UP","name": "Укрпошта","cost": "за тарифами перевізника"}],"payment_methods": ["pay-card","non-vat","… 1 more"],"installments": [],"stores": [],"go_url": "https://hotline.ua/go/price/14269462184/"},"… 22 more"],"cached": false,"credits_used": 1}