PolitiFact scraper API: articles as JSON
Send any PolitiFact page URL with recipe=politifact and get title, description, image and 2 more fields as JSON. No selectors to write, no proxies to pick.
- 1 page type
- 5 fields
- 5 credits a page · $0.50 per 1,000
- Working · 100% in 7 days
5,000 free credits for 7 days, no card.
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://politifact.com/factchecks/2026/aug/04/donald-trump/jeanine-pirro-reflecting-pool-vandalism/' \
--data-urlencode 'recipe=politifact'
{
"result": {
"title": "U.S. Attorney Jeanine Pirro fact-checks Trump...",
"description": "Even after prosecutors blamed botched constru...",
"summary": "On July 31, federal prosecutors filed a motio..."
},
"success": true
}
What you get from PolitiFact
The fields of each page type and a real sample from our last validation, shortened.
Articles recipe=politifact 5 credits a page
| Field | Type | Example |
|---|---|---|
title | text | U.S. Attorney Jeanine Pirro fact-checks Trump on Reflecting Pool ‘v... |
description | text | Even after prosecutors blamed botched construction for Reflecting P... |
image | image URL | https://politifact.com/wp-content/uploads/2026/08/Reflecting-Pool-D... |
url | URL | https://politifact.com/factchecks/2026/aug/04/donald-trump/jeanine-... |
summary | text | On July 31, federal prosecutors filed a motion debunking the claim... |
Sample answer, validated 2026-10-28
{
"title": "U.S. Attorney Jeanine Pirro fact-checks Trump on Reflecting Pool ‘vandalism’",
"description": "Even after prosecutors blamed botched construction for Reflecting Pool damage, President Donald Trump falsely blamed vandals. U.S. Attorney Jeanine Pirro fil...",
"image": "https://politifact.com/wp-content/uploads/2026/08/Reflecting-Pool-DC-7-29-26-APjpg.jpg",
"url": "https://politifact.com/factchecks/2026/aug/04/donald-trump/jeanine-pirro-reflecting-pool-vandalism/",
"summary": "On July 31, federal prosecutors filed a motion debunking the claim that vandals defaced the Reflecting Pool in Washington, D.C., and dismissing charges again..."
}
One call
Send the page URL and the recipe name to the Scrape API. The recipe brings the extract rules and the settings that work on PolitiFact (JavaScript rendering).
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://politifact.com/factchecks/2026/aug/04/donald-trump/jeanine-pirro-reflecting-pool-vandalism/' \
--data-urlencode 'recipe=politifact'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"url": "https://politifact.com/factchecks/2026/aug/04/donald-trump/jeanine-pirro-reflecting-pool-vandalism/", "recipe": "politifact"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
print(r.json()["result"])
const params = new URLSearchParams({
url: "https://politifact.com/factchecks/2026/aug/04/donald-trump/jeanine-pirro-reflecting-pool-vandalism/",
recipe: "politifact",
});
const res = await fetch(`https://api.ujeebu.com/scrape?${params}`, {
headers: { ApiKey: process.env.UJEEBU_API_KEY },
});
console.log((await res.json()).result);
The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Your own parameters always win over the recipe.
What people build with PolitiFact data
Media monitoring
Track the articles published on the topics and companies you follow.
Learn moreContent for AI and RAG
Collect headlines, dates and summaries as structured input for search and LLM pipelines.
Learn more
Price
Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
| Page type | Credits a page | Per 1,000, Starter | Per 1,000, Pro |
|---|---|---|---|
| Article | 5 | $0.82 | $0.50 |
FAQ
What does the PolitiFact recipe return?
JSON with 5 fields from article (recipe=politifact), for example title, description, image, url, summary. The answer is {"result": {...}} with the fields shown on this page.
How much does it cost to scrape PolitiFact?
5 credits a page ($0.50 per 1,000 on Pro, $0.82 on Starter). Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
Do I need proxies or a headless browser?
No. The recipe brings the settings that work on PolitiFact: JavaScript rendering. Send only the URL and recipe=politifact.
What happens when PolitiFact changes its pages?
We check PolitiFact every day and re-validate the recipe on real pages every week, then fix it when the site changes. Until a fix is live, the API answers 404 "the recipe has no working version" instead of empty data, and that call is free.
Can I change the fields?
Yes. Send your own extract_rules or any setting (js, proxy_type, wait_for) and it wins over the recipe. The developer guide shows the recipe rules to start from.
Related recipes
- SubstackArticle · 5 credits
Yahoo FinancePage · 5 credits
Yahoo NewsSearch results, Article · 5 credits
AFP Fact CheckArticle · 5 credits
Al JazeeraArticle · 5 credits
Ars TechnicaSearch results, Article · 5 credits
Logos and names belong to their owners. Ujeebu is not affiliated with PolitiFact.
Get PolitiFact data as JSON today.
5,000 free credits for 7 days. No card.