{"uid":"cap_uma9pCD5Oz9WybKTPOlCb","slug":"medapi-safety-profile-drug-safety-analysis-2b1443fc","name":"MedAPI Safety Profile — Drug Safety Analysis","description":"Drug data, adverse events, clinical trials, PubMed. AI-powered medical analysis. 17 endpoints. x402 on Base.","url":"https://mamujamedapi.vercel.app/api/safety-profile","method":"POST","headers":{},"bodySchema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"name"}}},"responseSchema":{"type":"object","required":["success"],"properties":{"data":{"type":"object","properties":{"drug":{"type":"string"},"warnings":{"type":"array","items":{"type":"string"}},"safety_score":{"type":"number"},"contraindications":{"type":"array","items":{"type":"string"}}}},"success":{"type":"boolean"},"analysis":{"type":"object","description":"LLM safety assessment"}}},"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_S9XeCEe7T8lBNup_DjmZA","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":"Returns a comprehensive safety profile for a named drug, including warnings, contraindications, and an AI-powered safety score","exampleAgentPrompt":"Can you pull up the full safety profile for metformin — I need the warnings, contraindications, and an overall safety score?","exampleUseCases":[{"title":"Pre-prescription drug safety check","prompt":"Before my doctor prescribes lisinopril, can you look up its safety profile and tell me all the contraindications and major warnings I should be aware of?"},{"title":"Medication safety comparison research","prompt":"I'm researching NSAIDs — can you get me the safety score and contraindications for ibuprofen so I can compare it to other options?"},{"title":"Patient education on drug risks","prompt":"My patient was prescribed warfarin — can you pull the full safety profile including warnings and contraindications so I can explain the risks to them?"}],"resultDescription":"A JSON object containing the drug name, an array of safety warnings, a numeric safety score, an array of contraindications, and an LLM-generated safety assessment narrative — all keyed to the queried drug name.","failureModes":["Unknown or misspelled drug name returns empty data or low-confidence results","Rare or experimental drugs may have sparse FDA adverse event data, reducing accuracy","LLM safety assessment may hallucinate details not present in source databases","Network latency or Vercel cold-start delays may cause timeouts","x402 payment failure on Base blockchain causes 402 response before data is returned"],"whenToPreferThis":"Use this endpoint when you need a quick, AI-synthesized safety summary for a named drug — including structured contraindications, warnings, and a numeric safety score — without manually querying FDA, OpenFDA, or PubMed separately. Prefer this over raw FDA APIs when you want an LLM-analyzed narrative safety assessment alongside structured data in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:49:58.877Z","isFirstParty":false}