Api Endpoint

RxAtlas

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

Open interactive test console

Offering

Provider
api.rxatlas.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Health And Medicine
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.rxatlas.dev/v1/drugs
MIME type
application/json
First seen
2026-10-16T01:50:06.715Z
Last seen
Tags
drugs, ndc, fda, rxnorm, healthcare, provenance

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.1 USDC
Atomic price: 100000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "100000",
    "payTo": "0x1Ee42717b1c370dACE197a8850Bf41a932F3b5A8"
  }
]

Observed health

Status
Healthy
Latest latency
71 ms
Average latency
419 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "q": {
          "type": "string",
          "maxLength": 160
        },
        "ndc": {
          "type": "string",
          "maxLength": 32
        },
        "brand_name": {
          "type": "string",
          "maxLength": 160
        },
        "generic_name": {
          "type": "string",
          "maxLength": 160
        },
        "ingredient": {
          "type": "string",
          "maxLength": 160
        },
        "manufacturer_name": {
          "type": "string",
          "maxLength": 160
        },
        "route": {
          "type": "string",
          "maxLength": 80
        },
        "dosage_form": {
          "type": "string",
          "maxLength": 120
        },
        "dea_schedule": {
          "type": "string",
          "enum": [
            "CI",
            "CII",
            "CIII",
            "CIV",
            "CV"
          ]
        },
        "source": {
          "type": "string",
          "enum": [
            "openfda-ndc",
            "dailymed",
            "nadac",
            "openfda-enforcement",
            "orange-book",
            "rxnorm",
            "openfda-unii",
            "openfda-shortages"
          ]
        },
        "shortage_status": {
          "type": "string",
          "enum": [
            "Current",
            "To Be Discontinued",
            "Resolved"
          ]
        },
        "rxcui": {
          "type": "string",
          "maxLength": 16,
          "pattern": "^[0-9]+$"
        },
        "spl_set_id": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100,
          "default": 20
        },
        "cursor": {
          "type": "string",
          "description": "Opaque keyset cursor from a previous response."
        },
        "count": {
          "type": "boolean",
          "description": "Include the total matching-record count."
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "additionalProperties": false,
          "properties": {
            "brand_name": {
              "maxLength": 160,
              "type": "string"
            },
            "count": {
              "description": "Include the total matching-record count.",
              "type": "boolean"
            },
            "cursor": {
              "description": "Opaque keyset cursor from a previous response.",
              "type": "string"
            },
            "dea_schedule": {
              "enum": [
                "CI",
                "CII",
                "CIII",
                "CIV",
                "CV"
              ],
              "type": "string"
            },
            "dosage_form": {
              "maxLength": 120,
              "type": "string"
            },
            "generic_name": {
              "maxLength": 160,
              "type": "string"
            },
            "ingredient": {
              "maxLength": 160,
              "type": "string"
            },
            "limit": {
              "default": 20,
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            },
            "manufacturer_name": {
              "maxLength": 160,
              "type": "string"
            },
            "ndc": {
              "maxLength": 32,
              "type": "string"
            },
            "q": {
              "maxLength": 160,
              "type": "string"
            },
            "route": {
              "maxLength": 80,
              "type": "string"
            },
            "rxcui": {
              "maxLength": 16,
              "pattern": "^[0-9]+$",
              "type": "string"
            },
            "shortage_status": {
              "enum": [
                "Current",
                "To Be Discontinued",
                "Resolved"
              ],
              "type": "string"
            },
            "source": {
              "enum": [
                "openfda-ndc",
                "dailymed",
                "nadac",
                "openfda-enforcement",
                "orange-book",
                "rxnorm",
                "openfda-unii",
                "openfda-shortages"
              ],
              "type": "string"
            },
            "spl_set_id": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "additionalProperties": false,
          "properties": {
            "data": {
              "items": {
                "additionalProperties": true,
                "properties": {
                  "_provenance": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "id": {
                    "minimum": 1,
                    "type": "integer"
                  }
                },
                "required": [
                  "id"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "has_more": {
              "type": "boolean"
            },
            "next_cursor": {
              "type": [
                "string",
                "null"
              ]
            },
            "total": {
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "data",
            "has_more",
            "next_cursor"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}