x402Pulse Health API

Drug safety and signals, recalls, labels, approvals and shortages, plus hospital scorecards and rankings.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 8

GET /v1/health/drug-safety FDA drug safety snapshot #
GET /v1/health/safety-signals Drug safety signals (FAERS) #
GET /v1/health/recalls FDA drug recalls and food recalls #
GET /v1/health/drug-label FDA drug label lookup #
GET /v1/health/drug-approvals FDA drug approvals #
GET /v1/health/drug-shortages FDA drug shortages #
GET /v1/health/hospital Hospital scorecard (CMS) #
GET /v1/health/hospitals Best hospitals ranking (CMS) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/x402pulse-dev:x402pulse-dev-health-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

x402pulse-dev-health-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: x402Pulse Health API
  version: 1.0.0
  description: 'Pay-per-call data for AI agents: Polymarket traders ranked by skill, FDA drug and CMS hospital data, EIA oil and CFTC positioning, Wikipedia attention, travel delay risk (FAA, NOAA, State Department, ECB) and Wall Street data from SEC filings, plus a daily Morning Brief. Paid per call in USDC on Base with x402: no account or API key.'
  x-guidance: 'Every /v1 endpoint is a GET. Call it without payment to receive a 402 with the x402 challenge (price, network, payTo) and a free preview; pay with any x402 client (for example @x402/fetch) and retry to receive { data, cached }. Errors (4xx/5xx) are never charged. Start with /v1/wallstreet/morning-brief, /v1/travel/trip-check or /v1/disagreements for the richest single-call answers. A Pro key (Authorization: Bearer xp_live_…) from /v1/pro/pass replaces per-call payment for 30 days. Full guide: https://www.x402pulse.dev/llms.txt'
  contact:
    email: gp@zionassets.com
    url: https://www.x402pulse.dev
servers:
- url: https://www.x402pulse.dev
tags:
- name: Health
  description: Drug safety and signals, recalls, labels, approvals and shortages, plus hospital scorecards and rankings.
paths:
  /v1/health/drug-safety:
    get:
      operationId: get_drug_safety
      summary: FDA drug safety snapshot
      description: 'FDA drug safety snapshot for any drug (brand or generic name): total adverse event reports, share serious and fatal, most-reported side effects and the quarterly report trend from FDA FAERS. Reports are not proof of causation. Data, not medical advice.'
      tags:
      - Health
      parameters:
      - name: drug
        in: query
        required: true
        description: Drug brand or generic name
        schema:
          type: string
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.0028'
        protocols:
        - x402: {}
      responses:
        '200':
          description: The result.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                  cached:
                    type: boolean
                required:
                - data
              example:
                data:
                  drug: atorvastatin
                  totalReports: 52000
                  seriousShare: 0.6
                  deathReportShare: 0.04
                  topReactions:
                  - reaction: myalgia
                    reports: 3340
                    share: 0.064
                  quarterlyReports:
                  - quarter: 2026-Q2
                    reports: 2900
                  yearOverYearChange: 0.05
                  source: openFDA FAERS (U.S. FDA)
                cached: false
        '400':
          description: Missing or invalid parameter (never charged).
        '402':
          description: 'Payment required: the PAYMENT-REQUIRED header carries the x402 v2 challenge (USDC on Base). Free to request.'
        '404':
          description: Not found (never charged).
  /v1/health/safety-signals:
    get:
      operationId: detect_drug_safety_signals
      summary: Drug safety signals (FAERS)
      description: 'Drug safety signal detection (pharmacovigilance) from FDA FAERS: side effects reported disproportionately often with a drug versus all other drugs, using the proportional reporting ratio (PRR) and chi-square with standard Evans criteria. A statistical prompt for study, not evidence of harm. Not medical advice.'
      tags:
      - Health
      parameters:
      - name: drug
        in: query
        required: true
        description: Drug brand or generic name
        schema:
          type: string
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.014'
        protocols:
        - x402: {}
      responses:
        '200':
          description: The result.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                  cached:
                    type: boolean
                required:
                - data
              example:
                data:
                  drug: atorvastatin
                  drugReports: 52000
                  reactionsChecked: 25
                  signalCount: 3
                  signals:
                  - reaction: rhabdomyolysis
                    reports: 2020
                    prr: 14.2
                    chiSquare: 2650.4
                    signal: true
                  method: Proportional reporting ratio vs. all other drugs in FAERS (Evans criteria).
                cached: false
        '400':
          description: Missing or invalid parameter (never charged).
        '402':
          description: 'Payment required: the PAYMENT-REQUIRED header carries the x402 v2 challenge (USDC on Base). Free to request.'
        '404':
          description: Not found (never charged).
  /v1/health/recalls:
    get:
      operationId: list_fda_recalls
      summary: FDA drug recalls and food recalls
      description: 'FDA drug recalls and food recalls: the latest FDA enforcement reports with recall class (Class I is most serious) explained in plain language, recalling firm, product, reason, status, dates and distribution. Filter by class, company and time window. openFDA data, not medical advice.'
      tags:
      - Health
      parameters:
      - name: type
        in: query
        required: false
        description: drug or food (default drug)
        schema:
          type: string
      - name: class
        in: query
        required: false
        description: 'Optional: I, II or III'
        schema:
          type: string
      - name: firm
        in: query
        required: false
        description: Recalling company
        schema:
          type: string
      - name: days
        in: query
        required: false
        description: 1 to 365
        schema:
          type: string
      - name: limit
        in: query
        required: false
        description: 1 to 50
        schema:
          type: string
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.0014'
        protocols:
        - x402: {}
      responses:
        '200':
          description: The result.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                  cached:
                    type: boolean
                required:
                - data
              example:
                data:
                  type: drug
                  classification: Class I
                  days: 30
                  totalMatching: 4
                  byClass:
                    Class I: 4
                  recalls:
                  - recallNumber: D-0001-2026
                    classification: Class I
                    firm: Example Labs
                    product: Example 10 mg tablets
                    reason: Failed impurity specification
                    reportDate: '2026-09-21'
                cached: false
        '400':
          description: Missing or invalid parameter (never charged).
        '402':
          description: 'Payment required: the PAYMENT-REQUIRED header carries the x402 v2 challenge (USDC on Base). Free to request.'
        '404':
          description: Not found (never charged).
  /v1/health/drug-label:
    get:
      operationId: get_drug_label
      summary: FDA drug label lookup
      description: 'FDA drug label lookup: boxed warning, approved indications, contraindications, warnings and drug interactions for any drug, plus brand and generic names, manufacturer and route, as clean structured text from openFDA. Not medical advice.'
      tags:
      - Health
      parameters:
      - name: drug
        in: query
        required: true
        description: Drug brand or generic name
        schema:
          type: string
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.0014'
        protocols:
        - x402: {}
      responses:
        '200':
          description: The result.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                  cached:
                    type: boolean
                required:
                - data
              example:
                data:
                  drug: warfarin
                  brandNames:
                  - COUMADIN
                  genericNames:
                  - WARFARIN SODIUM
                  hasBoxedWarning: true
                  boxedWarning: 'WARNING: BLEEDING RISK…'
                  indications: …
                  drugInteractions: …
                  source: openFDA drug labels (U.S. FDA)
                cached: false
        '400':
          description: Missing or invalid parameter (never charged).
        '402':
          description: 'Payment required: the PAYMENT-REQUIRED header carries the x402 v2 challenge (USDC on Base). Free to request.'
        '404':
          description: Not found (never charged).
  /v1/health/drug-approvals:
    get:
      operationId: list_drug_approvals
      summary: FDA drug approvals
      description: 'FDA drug approvals: which companies just won FDA approval for new drugs, generics or biologics, from Drugs@FDA. Approval date, sponsor company, NDA/ANDA/BLA type, brand and active ingredients, dosage form, review priority, and a flag for novel drugs (new molecular entities). Filter by company, days and original vs. supplemental approvals.'
      tags:
      - Health
      parameters:
      - name: days
        in: query
        required: false
        description: 1 to 365
        schema:
          type: string
      - name: sponsor
        in: query
        required: false
        description: Company name
        schema:
          type: string
      - name: kind
        in: query
        required: false
        description: original (default), supplement or all
        schema:
          type: string
      - name: limit
        in: query
        required: false
        description: 1 to 50
        schema:
          type: string
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.0028'
        protocols:
        - x402: {}
      responses:
        '200':
          description: The result.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                  cached:
                    type: boolean
                required:
                - data
              example:
                data:
                  days: 30
                  kind: original
                  totalFound: 42
                  byType:
                    NDA: 6
                    ANDA: 34
                    BLA: 2
                  novelDrugs: 2
                  approvals:
                  - date: '2026-09-28'
                    applicationNumber: NDA219876
                    applicationType: NDA
                    sponsor: EXAMPLE PHARMA INC
                    brandNames:
                    - EXAMPLEX
                    activeIngredients:
                    - EXAMPLINIB 50MG
                    novelDrug: true
                    reviewPriority: PRIORITY
                cached: false
        '400':
          description: Missing or invalid parameter (never charged).
        '402':
          description: 'Payment required: the PAYMENT-REQUIRED header carries the x402 v2 challenge (USDC on Base). Free to request.'
        '404':
          description: Not found (never charged).
  /v1/health/drug-shortages:
    get:
      operationId: list_drug_shortages
      summary: FDA drug shortages
      description: 'FDA drug shortages: which medicines are in shortage now, grouped by drug, with availability (unavailable or limited) per package, companies, dosage forms, shortage reasons, estimated recovery notes and posting dates. Search one drug or list current shortages. For hospitals, pharmacies and supply chains. openFDA data, not medical advice.'
      tags:
      - Health
      parameters:
      - name: drug
        in: query
        required: false
        description: Drug brand or generic name
        schema:
          type: string
      - name: status
        in: query
        required: false
        description: current (default), resolved, discontinued or all
        schema:
          type: string
      - name: limit
        in: query
        required: false
        description: 1 to 50
        schema:
          type: string
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.0028'
        protocols:
        - x402: {}
      responses:
        '200':
          description: The result.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                  cached:
                    type: boolean
                required:
                - data
              example:
                data:
                  query: amino acid injection
                  status: current
                  drugsFound: 1
                  packagesFound: 4
                  drugs:
                  - drug: Amino Acid Injection
                    packages: 4
                    availability:
                      Unavailable: 2
                      Limited: 2
                    companies:
                    - Baxter Healthcare Corporation
                    recoveryNotes:
                    - 'Estimated recovery: December 2026'
                    firstPosted: '2020-12-08'
                    lastUpdated: '2026-09-30'
                cached: false
        '400':
          description: Missing or invalid parameter (never charged).
        '402':
          description: 'Payment required: the PAYMENT-REQUIRED header carries the x402 v2 challenge (USDC on Base). Free to request.'
        '404':
          description: Not found (never charged).
  /v1/health/hospital:
    get:
      operationId: get_hospital_scorecard
      summary: Hospital scorecard (CMS)
      description: 'Hospital scorecard for any U.S. Medicare hospital from the Centers for Medicare & Medicaid Services (CMS, the U.S. government agency): CMS overall star rating, type, ownership, emergency services, and how it compares with the national average on mortality, safety and readmissions (measures better, same, worse), plus its rank and percentile among rated hospitals in its state. Look up by CMS facility ID or name plus state. Not medical advice.'
      tags:
      - Health
      parameters:
      - name: id
        in: query
        required: false
        description: CMS facility ID
        schema:
          type: string
      - name: name
        in: query
        required: false
        description: Hospital name
        schema:
          type: string
      - name: state
        in: query
        required: false
        description: Two-letter state code
        schema:
          type: string
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.0056'
        protocols:
        - x402: {}
      responses:
        '200':
          description: The result.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                  cached:
                    type: boolean
                required:
                - data
              example:
                data:
                  id: '030103'
                  name: Mayo Clinic Hospital
                  city: Phoenix
                  state: AZ
                  starRating: 5
                  vsNational:
                    mortality:
                      better: 2
                      same: 6
                      worse: 0
                    safety:
                      better: 4
                      same: 3
                      worse: 0
                    readmissions:
                      better: 3
                      same: 7
                      worse: 0
                  netScore: 9
                  stateComparison:
                    rank: 1
                    ofRatedHospitals: 61
                    percentile: 100
                cached: false
        '400':
          description: Missing or invalid parameter (never charged).
        '402':
          description: 'Payment required: the PAYMENT-REQUIRED header carries the x402 v2 challenge (USDC on Base). Free to request.'
        '404':
          description: Not found (never charged).
  /v1/health/hospitals:
    get:
      operationId: rank_hospitals
      summary: Best hospitals ranking (CMS)
      description: 'Best hospitals ranking for a U.S. state or city from Centers for Medicare & Medicaid Services (CMS) Care Compare data: ranked by CMS star rating, then net score (quality measures better than national minus worse across mortality, safety and readmissions). Filter by city, minimum stars, emergency services and hospital type (acute, critical access, children''s, psychiatric). Not medical advice.'
      tags:
      - Health
      parameters:
      - name: state
        in: query
        required: false
        description: Two-letter state code
        schema:
          type: string
      - name: city
        in: query
        required: false
        description: Optional city
        schema:
          type: string
      - name: minStars
        in: query
        required: false
        description: Optional 1 to 5
        schema:
          type: string
      - name: emergency
        in: query
        required: false
        description: Optional true or false
        schema:
          type: string
      - name: type
        in: query
        required: false
        description: 'Optional: acute, critical, childrens or psychiatric'
        schema:
          type: string
      - name: limit
        in: query
        required: false
        description: 1 to 50
        schema:
          type: string
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.0084'
        protocols:
        - x402: {}
      responses:
        '200':
          description: The result.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                  cached:
                    type: boolean
                required:
                - data
              example:
                data:
                  filters:
                    state: AZ
                    city: Phoenix
                  hospitalsMatching: 18
                  hospitals:
                  - rank: 1
                    id: '030103'
                    name: Mayo Clinic Hospital
                    starRating: 5
                    netScore: 9
                    measuresBetter: 9
                    measuresWorse: 0
                cached: false
        '400':
          description: Missing or invalid parameter (never charged).
        '402':
          description: 'Payment required: the PAYMENT-REQUIRED header carries the x402 v2 challenge (USDC on Base). Free to request.'
        '404':
          description: Not found (never charged).
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: An x402Pulse Pro key (xp_live_…). Optional on paid routes as an alternative to paying per call; required for /v1/pro/status.
x-discovery:
  payTo: '0x5e901f973C17E5542b4Da2A64C7fDc736B2A6e74'
  network: eip155:8453
  llms: https://www.x402pulse.dev/llms.txt
  mcp: https://www.x402pulse.dev/api/mcp
  catalog: https://www.x402pulse.dev/catalog