{"uid":"cap_yDUqCLER854SnhzxaIwPB","slug":"uk-data-api-nhs-healthcare-finder-7aee6081","name":"UK Data API – NHS Healthcare Finder","description":"UK public data for AI agents, one origin, pay per call: a one-call postcode report, street crime, live flood warnings, property sales and the House Price Index, food hygiene ratings, MP lookup, NHS GPs, pharmacies and dentists, Companies House checks and search, UK working days and bank holidays, and the cheapest card machine provider. Official sources, attribution in every answer, free preview in every 402, failed requests never charged.","url":"https://uk-data.agent-fee-check.workers.dev/nhs?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":["postcode"],"properties":{"type":{"enum":["gp","pharmacy","dentist"],"type":"string","description":"gp (default), pharmacy or dentist"},"postcode":{"type":"string","description":"UK postcode or district, e.g. LU6 3BS or LU6"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"count":5,"query":{"type":"pharmacy","district":"LU6","postcode":"LU6 3BS"},"summary":"5 active pharmacies in LU6; nearest by postcode: LANGDALE PHARMACY, LU6 3BS.","type_label":"Pharmacy","retrieved_at":"2026-10-11T18:16:44.978Z","organisations":[{"name":"LANGDALE PHARMACY","phone":"01582 607242","address":"64 LANGDALE ROAD, DUNSTABLE, BEDFORDSHIRE","ods_code":"FTT68","postcode":"LU6 3BS","last_updated":"2026-04-01"},{"name":"HERINGTON (CHEMISTS) LTD","phone":"01582 663651","address":"7 HIGH STREET SOUTH, DUNSTABLE, BEDFORDSHIRE","ods_code":"FGM33","postcode":"LU6 3RZ","last_updated":"2026-04-01"}],"total_in_district":5}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Uy_2GP0X_14Ycn2Uvho4D","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","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 NHS GPs, pharmacies, or dentists near a given UK postcode or district, sourced from official NHS data","exampleAgentPrompt":"Can you find all pharmacies in the LU6 postcode district in the UK?","exampleUseCases":[{"title":"Nearest GP surgery finder","prompt":"Find me NHS GP surgeries near the postcode E1 6AN in London — I need the name, address and phone number for each one."},{"title":"Pharmacy locator for a district","prompt":"List all pharmacies in the SW3 postcode district and tell me which one is nearest to SW3 4NH."},{"title":"NHS dentist search for a new area","prompt":"I'm moving to Edinburgh — can you find NHS dentists in the EH1 postcode area for me?"}],"resultDescription":"Returns a JSON object containing: a count and total of matching NHS organisations in the district, a plain-English summary naming the nearest provider, a list of organisations each with name, phone, address, ODS code, postcode, and last-updated date, plus query echo and retrieval timestamp.","failureModes":["Invalid or unrecognised UK postcode returns an error","No providers of the requested type found in the district returns an empty list","Missing required 'postcode' query parameter returns a validation error","Payment not provided triggers a 402 response with a free preview of results","Malformed postcode format may return unexpected results"],"whenToPreferThis":"Use this endpoint when you need official NHS-sourced lists of GPs, pharmacies, or dentists near a UK postcode or district. It aggregates NHS ODS data into a single structured call with attribution included, making it ideal for agents that need to surface local healthcare options without scraping multiple NHS pages. Prefer this over generic search when you need structured, authoritative data with ODS codes and contact details.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T13:42:58.924Z","isFirstParty":false,"canonicalSlug":"uk-data-api-nhs-healthcare-finder-7aee6081"}