Developer API
Read-only JSON endpoints for clinics, apps, and research tools. Attribution to RxHalal required. No write access to user data.
Endpoints
GET /api/public/catalog-indexPaginated medicine id index (`page`, `pageSize` up to 100). Cache 24h.
GET /api/public/healthCatalog counts, detection engine version, timestamp.
GET /api/public/medicine/{id}Halal status summary for a medicine id (e.g. paracetamol-500).
Example: /api/public/medicine/paracetamol-500
GET /api/public/ingredient/{id}Ingredient status and plain-language summary (e.g. gelatin).
GET /api/public/barcode/{gtin}Resolve a GTIN/UPC to a medicine summary (offline catalog map).
GET /api/public/search?q=Search medicines and ingredients (max 25 results, `limit` param).
POST /api/public/feedbackOptional feedback queue (rate-limited).
Fair use
- CORS:
Access-Control-Allow-Origin: *on GET endpoints. - Rate limits (per IP): ~120 read requests / 10 min; health ~60 / 10 min; feedback 8 / 10 min. HTTP 429 includes
Retry-After. - Cache responses client-side; use
/api/public/catalog-indexfor bulk id lists. - Link back to the canonical medicine page on RxHalal.
- Not medical or religious advice — informational status only.