{"uid":"cap_tz9wFxYUrffiCX_GuZcyW","slug":"singlecare-prescription-drug-prices-by-zip-d0d694c3","name":"SingleCare Prescription Drug Prices by ZIP","description":"Pay-per-call e-commerce, product, price and social media data tools for AI agents, from public sources. Payment: x402, USDC on Base, Solana, Arc, Polygon, Arbitrum, Monad, World Chain, Optimism, Avalanche, Celo or Stellar, or RLUSD/XRP on the XRP Ledger. No signup, no API key; a failed call is not charged.","url":"https://api.shopsocial-api.workers.dev/api/ecommerce/singlecare?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":["drug"],"properties":{"zip":{"type":"string","description":"Optional 5-digit US ZIP code for nearby pharmacies"},"drug":{"type":"string","description":"Drug name as in singlecare.com/prescription/<name>, e.g. lipitor, atorvastatin-calcium, amoxicillin"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FfB9WWk5NIKk04CzVhW49","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns SingleCare coupon prices for a drug at nearby pharmacies (CVS, Walgreens, Walmart, Kroger, etc.) including per-pharmacy pricing, lowest price, form/strength/quantity, retail cash price, and monthly price history, looked up by ZIP code.","exampleAgentPrompt":"What are the SingleCare coupon prices for atorvastatin at pharmacies near ZIP 60614 — show me the price at each pharmacy, the lowest overall price, and whether there's a generic option?","exampleUseCases":[{"title":"Cheapest pharmacy for a new prescription","prompt":"I just got a prescription for amoxicillin — can you check SingleCare prices for it at pharmacies near ZIP 75201 and tell me which one is cheapest?"},{"title":"Brand vs generic cost comparison","prompt":"My doctor prescribed Lipitor — look up SingleCare coupon prices near ZIP 90210 and tell me if there's a generic available and how much I'd save."},{"title":"Monthly price trend for a maintenance drug","prompt":"I take metformin every month — can you pull the SingleCare coupon prices near ZIP 10001 and show me how the price has changed over the last few months?"}],"resultDescription":"Returns a list of nearby pharmacies (e.g. CVS, Walgreens, Walmart, Kroger) each with their SingleCare coupon price, loyalty price, and distance from the given ZIP. Also includes the overall lowest available price, the drug's form, strength, and quantity priced, the usual retail cash price, a generic/brand flag, and a monthly price history chart.","failureModes":["Drug name not recognized or misspelled — returns empty or error response","ZIP code not found or out of service area — empty pharmacy list returned","No pharmacies found near specified ZIP — empty list","SingleCare page structure changed — scraper may return partial or malformed data","Residential proxy unavailable — timeout or connection error","Invalid or missing required 'drug' parameter — validation error"],"whenToPreferThis":"Use this endpoint when you need SingleCare-specific coupon prices across multiple pharmacy chains for a US prescription drug, especially when comparing per-pharmacy prices, checking distance from a ZIP code, or tracking historical price trends. Prefer this over Cost Plus Drugs endpoint when the user needs retail pharmacy options (Walgreens, CVS, Walmart) rather than mail-order prices.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T00:33:59.198Z","isFirstParty":false,"canonicalSlug":"singlecare-prescription-drug-prices-by-zip-d0d694c3"}