{"uid":"cap_57UbQL7qSdmoweoxxeNxF","slug":"polyform-drug-safety-compare-91fd38cc","name":"Polyform Drug Safety Compare","description":"Pay-per-call data endpoints for AI agents. USDC on Base via x402. No account, no API key — one micropayment per call.","url":"https://api.polyform.org/v1/health/drug-safety-compare?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","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"a":{"generic":"ibuprofen"},"b":{"generic":"naproxen"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.06","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.06/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1hgoHpTDDdmIKZkFn2O8l","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.06","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two drugs side-by-side and returns their generic names and safety-relevant information, paid per-call via USDC micropayment.","exampleAgentPrompt":"Compare the drug safety profiles of ibuprofen and naproxen for me — I want to see their generic names and any key safety differences.","exampleUseCases":[{"title":"OTC pain reliever safety comparison","prompt":"Can you compare ibuprofen and naproxen side by side and tell me their generic names and safety profiles? I want to know which is safer for regular use."},{"title":"Brand vs generic drug identification","prompt":"I have two medications — Advil and Aleve — can you look up their generic drug names and compare any safety considerations between them?"},{"title":"Medication safety check for patients","prompt":"My patient is switching from one NSAID to another. Can you pull a safety comparison between ibuprofen and celecoxib, including their generic names?"}],"resultDescription":"A JSON object with keys 'a' and 'b', each containing a 'generic' field with the generic name of the respective drug (e.g. {a: {generic: 'ibuprofen'}, b: {generic: 'naproxen'}}), along with any additional safety-relevant comparison data returned for both medications.","failureModes":["Missing required drug name parameters returns an error or empty result","Unrecognized drug names may return null or empty generic fields","Payment failure (insufficient USDC balance) results in 402 Payment Required response","Malformed query parameters may result in 400 Bad Request","Unknown or misspelled drug names may not return useful safety data"],"whenToPreferThis":"Choose this endpoint when you need a quick, no-account-required, pay-per-call comparison of two drugs' generic names and safety information. Ideal for AI agents that need on-demand pharmaceutical lookups without API key management, especially in healthcare, medication advisory, or consumer drug information contexts. Prefer this over subscription-based drug APIs when usage is sporadic or when operating in a micropayment-native agent architecture.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T01:18:20.947Z","isFirstParty":false,"canonicalSlug":"polyform-drug-safety-compare-91fd38cc"}