78trust / 100
Verify Drug
by realcite-drug in Security & trust
x402 APIPassing, checked 10 min ago
Verify an FDA drug record: given a claim_type (approval, ndc, or recall) and its identifier, does that record actually exist, and does the given name match the canonical record? Checked against openFDA. Catches a fabricated or misattributed drug approval, NDC listing, or recall citation. Existence/status only, not medical advice.
POST https://goodsong.dev/verify/drug
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 220 ms typical, 337 ms slowest 5%
- Last check
- 10 min ago
- Next check
- in 19 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://goodsong.dev/verify/drug" \
-H "content-type: application/json" \
-d '{"claim_type":"approval","expected_name":"Lipitor","identifier":"NDA020702"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fgoodsong.dev%2Fverify%2Fdrug
const res = await pay("https://goodsong.dev/verify/drug", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"claim_type":"approval","expected_name":"Lipitor","identifier":"NDA020702"}),
});
console.log(await res.json());Example input
{
"claim_type": "approval",
"expected_name": "Lipitor",
"identifier": "NDA020702"
}Example output
{
"canonical": {
"brand_names": [
"LIPITOR"
],
"claim_type": "approval",
"generic_names": [
"ATORVASTATIN CALCIUM"
],
"identifier": "NDA020702",
"sponsor_name": "UPJOHN"
},
"checks": {
"exists": true,
"name_match": true
},
"cost": {
"amount": "0.005",
"currency": "USDC"
},
"evidence": [
{
"retrieved_at": "2026-08-30T12:00:00Z",
"source": "openfda",
"url": "https://api.fda.gov/drug/drugsfda.json?search=application_number%3A%22NDA020702%22&limit=1"
}
],
"latency_ms": 260,
"verdict": "confirmed"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 10 min ago | Passed | 402 | 212 ms | $0.005 |
| 4 h ago | Passed | 402 | 218 ms | $0.005 |
| 7 h ago | Passed | 402 | 249 ms | $0.005 |
| 11 h ago | Passed | 402 | 207 ms | $0.005 |
| 14 h ago | Passed | 402 | 337 ms | $0.005 |
| 18 h ago | Passed | 402 | 260 ms | $0.005 |
| 22 h ago | Passed | 402 | 227 ms | $0.005 |
| 25 h ago | Passed | 402 | 220 ms | $0.005 |
| 29 h ago | Passed | 402 | 523 ms | $0.005 |
| 32 h ago | Passed | 402 | 209 ms | $0.005 |
| 38 h ago | Passed | 402 | 124 ms | $0.005 |