{"uid":"cap_GrESw7LDP2Rth_cq1jlXJ","slug":"rxnorm-drug-lookup-api-835e4905","name":"RxNorm Drug Lookup API","description":"Normalize and verify drug names against RxNorm, the canonical US drug vocabulary from the NIH. Two modes: term (\"tylenol 500mg\", brand or generic, typos tolerated) returns ranked RxCUI candidates with normalized names and match scores; rxcui returns the canonical concept (name, term type like IN=ingredient / SBD=branded drug / SCD=clinical drug, suppression flag) plus related concepts — active ingredients, brand names, and available dose forms. Use before writing prescriptions data, drug interactions queries, or pharmacy integrations: verify the drug exists and get its stable identifier instead of trusting model memory. Sibling: /api/medical/icd10 (diagnosis codes). Public-domain NIH data.","url":"https://2s.io/api/medical/rxnorm","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"properties":{"term":{"type":"string","description":"Free-text drug name, brand or generic (XOR with rxcui)."},"limit":{"type":"integer","default":5,"maximum":20,"minimum":1,"description":"Max candidates (term mode)."},"rxcui":{"type":"string","description":"RxNorm concept id for canonical detail + related concepts (XOR with term)."}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"term":"aspirin","limit":5}}},"response":{"data":{"ok":true,"meta":{"mode":"search","concept":null,"related":null},"items":[{"name":"Aspirin","rank":1,"rxcui":"1191","score":10.364524841308594}],"total":null,"source":{"url":"https://rxnav.nlm.nih.gov/","license":"Public domain (US government work)","provider":"NIH National Library of Medicine RxNorm (RxNav)"}},"meta":{"cost":{"usd":0.0012,"tier":0},"caller":"x402","version":null,"endpoint":"medical.rxnorm","settlement":{"txHash":"0xd432fd6abf1d009b08e7017c2dd0ada837214eb24d63b4004aecfcdfea6df9f1","network":"eip155:8453","success":true}}}},"exampleRequest":{"term":"aspirin","limit":5},"tags":["x402"],"displayCostAmount":"0.0012","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WJJ92B7zcLWKjAVIGzxcR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search for drug names or retrieve canonical RxNorm concept details and related concepts by RxCUI from the NIH National Library of Medicine RxNorm database","exampleAgentPrompt":"Look up 'metformin' in RxNorm and give me the top 3 matching drug concepts with their RxCUI codes.","exampleUseCases":null,"resultDescription":"Returns a JSON object with an 'items' array of matched drug concepts, each containing the drug name, RxCUI identifier, rank, and relevance score. In RxCUI detail mode, also returns related concepts and canonical concept metadata. Source attribution to NIH NLM RxNorm is included.","failureModes":["No results found for an obscure or misspelled drug name — returns empty items array","Both 'term' and 'rxcui' provided simultaneously — only one should be used (XOR)","Neither 'term' nor 'rxcui' provided — missing required query parameter","Invalid rxcui value — may return empty or error response","Limit parameter out of range (must be 1–20) — validation error"],"whenToPreferThis":"Use this endpoint when you need to resolve drug names (brand or generic) to standardized RxNorm identifiers, or when you need canonical drug concept details and related concepts given a known RxCUI. Ideal for normalizing medication names in clinical workflows, enriching drug data pipelines, or verifying pharmaceutical terminology against the authoritative US government drug database.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:55:14.721Z","isFirstParty":false}