Retrieve product pack by GTIN barcode
Retrieve actual medicinal product pack info by barcode GTIN/EAN code.
Endpoint optimised to get product pack information by GTIN or EAN code.
In cases where GTIN was valid in multiple periods (often for same
product) this endpoint retrieves information for GTIN's latest use.
Example barcode API use to retrieve product information:
curl https://medicinedict.com/api/gtin/[insert barcode number]&format=json
GET /med/api/gtin/5017007016533
{
"pack_id": 18812511000001100,
"name": "Leflunomide 10mg tablets (Teva UK Ltd) 30 tablet",
"generic_pack_name": "Leflunomide 10mg tablets 30 tablet",
"generic_product_name": "Leflunomide 10mg tablets",
"url": "/med/ampp/ampp/leflunomide-10mg-tablets-teva-uk-ltd-30-tablet-18812511000001100",
"short_name": null,
"subpack": null,
"legal_category": "POM",
"discontinued": "Discontinued Flag",
"discontinued_date": "2016-10-11",
"gtin_codes": [
{
"start_date": "2013-11-04",
"end_date": "2014-05-18",
"gtin": "5017007016533"
},
{
"start_date": "2016-03-30",
"end_date": "2017-08-06",
"gtin": "5017007016533"
}
],
"prices": {
"price": null,
"price_prev": null
},
"invalid": null,
"comb_content": []
}