AFP Fact Check scraper API: articles as JSON
Send any AFP Fact Check page URL with recipe=afp and get title, description, image and 3 more fields as JSON. No selectors to write, no proxies to pick.
- 1 page type
- 6 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://factcheck.afp.com/doc.afp.com.D29D69E' \
--data-urlencode 'recipe=afp'
{
"result": {
"title": "Old protest visuals falsely linked to Nairobi...",
"description": "Human rights activists marched through Kenya'...",
"published": "Published on October 9, 2026 at 14:58",
"read_time": "6 min read"
},
"success": true
}
What you get from AFP Fact Check
The fields of each page type and a real sample from our last validation, shortened.
Articles recipe=afp 5 credits a page
| Field | Type | Example |
|---|---|---|
title | text | Old protest visuals falsely linked to Nairobi solidarity march for... |
description | text | Human rights activists marched through Kenya's capital Nairobi on S... |
image | image URL | https://factcheck.afp.com/sites/default/files/styles/og_image/publi... |
url | URL | https://factcheck.afp.com/doc.afp.com.D29D69E |
published | text | Published on October 9, 2026 at 14:58 |
read_time | text | 6 min read |
Sample answer, validated 2026-11-04
{
"title": "Old protest visuals falsely linked to Nairobi solidarity march for Uganda's Besigye",
"description": "Human rights activists marched through Kenya's capital Nairobi on September 3, 2026, demanding the release of detained Ugandan opposition figure Kizza Besigy...",
"image": "https://factcheck.afp.com/sites/default/files/styles/og_image/public/medias/factchecking/g2/2026-10/315e5a7cd22e579fcd7ab19c01418c6d-en.jpeg?itok=JeAzUAL0",
"url": "https://factcheck.afp.com/doc.afp.com.D29D69E",
"published": "Published on October 9, 2026 at 14:58",
"read_time": "6 min read"
}
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 AFP Fact Check (JavaScript rendering).
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://factcheck.afp.com/doc.afp.com.D29D69E' \
--data-urlencode 'recipe=afp'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"url": "https://factcheck.afp.com/doc.afp.com.D29D69E", "recipe": "afp"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
print(r.json()["result"])
const params = new URLSearchParams({
url: "https://factcheck.afp.com/doc.afp.com.D29D69E",
recipe: "afp",
});
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 AFP Fact Check 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 morePublishing timeline
Measure when and how often a site publishes, by section.
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 AFP Fact Check recipe return?
JSON with 6 fields from article (recipe=afp), for example title, description, image, url, published. The answer is {"result": {...}} with the fields shown on this page.
How much does it cost to scrape AFP Fact Check?
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 AFP Fact Check: JavaScript rendering. Send only the URL and recipe=afp.
What happens when AFP Fact Check changes its pages?
We check AFP Fact Check 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
Al JazeeraArticle · 5 credits
Ars TechnicaSearch results, Article · 5 credits
Associated PressArticle · 5 credits
Logos and names belong to their owners. Ujeebu is not affiliated with AFP Fact Check.
Get AFP Fact Check data as JSON today.
5,000 free credits for 7 days. No card.