{"uid":"cap_IHV48qQPT0UxLdjRoumB-","slug":"rxatlas-drug-product-search-api-6bcd56d5","name":"RxAtlas Drug Product Search API","description":"Search US drug products by NDC, brand, generic name, ingredient, manufacturer, dosage form, route, source, or identifier.","url":"https://api.rxatlas.dev/v1/drugs","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"q":{"type":"string","maxLength":160},"ndc":{"type":"string","maxLength":32},"count":{"type":"boolean","description":"Include the total matching-record count."},"limit":{"type":"integer","default":20,"maximum":100,"minimum":1},"route":{"type":"string","maxLength":80},"rxcui":{"type":"string","pattern":"^[0-9]+$","maxLength":16},"cursor":{"type":"string","description":"Opaque keyset cursor from a previous response."},"source":{"enum":["openfda-ndc","dailymed","nadac","openfda-enforcement","orange-book","rxnorm","openfda-unii","openfda-shortages"],"type":"string"},"brand_name":{"type":"string","maxLength":160},"ingredient":{"type":"string","maxLength":160},"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)$"},"dosage_form":{"type":"string","maxLength":120},"dea_schedule":{"enum":["CI","CII","CIII","CIV","CV"],"type":"string"},"generic_name":{"type":"string","maxLength":160},"shortage_status":{"enum":["Current","To Be Discontinued","Resolved"],"type":"string"},"manufacturer_name":{"type":"string","maxLength":160}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["data","has_more","next_cursor"],"properties":{"data":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","minimum":1},"_provenance":{"type":"object","additionalProperties":true}},"additionalProperties":true}},"total":{"type":"integer","minimum":0},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"]}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zNjngIqAPhHLtkpP1UjLW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_2_vO5CJpXxFSnNI40WAIy","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search and retrieve US drug product records by NDC, brand/generic name, ingredient, manufacturer, dosage form, route, DEA schedule, shortage status, or identifier across multiple FDA data sources.","exampleAgentPrompt":"Search RxAtlas for all US drug products that contain metformin as an ingredient, show me up to 50 results from the openfda-ndc source, and include the total count.","exampleUseCases":null,"resultDescription":"A paginated list of drug product records matching the query, each with a unique ID and provenance metadata from the underlying data source. The response includes a has_more flag, an optional next_cursor for keyset pagination, and an optional total count of matching records.","failureModes":["Invalid or malformed NDC code returns empty results or 400 error","Unsupported source enum value returns validation error","Cursor from a different query context causes unexpected results","Rate limiting or payment failure returns 402 or 429 error","Query string too long (>160 chars) rejected by schema validation","No matching records returns empty data array with has_more false"],"whenToPreferThis":"Use this endpoint when you need structured, multi-source US drug product data searchable by pharmaceutical identifiers (NDC, RxCUI, SPL set ID), drug names, ingredients, manufacturer, DEA schedule, dosage form, route, or shortage status. Prefer this over raw FDA APIs when you need aggregated data across OpenFDA, DailyMed, NADAC, Orange Book, and RxNorm in a single interface with pagination support.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:33:04.189Z","isFirstParty":false}