{"description":"Searches nhs.uk like its search results page: page title and link for each result (conditions, symptoms, live well pages and others), in the site's order. First page of results only.","effect":"read","id":"nhs.uk/search-health","keywords":["nhs","nhs.uk","health","symptoms","conditions","medicine","vaccine","uk","england","medical advice","illness","treatment","back pain","asthma"],"output":{"schema":{"properties":{"query":{"type":"string"},"results":{"items":{"properties":{"title":{"type":"string"},"url":{"description":"Absolute nhs.uk page URL","type":"string"}},"required":["title","url"],"type":"object"},"type":"array"}},"required":["query","results"],"type":"object"},"value":"{query: params.query, results: steps.search.results[?title != `null` && href != `null`].{title: title, url: join('', ['https://www.nhs.uk', replace(split(split(href, 'url=')[1], '&')[0], '%2F', '/')])}}"},"params":{"additionalProperties":false,"properties":{"query":{"description":"Condition, symptom or health topic, e.g. 'back pain', 'asthma symptoms', 'flu vaccine'","maxLength":100,"minLength":2,"type":"string"}},"required":["query"],"type":"object"},"provenance":{"method":"har","notes":"GET /search/results?q=: the server-rendered HTML lists the first page of results as a.app-search-results-item links with a summary paragraph. The href is the site's own /search/click redirect with the target path in its url parameter; the recipe decodes that path into the page URL. Results are not sponsored in this markup.","recorded_at":"2026-11-08T16:45:00.000Z","recorded_by":"wield-forge (claude-haiku agent)"},"requires_login":false,"schema":"https://wield.run/schema/recipe/v1.json","site":{"country":"GB","id":"nhs.uk","language":"en","name":"NHS","origin":"https://www.nhs.uk","origins":["https://www.nhs.uk"]},"steps":[{"description":"Server-rendered search results page /search/results?q=; read-only GET. Each result is an a.app-search-results-item link; its href is a tracking redirect that carries the real page path in its url parameter.","expect":{"content_type":"html","status":[200]},"extract":{"html_items":{"results":{"fields":{"href":{"attr":"href","selector":":scope"},"title":{"selector":":scope"}},"max":50,"selector":"a.app-search-results-item"}}},"id":"search","request":{"headers":{"Accept":"text/html"},"method":"GET","query":{"q":"{{params.query}}"},"url":"/search/results"}}],"task":"Search NHS conditions and symptoms","tos":{"notes":"Not reviewed. One search page per call, the same page a visitor loads. The site's terms on automated access were not checked.","reviewed":false},"verify":{"checks":["length(output.results) > `0`","length(output.results[?starts_with(url, 'https://www.nhs.uk/')]) == length(output.results)","length(output.results[?title != `null`]) == length(output.results)"],"example_params":{"query":"back pain"},"max_ms":5000},"version":1}