Afp.Com API
afp.com
AFP.com news-media catalog — browse news and fact-check feeds by language, region and topic, and open article pages with structured headline, body, byline, and image data.
- Actions
- 3
- Category
- News Media
- Login
- Not required
- Output
- JSON
Call the Afp.Com API
Submit a task, then poll the job until it settles. This example runs act_afp_com_article_detail_ssr.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "act_afp_com_article_detail_ssr",
"params": {
"language": "en",
"article_slug": "behind-news-reporting-indonesian-island-where-slavery-never-ended"
}
}'3 actions on afp.com
Read
Article Detail
act_afp_com_article_detail_ssrread1 credit / callFetches a full AFP article page by language and slug. Returns the article title, headline, summary, body text, publish date, byline, image URLs, and related metadata.
- language
- string · required
- article_slug
- string · required
- referer
- string
Behind the News Feed Listing
act_afp_com_behind_news_feed_listingread2 credits / callFetches a paginated Drupal AJAX feed of Behind the News storytelling articles. Returns article card items with titles, URLs, summaries, and image URLs.
- language
- string · required
- page
- string · required
- feed_slug
- string
- referer
- string
- view_dom_id
- string
- ajax_page_state_libraries
- string
Homepage
act_afp_com_homepage_ssrread1 credit / callFetches the AFP.com homepage for a given language. Returns navigation links, ticker headlines, service cards, and video cards with titles and URLs.
- language
- string · required
Afp.Com API questions
- Is there an API for Afp.Com?
- Afp.Com does not offer a public data API for this, but Anakin Wire provides 3 maintained endpoints for afp.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape Afp.Com data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when afp.com changes its markup, Anakin updates the action.
- Do I need a Afp.Com account?
- No. Every Afp.Com action listed here runs anonymously — no account and no credentials required.
- What does the Afp.Com API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More News Media APIs
7x7
Bay Area news site - local events, article listings, and city guides.
9to5Google
Google and Android news - article details, category archives, and reviews.
ABC News (Australia)
Australian ABC News - article details, topic listings, live blogs, and recommendations.
AgWeb
AgWeb (Farm Journal) agricultural news and commodity markets
Al Jazeera
English-language news - latest articles, sections, keyword search, and journalists.
AllSides
News with media bias ratings - headline roundups, story details, and topic browse.