APIs / Marketplaces / Apotea

from 3 credits per call4 endpointsChecked working 6 Dec 2026

Apotea API

Apotea API for Swedish pharmacy search, category lists, product details with EAN and price, and sitemaps as JSON. 3 to 31 credits per successful call.

Apotea
GET/v1/apotea/product?id=ccs-vardande-handcreme-200-ml
{
  "success": true,
  "product": {
    "id": "6234",
    "slug": "ccs-vardande-handcreme-200-ml",
    "gtin13": "7315982865916",
    "name": "CCS Vårdande Handkräm 200 ml",
    "brand": "CCS",
    "price": 33,
    "currency": "SEK",
    "availability": "Unknown",
    "condition": "https://schema.org/NewCondition",
    "price_valid_until": "2026-12-07T00:00:00Z",
    "category": "Torra händer",
    "description": "CCS Vårdande Handkräm med mjukgörande oljor och fuktighetsbevarande karbamid passar händer som är riktigt torra och behöver extra omsorg. CCS handkräm är rik och fyllig, återfuktar händerna och gör både händer och nagelband lena och mjuka. …",
    "specs": {
      "EAN:": "7315982865916",
      "Varumärke:": "CCS",
      "Kategori:": "Händer & Fötter > Torra händer",
      "Förpackningsstorlek:": "200 ml"
    }
  },
  "meta": {
    "endpoint_family": "product",
    "attempts": 1,
    "request_id": "req_64ebac6d4d8c424e92c6e5525d15a586",
    "credits_charged": 3,
    "credits_remaining": 4989
  },
  "diagnostics": {
    "attempt_count": 1,
    "wire_bytes": 496017
  }
}
200 OKJSONX-Credits-Used: 3
Recorded from our API and shortened.

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/apotea/product?id=ccs-vardande-handcreme-200-ml" \
  -H "X-API-Key: $API_KEY"

Apotea · 4 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

EndpointRequired parametersReturnsCost
GET/v1/apotea/category
slug+1 optional
slugurlreturnedproductsdiagnostics
5 credits
GET/v1/apotea/product
id
productdiagnostics
3 credits
GET/v1/apotea/search
q+1 optional
hit_countreturnedproductsdiagnostics
4 credits
GET/v1/apotea/sitemap
none+1 optional
filetypereturnedtruncatedurlsdiagnostics
31 credits

Overview

About the Apotea API

What you can get

The Apotea API returns Apotea pharmacy product data from Sweden as JSON through 4 endpoints. Prices are in SEK.

  • Search: search takes a q, with sort (price_asc).
  • Categories: category takes a category slug such as topplista, with sort (price_asc).
  • Products: product takes an id, the product slug from a search or category result.
  • Sitemap: sitemap takes an optional file (index or products) and returns site URLs.

The recorded product call for a CCS hand cream returns id, slug, gtin13, name, brand, price, currency, availability, condition, price_valid_until, category, description and specs (EAN, brand, category path and pack size). That product was 33 SEK, and its availability came back as "Unknown".

How a call works

Search, then look up: GET /v1/apotea/search?q=scholl with your key in the X-API-Key header returns hit_count (53 for "scholl") and products, each with id, slug, url, title, price, currency and image. Pass a product's slug to product as id, for example GET /v1/apotea/product?id=ccs-vardande-handcreme-200-ml. Search and category results come back in one response; the recorded category call for topplista returned 60 products. Prices differ by endpoint: product costs 3 credits, search 4, category 5 and sitemap 31. Failed calls cost nothing.

MarketplacesJSONRESTMCP

More marketplaces APIs

Use cases

Track Apotea prices for a list of pharmacy and personal care products

Use the Apotea API to track Apotea prices for a list of pharmacy and personal care products

Match products to other retailers by EAN with `gtin13`

Use the Apotea API to match products to other retailers by EAN with `gtin13`

Watch the bestseller list with `category` and `slug=topplista`

Use the Apotea API to watch the bestseller list with `category` and `slug=topplista`

Find the cheapest items in a search with `sort=price_asc`

Use the Apotea API to find the cheapest items in a search with `sort=price_asc`

FAQ

Questions

How much does the Apotea API cost?

It depends on the endpoint: `product` costs 3 credits per call, `search` 4, `category` 5 and `sitemap` 31. Failed calls cost nothing.

Which id goes to product?

The product `slug`, for example `ccs-vardande-handcreme-200-ml`. Search and category results return both a numeric `id` and the `slug`; `product` takes the slug as its `id`.

Is stock returned?

`product` has an `availability` field, but in the recording it read "Unknown", so don't rely on it for stock.

Do I need an Apotea account?

No. You call this Apotea API with your Perceptlayer key in the `X-API-Key` header, with no Apotea login.

Is this the official Apotea API?

No. Perceptlayer is an independent service and is not affiliated with Apotea. It returns Apotea data as JSON with a Perceptlayer key, so there is no Apotea developer account, app review or partner approval to get first. It only reads data: if Apotea has an official API and you need to act on your own Apotea account, such as posting, managing orders or reading private data, use that one.

Should I build an Apotea scraper instead?

You can, but an Apotea scraper is code you maintain: page changes break it, requests get blocked, and Apotea's terms govern how you collect data. The Apotea API gives you 4 endpoints of named JSON fields for 3 credits per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the Apotea API with 100 free credits

No credit card. Failed calls are never billed.