Apotea Search
Use in bulk with DataflowRun this endpoint over a file or a list, once or on a schedule.
Search apotea.se. query is a keyword such as alvedon, or a full search URL. Prices stay in SEK.
Credit cost: 2 credits per call
ApiKeyAuthx-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringKeyword or a full apotea.se search URL. Example: alvedon
page?numberPage number, starting at 1. Apotea renders one page, so page 2 is 404. Example: 1
return_page_source?booleanReturn the page HTML instead of the parsed listing. Example: false
fields?stringComma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).
is_async?booleanRun the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body.
falseSuccessful response
application/json- response
results?array<>pagination?curl -X GET 'https://api.piloterr.com/v2/apotea/search?query=string'{
"results": [
{
"sku": "5212",
"url": "https://www.apotea.se/alvedon-filmdragerad-tablett-500-mg-20-st",
"name": "Alvedon, filmdragerad tablett 500 mg, 20 st",
"image": "https://media.apotea.se/product-images/L/alvedon-filmdragerad-tablett-500-mg-20-st-3.jpg",
"price": 34,
"currency": "SEK",
"price_display": "34 kr"
}
],
"pagination": {
"next": null,
"page": 1,
"per_page": 9,
"total_pages": 1,
"total_results": 9
}
}