16trust / 100

Drug Info

by Vextorium in Other

x402 APIFailing, checked 4 h ago

US drug facts from the official label (openFDA): brands, active ingredient, uses, dosage, warnings, contraindications, interactions, pregnancy and manufacturer. Information, not medical advice.

POST https://api.vextorium.com/v1/drug-info

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
4 h ago: Amount "0.003" is not in atomic token units
Next check
any minute now

How to call it

# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://api.vextorium.com/v1/drug-info' \
  -H 'content-type: application/json' \
  --data-raw '{"name":"ibuprofen"}'
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%2Fapi.vextorium.com%2Fv1%2Fdrug-info
const res = await pay("https://api.vextorium.com/v1/drug-info", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: "{\"name\":\"ibuprofen\"}",
});
console.log(await res.json());

Example input

{
  "name": "ibuprofen"
}

Example output

{
  "notice": "Information from the US drug label; it does not replace advice from a healthcare professional.",
  "results": [
    {
      "active_ingredient": [
        "IBUPROFEN"
      ],
      "brands": [
        "Ibuprofen Dye Free"
      ],
      "breastfeeding_pregnancy": "If pregnant or breast-feeding, ask a health professional before use. It is especially important not to use ibuprofen at 20 weeks or later in pregnancy unless definitely directed to do so by a doctor because it may cause problems in the unborn child or complications during delivery.",
      "contraindications": "Do not use if you have ever had an allergic reaction to any other pain reliever/fever reducer right before or after heart surgery",
      "dose": "Directions do not take more than directed the smallest effective dose should be used adults and children 12 years and over: take 1 tablet every 4 to 6 hours while symptoms persist if pain or fever does not respond to 1 tablet, 2 tablets may be used do not exceed 6 tablets in 24 hours, unless directe…",
      "indications": "Uses temporarily relieves minor aches and pains due to: headache toothache backache menstrual cramps the common cold muscular aches minor pain of arthritis temporarily reduces fever",
      "interactions": null,
      "leaflet_version": "20260429",
      "manufacturer": [
        "CVS Pharmacy"
      ],
      "type": [
        "HUMAN OTC DRUG"
      ],
      "via": [
        "ORAL"
      ],
      "warnings": "Warnings Allergy alert: Ibuprofen may cause a severe allergic reaction, especially in people allergic to aspirin. Symptoms may include: rash facial swelling asthma (wheezing) hives skin reddening shock blisters If an allergic reaction occurs, stop use and seek medical help right away. Stomach bleedi…"
    }
  ],
  "search": "ibuprofen",
  "source": "openFDA (US FDA drug labels, CC0)"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoAmount "0.003" is not in atomic token units40279 ms$0.003
8 h agoAmount "0.003" is not in atomic token units40273 ms$0.003
13 h agoAmount "0.003" is not in atomic token units402109 ms$0.003
17 h agoAmount "0.003" is not in atomic token units40280 ms$0.003
21 h agoAmount "0.003" is not in atomic token units40296 ms$0.003
25 h agoAmount "0.003" is not in atomic token units40293 ms$0.003
29 h agoAmount "0.003" is not in atomic token units40273 ms$0.003
33 h agoAmount "0.003" is not in atomic token units402284 ms$0.003
37 h agoAmount "0.003" is not in atomic token units40288 ms$0.003
41 h agoAmount "0.003" is not in atomic token units40278 ms$0.003
46 h agoAmount "0.003" is not in atomic token units40283 ms$0.003
2 days agoAmount "0.003" is not in atomic token units40282 ms$0.003
2 days agoAmount "0.003" is not in atomic token units40299 ms$0.003
2 days agoAmount "0.003" is not in atomic token units40280 ms$0.003
3 days agoAmount "0.003" is not in atomic token units40279 ms$0.003