82trust / 100

Drugs

by RxAtlas in Search & web

x402 APIPassing, checked 4 h ago

Search US drug products by NDC, brand, generic name, ingredient, manufacturer, dosage form, route, source, or identifier.

GET https://api.rxatlas.dev/v1/drugs

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
249 ms typical, 249 ms slowest 5%
Last check
4 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.rxatlas.dev/v1/drugs?limit=1&ndc=75834-258"
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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.rxatlas.dev%2Fv1%2Fdrugs
const res = await pay("https://api.rxatlas.dev/v1/drugs?limit=1&ndc=75834-258");
console.log(await res.json());

Example input

{
  "limit": 1,
  "ndc": "75834-258"
}

Example output

{
  "data": [
    {
      "application_number": "ANDA213853",
      "brand_name": "ATORVASTATIN CALCIUM TABLET",
      "canonical_product_ndc": "75834-258",
      "dosage_form": "TABLET",
      "generic_name": "Atorvastatin calcium",
      "has_recall": true,
      "id": 147244,
      "manufacturer_name": "NIVAGEN PHARMACEUTICALS, INC.",
      "route": "ORAL",
      "strength": "80 mg/1"
    }
  ],
  "has_more": false,
  "next_cursor": null
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402249 ms$0.1