{"description":"Searches PolitiFact like its search page: fact-check headline (the claim), link, the speaker and when the claim was made, in the site's order. First page of results. Returns an empty list when nothing matches.","effect":"read","id":"politifact.com/search-news","keywords":["politifact","fact check","factcheck","fact-check","claims","politics","truth","statements","politicians","news","faktencheck","usa","search"],"output":{"schema":{"properties":{"factchecks":{"items":{"properties":{"claim":{"description":"The statement being checked","type":"string"},"speaker_line":{"description":"Who made the claim and when, e.g. 'Mike Collins stated on June 17, 2026 in an advertisement:'","type":["string","null"]},"url":{"type":"string"}},"required":["claim","url"],"type":"object"},"type":"array"},"query":{"type":"string"}},"required":["query","factchecks"],"type":"object"},"value":"{query: params.query, factchecks: map(&{claim: title, speaker_line: speaker_line || `null`, url: href}, steps.search.checks[?title != `null` && href != `null`] || `[]`)}"},"params":{"additionalProperties":false,"properties":{"query":{"description":"Search term, e.g. 'inflation', 'crime rate', 'unemployment'","maxLength":100,"minLength":2,"type":"string"}},"required":["query"],"type":"object"},"provenance":{"method":"har","notes":"GET /search/?q=..., server-rendered HTML with fact-check result blocks (speaker line in div.pf-search-personality-meta, headline link in h5.pf-search-factcheck-title). robots.txt disallows only /wp-admin/ for the generic user agent.","recorded_at":"2026-11-08T17:10:00.000Z","recorded_by":"wield-forge (claude-haiku agent)"},"requires_login":false,"schema":"https://wield.run/schema/recipe/v1.json","site":{"country":"US","id":"politifact.com","language":"en","name":"PolitiFact","origin":"https://politifact.com","origins":["https://politifact.com"]},"steps":[{"description":"Search results page /search/?q=...; read-only GET. Each result block is a div.py-4.border-bottom with the speaker and date line in div.pf-search-personality-meta and the fact-check headline link in h5.pf-search-factcheck-title.","expect":{"content_type":"html","status":[200]},"extract":{"html_items":{"checks":{"fields":{"href":{"attr":"href","selector":"h5.pf-search-factcheck-title a"},"speaker_line":{"selector":"div.pf-search-personality-meta"},"title":{"selector":"h5.pf-search-factcheck-title a"}},"max":50,"selector":"div.py-4.border-bottom:has(h5.pf-search-factcheck-title)"}}},"id":"search","request":{"headers":{"Accept":"text/html"},"method":"GET","query":{"q":"{{params.query}}"},"url":"/search/"}}],"task":"Search fact checks on PolitiFact","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.factchecks) > `0`","length(output.factchecks[?claim != `null`]) == length(output.factchecks)","length(output.factchecks[?starts_with(url, 'https://politifact.com/')]) == length(output.factchecks)"],"example_params":{"query":"inflation"},"max_ms":5000},"version":1}