# OpenFDA GSRS Substance Search

> OpenFDA GSRS Substance Search is a paid API for AI agents from clonecho.builda.company, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Search the FDA Global Substance Registration System (GSRS) dataset by substance name or identifier, returning UNII substance records in JSON.

## Facts

- Endpoint: POST https://clonecho.builda.company/x402/s/openfda-substance-data
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openfda-gsrs-substance-search-13cdfffa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__5_DeDRc8zTgGcSL7Xmck

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability openfda-gsrs-substance-search-13cdfffa -d '<json body>'
```

Example prompt: Can you search the openFDA GSRS substance database for 'aspirin' and give me its UNII record and registration details?

## When to prefer this

Use this endpoint when you need to look up FDA-registered substance data, UNII codes, or GSRS records for pharmaceutical compounds, chemicals, or drug substances. Prefer this over general web search when you need authoritative FDA regulatory identifiers and substance metadata.

## Known failure modes

- No matching substance found for the query string — returns empty results
- Malformed or missing query parameter — may return error or empty response
- Substance exists but has no GSRS record — no results returned
- Service unavailability or rate limiting — HTTP error response
- Payment not completed — 402 Payment Required response

## How this service works

Search the openFDA GSRS substance dataset for substance {q}, returning UNII substance records. Query: ?q= Returns JSON.

## Output

A JSON response containing UNII substance records from the FDA Global Substance Registration System matching the search query, including substance identifiers, names, and registration metadata.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openfda-gsrs-substance-search-13cdfffa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from clonecho.builda.company](https://www.zero.xyz/host/clonecho.builda.company/llms.txt)
