{"uid":"cap_hU2X3sryuWENUeS4j3CuK","slug":"medapi-compare-drugs-3903129c","name":"MedAPI Compare Drugs","description":"Drug data, adverse events, clinical trials, PubMed. AI-powered medical analysis. 17 endpoints. x402 on Base.","url":"https://madapi.tempochan.xyz/api/compare-drugs","method":"POST","headers":{},"bodySchema":{"type":"object","required":["drugs"],"properties":{"drugs":{"type":"array","description":"drugs"}}},"responseSchema":{"type":"object","required":["success"],"properties":{"data":{"type":"object","properties":{"drugs":{"type":"array","items":{"type":"object"}},"comparison":{"type":"object"}}},"success":{"type":"boolean"},"analysis":{"type":"object","description":"LLM comparative analysis"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.35","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_b-KAbqnVq_ShV8BsbBbsN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares multiple drugs side-by-side using drug data, adverse events, and AI-powered analysis","exampleAgentPrompt":"Can you compare ibuprofen, naproxen, and acetaminophen side by side — I want to know how they differ in terms of adverse events, uses, and which one might be safer for long-term use?","exampleUseCases":null,"resultDescription":"Returns a structured comparison object containing individual drug profiles, a side-by-side comparison summary, and an AI-generated LLM narrative analysis highlighting similarities, differences, safety profiles, and clinical considerations across the provided drugs.","failureModes":["Drug name not recognized or not found in database — returns success:false with error message","Empty or missing drugs array — returns 400 validation error","Only one drug provided — comparison may be meaningless or return error","Payment not attached or insufficient USDC — returns 402 Payment Required","LLM analysis service timeout — may return partial data without analysis object","Malformed request body — returns 400 or 422 error"],"whenToPreferThis":"Use this endpoint when an agent needs to evaluate multiple drug options simultaneously, such as helping a user understand treatment alternatives, comparing safety profiles, or summarizing clinical differences. Prefer this over individual drug lookup endpoints when two or more drugs need to be contrasted directly. Best suited for research, patient education support, or clinical decision-support workflows where comparative context is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:34:54.917Z","isFirstParty":false}