{"uid":"cap_UJ-I_ZI0vnxvaDm9xtXrc","slug":"medapi-drug-search-d9a1698b","name":"MedAPI Drug Search","description":"Drug data, adverse events, clinical trials, PubMed. AI-powered medical analysis. 17 endpoints. x402 on Base.","url":"https://mamujamedapi.vercel.app/api/drug-search","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"query"}}},"responseSchema":{"type":"object","required":["success"],"properties":{"data":{"type":"object","properties":{"total":{"type":"integer"},"results":{"type":"array","items":{"type":"object"}}}},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.35","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.35/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.35","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.35","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_b55QsnkUWe0_18OpmSxHm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.35","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search a medical database for drug information by name, active ingredient, or condition using AI-powered analysis","exampleAgentPrompt":"Search MedAPI for information about metformin — I want to know what drugs come up, how many results there are, and any key details about the medication.","exampleUseCases":[{"title":"Drug name quick lookup","prompt":"Can you search for ibuprofen in the medical drug database and tell me what records come back, including any details about its uses and classification?"},{"title":"Condition-based drug discovery","prompt":"Search the drug database for medications used to treat type 2 diabetes and show me the full list of results with how many there are total."},{"title":"Active ingredient research","prompt":"Look up 'acetaminophen' in MedAPI's drug search and give me everything it returns — I'm trying to understand what drugs contain that active ingredient."}],"resultDescription":"Returns a JSON object with a success boolean and a data object containing a total integer (number of matching records) and a results array of drug objects with detailed drug metadata such as name, classification, active ingredients, and related medical information.","failureModes":["Empty query string returns validation error or zero results","Misspelled drug name may return no results or unrelated matches","Rare or experimental drug names may not be in the database","Network timeout or server error returns success: false","Overly broad query may return too many low-relevance results"],"whenToPreferThis":"Choose this endpoint when you need to search for pharmaceutical or drug information by name, active ingredient, or medical condition and want AI-enriched medical intelligence rather than raw FDA label data. Prefer this over PubMed or clinical trial endpoints when the primary need is drug identification and metadata lookup rather than research literature or trial status.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:41:15.788Z","isFirstParty":false}