Sign inTry it

Search fact checks on PolitiFact.

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.

No reports yetRead-only, no login
Site
PolitiFact, United States
Version
v1
Runs, last 7 days
No reports yet
sha256
ab854d95328b…

Run it with your agent

after installing Wield

Ask in plain words. Your agent finds this recipe and calls it:

“Search fact checks on PolitiFact.”

Read-only: it changes nothing on the site. No login needed.

{
  "tool": "run",
  "arguments": {
    "recipe_id": "politifact.com/search-news",
    "params": {
      "query": "inflation"
    }
  }
}

Requests

sent from your browser, in order
  1. 1GET/search/?qSearch 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.

Parameters

from your agent
querystringrequiredSearch term, e.g. 'inflation', 'crime rate', 'unemployment'

Returns

to your agent
factchecksobject[]claim, speaker_line, url
querystring

Where it can send

  • politifact.com

Anything else is blocked by the extension.

Reads from your session

Nothing. Your browser attaches the site's cookies by itself.

Used only in requests to the addresses on the left. Never sent to wield.run or your agent.

Checks

a run passes when
  • length(output.factchecks) > `0`
  • length(output.factchecks[?claim != `null`]) == length(output.factchecks)
  • length(output.factchecks[?starts_with(url, 'https://politifact.com/')]) == length(output.factchecks)

Raw recipe

Served as canonical JSON from /api/v1/recipes/politifact.com/search-news, so its sha256 matches the ETag and the index.

Check it yourself
curl -s https://wield.run/api/v1/recipes/politifact.com/search-news | shasum -a 256
# ab854d95328b00e228cedf90271819ec186454b37072e3a7e0702dfb6e70386a
politifact.com/search-news.json, v1
{
  "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
}