StudioAPI Docs Get a key
View as Markdown
reference/bpom

Base path: /api/v1/bpom

Endpoints

MethodPathQueryDescription
GET/q (min 2), limit (default 50, max 200), offsetSearch products.
GET/:nieProduct by NIE (e.g. BPOM-style code, uppercased).

Responses include meta.attribution (Sumber: BPOM RI), refreshed, cached_at, and upstream_error when a refresh failed but cache was served.

Errors

  • VALIDATION_ERROR (400) — short query or malformed NIE.
  • UPSTREAM_ERROR (502) — BPOM unreachable and no cache.
  • NOT_FOUND (404) — NIE not found.