Pharmacode lookup
A Swiss Pharmacode in. The product record out.
Resolve a Swiss Pharmacode to the canonical drug product in one indexed read — with ATC, dispensing, reimbursement, and the GTIN / Swissmedic-No bridge.
GET /v1/drugs/lookup?system=pharmacode
curl 'https://drug-database.com/v1/drugs/lookup\
?system=pharmacode&code=1234567' \
-H 'Authorization: Bearer dd_live_…'Live data
Any pack code. One product record.
Turn a Swiss Pharmacode into a full drug product in one call. GET /v1/drugs/lookup?system=pharmacode&code=… does a single indexed read and returns the canonical drug row — ATC code, manufacturer, Swissmedic dispensing category, BAG-SL reimbursement flag — plus the matched alias with its pack size and public price.
- One indexed read. Single lookup on (system, code) — the hot path of every Swiss dispense flow.
- GTIN / Swissmedic-No bridge. Resolved product carries swissmedic_no and all aliases, so you can cross-walk identifier systems.
- Pack-level detail. The matched alias returns pack_size, public_price and currency for the exact Pharmacode.
- NDC7260340302Atorvastatin calciumUnited States · FDA National Drug Codes · 10 blister pack in 1 carton (72603-403-02) / 100 tablet, film coated in 1 blister pack (72603-403-01)
- CIP133400930124451ATORVASTATINE ZENTIVA 40 mg, comprimé pelliculéFrance · ANSM public medicines database · plaquette(s) opa : polyamide orienté aluminium pvc-aluminium de 30 comprimé(s)
- APB (BE)2583961Lipitor 40 mgBelgium · FAMHP medicines register · 84 comprimés pelliculés, 40 mg
- Varenr (NO)420082Atorvastatin AccordNorway · Norwegian prescribing catalogue · 100
- SÚKL kód0289612SORTISCzechia · SÚKL medicines register · 100
- GTIN7680693140011Atorvastatin-MephaSwitzerland · Swissmedic packs · blist 30 stk
The response
The shape you get back. Every row with its source.
Because every product carries a Swissmedic-No and a set of aliases, a Pharmacode lookup is also your bridge to GTIN and Swissmedic-No: resolve once, then read the full record to cross-walk to any other identifier system for the same pack.
- 666,680 products from 19 countries’ registers
- Every row carries its source and last-checked date
{
"drug": {
"id": "3f8a1c2d-1b4e-4c7a-9d2f-0a1b2c3d4e5f",
"swissmedic_no": "65187",
"product_name": "Aspirin Cardio 100 mg",
"atc_code": "B01AC06",
"manufacturer": "Bayer (Schweiz) AG",
"dispensing_cat": "B",
"is_reimbursed": true,
"country_code": "CH",
"last_synced_at": "2026-06-27T02:14:00Z"
},
"matched_alias": {
"drug_id": "3f8a1c2d-…",
"system": "pharmacode",
"code": "1234567",
"pack_size": 30,
"public_price": 14.35,
"currency": "CHF",
"is_primary": true
},
"_meta": { "sources": { "bag_sl": { "last_synced_at": "…" }, "oddb": { "last_synced_at": "…" } } }
}Where it comes from
Coverage & sourcing. Each with its last sync.
- The same endpoint resolves gtin, pharmacode, cip13, pzn, swissmedic_no, ean, ndc11 and dmd_amppid.
- Pharmacode and pack data are data sourced from oddb and BAG-SL.
- Each resolved row carries last_synced_at for pack-level freshness.
- We are not affiliated with or endorsed by Refdata, oddb or BAG.
- Lookups need the drugs:read scope.
- The same endpoint resolves GTIN, NDC, PZN, CIP13, EAN and Swissmedic-No — see the docs.
- Swissmedic product informationRegister
- Swissmedic recallsClinical
- EPha interaction checksClinical
- Swissmedic authorised medicinesRegister
- BAG Specialty ListPrices
- Swissmedic packsRegister
- Refdata Swiss article indexRegister
Questions
Before you build. Answered plainly.
What is a Pharmacode?
Can I bridge from Pharmacode to GTIN or Swissmedic-No?
Which other identifier systems does the same endpoint accept?
Start building with the Pharmacode lookup.
A free key includes 10 lookups in total — enough to judge the data. Pro is $29/month when you build on it.
No card required.