Piloterr

Apotea Product

Mit Dataflow in großen Mengen nutzenFühren Sie diesen Endpunkt über eine Datei oder eine Liste aus, einmalig oder nach Zeitplan.

GET
/v2/apotea/product

One product on apotea.se. query is the full product URL. Prices stay in SEK. Alvedon 500 mg 20 tablets is 34 kr, brand Alvedon, sku 5212, availability Fler än 100 st i lager.

Credit cost: 2 credits per call

Autorisierung

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Abfrageparameter

query*string
return_page_source?boolean

Return the page HTML instead of the parsed product. Example: false

fields?string

Comma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).

is_async?boolean

Run the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}. The call is billed once, when the job completes. fields does not apply to asynchronous results.

Defaultfalse
soft_fail?boolean

Return HTTP 200 even when the request fails; the error is in the error field of the body. Billing is unchanged: a billable error (e.g. 404) is still charged.

Defaultfalse

Antworttext

Successful response

application/json
  1. response
sku?string
url?string
gtin?string
name?string
brand?string
image?string
price?integer
images?array<string>
currency?string
description?string
availability?string
price_display?string
Example Request
curl -X GET 'https://api.piloterr.com/v2/apotea/product?query=https%3A%2F%2Fwww.apotea.se%2Falvedon-filmdragerad-tablett-500-mg-20-st'
Example Response
{
  "sku": "5212",
  "url": "https://www.apotea.se/alvedon-filmdragerad-tablett-500-mg-20-st",
  "gtin": "7046260976108",
  "name": "Alvedon, filmdragerad tablett 500 mg, 20 st",
  "brand": "Alvedon",
  "image": "https://media.apotea.se/product-images/XL/alvedon-filmdragerad-tablett-500-mg-20-st-3.jpg",
  "price": 34,
  "images": [
    "https://media.apotea.se/product-images/XL/alvedon-filmdragerad-tablett-500-mg-20-st-3.jpg"
  ],
  "currency": "SEK",
  "description": "Alvedon 500 mg filmdragerad tabletter är ett receptfritt läkemedel som innehåller paracetamol som är smärtlindrande och febernedsättande.",
  "availability": "Fler än 100 st i lager",
  "price_display": "34 kr"
}