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/healthCatalog counts, detection engine version, timestamp.
GET /api/public/medicine/{id}Halal status summary for a medicine id (e.g. paracetamol-500).
Example: https://app.rxhalal.com/api/public/medicine/paracetamol-500
GET /api/public/ingredient/{id}Ingredient status and plain-language summary (e.g. gelatin).
Example: https://app.rxhalal.com/api/public/ingredient/paracetamol-500
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. - Cache responses client-side; do not scrape the full catalog in one session.
- Link back to the canonical medicine page on RxHalal.
- Not medical or religious advice — informational status only.