74trust / 100

Drug

by ClearCheck in Security & trust

x402 APIPassing, checked 26 min ago

US drug status by name: approval route, boxed warning, active recalls, and who manufactures it. Source openFDA.

GET
https://loonie-toll.onrender.com/drug
Price
$0.03
per call in USDC
Uptime
95.4%
last 30 days
Response time
243 ms
643 ms slowest 5%
Last check
Passed
26 min ago, next in 5 h

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

GET https://loonie-toll.onrender.com/drug

Each call costs $0.03 in USDC on Polygon, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

GET https://loonie-toll.onrender.com/drug?name=Tylenol

Parameters

ParameterTypeRequiredDescription
namestringYesBrand or generic drug name, e.g. Tylenol

Example response

The provider's example. We can't check it without paying.

Example response, 52 lines
{
  "boxedWarningExcerpt": null,
  "disclaimer": "Advisory only, provided as is without warranty of accuracy or completeness. THIS IS NOT MEDICAL ADVICE and must not be used to make treatment decisions — consult a licensed clinician or pharmacist. op…",
  "drug": {
    "applicationNumbers": [
      "M013"
    ],
    "brandNames": [
      "TYLENOL Extra Strength"
    ],
    "genericNames": [
      "ACETAMINOPHEN"
    ],
    "manufacturers": [
      "Kenvue Brands LLC"
    ],
    "productType": "HUMAN OTC DRUG",
    "routes": [
      "ORAL"
    ],
    "substances": [
      "ACETAMINOPHEN"
    ]
  },
  "flags": [
    "1 recall(s) currently listed as ongoing."
  ],
  "hasBoxedWarning": false,
  "labelSections": {
    "contraindications": null,
    "indications": "Uses temporarily relieves minor aches and pains due to: the common cold headache backache minor pain of arthritis toothache muscular aches premenstrual and menstrual cramps temporarily reduces fever"
  },
  "labelsMatched": 111,
  "recalls": {
    "classI": 0,
    "ongoing": 1,
    "records": [
      {
        "classification": "Class II",
        "distribution": "U.S. Nationwide - CO, IL, OH and IN.",
        "firm": "Kenvue Brands LLC",
        "initiatedOn": "20251021",
        "reason": "Defective Container",
        "status": "Ongoing"
      }
    ],
    "total": 1
  },
  "retrievedAt": "2026-09-17T16:24:15.254Z",
  "source": "openFDA — drug label and enforcement (recall) endpoints, US FDA",
  "verdict": "ACTIVE_RECALL"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.03.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://loonie-toll.onrender.com/drug?name=Tylenol'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://loonie-toll.onrender.com/drug?name=Tylenol' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.03 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.03" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.03 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Floonie-toll.onrender.com%2Fdrug
const res = await pay("https://loonie-toll.onrender.com/drug?name=Tylenol");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.03 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.03"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://loonie-toll.onrender.com/drug?name=Tylenol")
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
26 min agoPassed402247 ms$0.03
33 h agoExpected HTTP 402, got 503503310 ms-
5 days agoExpected HTTP 402, got 503503235 ms-
5 days agoExpected HTTP 402, got 503503206 ms-
6 days agoExpected HTTP 402, got 503503231 ms-
Show 10 older checks
6 days agoPassed402270 ms$0.03
7 days agoPassed402256 ms$0.03
8 days agoPassed402259 ms$0.03
8 days agoPassed402242 ms$0.03
9 days agoPassed402243 ms$0.03
9 days agoPassed402247 ms$0.03
10 days agoPassed402648 ms$0.03
10 days agoPassed402645 ms$0.03
11 days agoPassed402249 ms$0.03
11 days agoPassed402274 ms$0.03