Empik: Search
Search from Empik as JSON. 1 credit per successful call.
GET /v1/empik/search
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
q | string | Required | Up to 100 characters |
category | string | Optional | Any |
priceFrom | number | Optional | Any |
priceTo | number | Optional | Any |
sort | string | Optional | relevance, popularity, price_asc, price_desc, discount, discount_amount |
page | integer | Optional | Any |
Example request
Empik
GET/v1/empik/search?q=wiedzmin
{
"success": true,
"query": "wiedzmin",
"page": 1,
"per_page": 60,
"returned": 60,
"has_more": true,
"products": [
{
"id": "p1102239921",
"name": "Ostatnie życzenie. Wiedźmin. Tom 1",
"category": "Książki/Fantastyka, horror/Fantasy",
"position": 0,
"price": 40.99,
"list_price": 74.9,
"discount": 45.27,
"currency": "PLN",
"merchant_id": "0",
"merchant_name": "Empik",
"delivery": "Przewidywana wysyłka w 1 dzień rob.",
"rating": 4.9,
"image": "https://ecsmedia.pl/cir/p/ostatnie-zyczenie-wiedzmin-tom-1-ZDJECIE_OKLADKI_PRZOD_DUZY/2769/14635633335352769.webp",
"availability": "IN_24_H",
"url": "/ostatnie-zyczenie-wiedzmin-tom-1-sapkowski-andrzej,p1102239921,ksiazka-p",
"box_id": "120800373"
},
{
"id": "p1102239806",
"name": "Miecz przeznaczenia. Wiedźmin. Tom 2",
"category": "Książki/Fantastyka, horror/Fantasy",
"position": 1,
"price": 43.99,
"list_price": 74.9,
"discount": 41.27,
"currency": "PLN",
"merchant_id": "0",
"merchant_name": "Empik",
"delivery": "Przewidywana wysyłka w 1 dzień rob.",
"rating": 4.9,
"image": "https://ecsmedia.pl/cir/p/miecz-przeznaczenia-wiedzmin-tom-2-ZDJECIE_OKLADKI_PRZOD_DUZY/6996/14715235643556996.webp",
"availability": "IN_24_H",
"url": "/miecz-przeznaczenia-wiedzmin-tom-2-sapkowski-andrzej,p1102239806,ksiazka-p",
"box_id": "120800373"
},
{
"id": "p1103064458",
"name": "Krew elfów. Wiedźmin. Tom 3",
"category": "Książki/Fantastyka, horror/Fantasy",
"position": 2,
"price": 40.99,
"list_price": 74.9,
"discount": 45.27,
"currency": "PLN",
"merchant_id": "0",
"merchant_name": "Empik",
"delivery": "Przewidywana wysyłka w 1 dzień rob.",
"rating": 4.9,
"image": "https://ecsmedia.pl/cir/p/krew-elfow-wiedzmin-tom-3-ZDJECIE_OKLADKI_PRZOD_DUZY/6249/14715234554406249.webp",
"availability": "IN_24_H",
"url": "/krew-elfow-wiedzmin-tom-3-sapkowski-andrzej,p1103064458,ksiazka-p",
"box_id": "120800373"
}
],
"meta": {
"endpoint_family": "search",
"attempts": 1,
"request_id": "req_a95dfab1a95f458f8a79fb6495953567",
"credits_charged": 1,
"credits_remaining": 4892
}
}200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
Each item in products has these 16 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
id | string |
name | string |
category | string |
position | integer |
price | number |
list_price | number |
discount | number |
currency | string |
merchant_id | string |
merchant_name | string |
delivery | string |
rating | number |
image | url |
availability | string |
url | string |
box_id | string |