{"uid":"cap_6koiv_f-d0i9v0PXgQjzP","slug":"oneshot-agent-api-hospital-lookup-by-zip-code-7fd464de","name":"OneShot Agent API – Hospital Lookup by ZIP Code","description":"List the hospitals registered with Medicare in a US ZIP code, with address, type, owner, emergency services and overall quality rating.","url":"https://win.oneshotagent.com/v1/tools/lookup/place-hospitals?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"limit":{"type":"integer","description":"The most hospitals to return. From 1 to 25. Defaults to `10`."},"zip_code":{"type":"string","description":"A US ZIP code, for example 45220. zip_code must be five digits."}}},"responseSchema":{"type":"json","example":{"total":2,"hospitals":[{"city":"CINCINNATI","name":"CINCINNATI VA MEDICAL CENTER","type":"Acute Care - Veterans Administration","phone":"(513) 861-3100","state":"OH","county":"HAMILTON","address":"3200 VINE STREET","zip_code":"45220","ownership":"Veterans Health Administration","facility_id":"36003F","overall_rating":4,"emergency_services":true},{"city":"CINCINNATI","name":"GOOD SAMARITAN HOSPITAL","type":"Acute Care Hospitals","phone":"(513) 862-2601","state":"OH","county":"HAMILTON","address":"375 DIXMYTH AVENUE","zip_code":"45220","ownership":"Voluntary non-profit - Private","facility_id":"360134","overall_rating":4,"emergency_services":true}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_I1sagWrDQwYWuWDKzNLno","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a list of US hospitals near a given ZIP code, including facility details, ratings, and emergency services availability.","exampleAgentPrompt":"Can you find me the top 5 hospitals near ZIP code 45220, including whether they have emergency services?","exampleUseCases":[{"title":"Emergency room finder for travelers","prompt":"I'm in an unfamiliar area with ZIP code 90210 — can you show me up to 3 hospitals that have emergency services nearby?"},{"title":"VA hospital locator for veterans","prompt":"Find me all VA hospitals within ZIP code 10001 so I can figure out which one to visit for my appointment."},{"title":"Healthcare facility audit for insurance agent","prompt":"Pull me a list of up to 10 hospitals in ZIP code 60614, including their ownership type and overall rating, so I can review coverage options in that area."}],"resultDescription":"Returns a JSON object with a total count and an array of hospital records, each containing the hospital name, type, address, city, state, county, ZIP code, phone number, facility ID, overall rating (numeric), emergency services availability (boolean), and ownership category.","failureModes":["Invalid or non-existent ZIP code returns empty hospital list or error","ZIP code not in US format causes validation failure","Limit parameter set to 0 or negative may return empty results or error","Payment failure via x402 protocol blocks the request","Exceeding rate limits or insufficient USDC balance prevents call completion"],"whenToPreferThis":"Use this endpoint when you need structured US hospital data — including ratings, emergency services, and ownership — indexed by ZIP code. Ideal for healthcare navigation, insurance research, emergency planning, or agent workflows that need local facility data without requiring an API key, paying only $0.005 USDC per call via x402 on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:41:20.359Z","isFirstParty":false,"canonicalSlug":"oneshot-agent-api-hospital-lookup-by-zip-code-7fd464de"}