{"uid":"cap_cx7YEKi4lrwN2QgHcFFir","slug":"drug-profile-lookup-by-name-or-ndc-1b0367e7","name":"Drug Profile Lookup by Name or NDC","description":"X402 micropayments server — AI agents pay USDC for OFAC screening, rates, and billing verification.","url":"https://x402helper.xyz/89e509/drug/profile?utm_source=zero.xyz","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","required":[],"properties":{"ndc":{"type":"string","default":null,"description":"Product NDC instead of a name, e.g. 0093-1712"},"drug":{"type":"string","default":null,"description":"Drug brand, generic or active-ingredient name, e.g. warfarin"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"result":{},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.052","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.052/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.052","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.052","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fCEWRNwM_dADSX87n2Vvl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.052","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a drug profile (details, rates, and related data) for a given drug name or NDC code via a pay-per-call x402 micropayment endpoint.","exampleAgentPrompt":"Can you pull up the drug profile for warfarin? I need to look it up by its generic name.","exampleUseCases":[{"title":"Medication info for clinical workflow","prompt":"I need the full drug profile for metformin — look it up by its generic name so I can see the details."},{"title":"NDC-based pharmacy lookup","prompt":"Fetch the drug profile for NDC code 0093-1712 so I can verify what product that corresponds to."},{"title":"Brand name drug research","prompt":"Look up the drug profile for Lipitor by its brand name and give me whatever details come back."}],"resultDescription":"A JSON object containing drug profile information (details, rates, billing verification data, and other pharmaceutical metadata) for the requested drug name or NDC code, with a success flag.","failureModes":["Drug name or NDC not found — returns empty result or error","Missing required query parameter (neither drug nor ndc provided)","Payment failure — x402 USDC micropayment not completed, returns 402","Invalid NDC format returns error or no result","Network timeout or server error returns failure response"],"whenToPreferThis":"Use this endpoint when you need to look up structured drug profile data by drug name (brand, generic, or active ingredient) or by NDC code, and you are operating in an x402-enabled agentic context capable of making USDC micropayments. Suitable for pharmaceutical data enrichment, medication verification, or clinical workflow automation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-07T06:47:19.360Z","isFirstParty":false,"canonicalSlug":"drug-profile-lookup-by-name-or-ndc-1b0367e7"}