Discover/afp.com API
live

afp.com APIafp.com

Access AFP wire ticker headlines and AFP Factuel fact-check articles. Search, filter by region or topic, and retrieve full article content via 9 endpoints.

Endpoints
9
Updated
27d ago
Try it
Language code: fr, en, es, pt, de, ar
api.parse.bot/scraper/8f825f5d-d8ad-491e-9e99-729f3f4da791/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/8f825f5d-d8ad-491e-9e99-729f3f4da791/get_homepage_news_ticker?lang=en' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 9 totalclick to expand

Scrape the live news ticker on afp.com homepage which shows real-time AFP wire dispatches including location, timestamp, and headline text.

Input
ParamTypeDescription
langstringLanguage code: fr, en, es, pt, de, ar
Response
{
  "type": "object",
  "fields": {
    "language": "string indicating the language used",
    "ticker_items": "array of news ticker items with location, timestamp, and headline"
  },
  "sample": {
    "data": {
      "language": "en",
      "ticker_items": [
        {
          "headline": "Iranian embassy denies armed forces struck South Korean ship in Hormuz",
          "location": "Seoul (AFP)",
          "timestamp": "07/05/2026 - 05:18:50"
        }
      ]
    },
    "status": "success"
  }
}

About the afp.com API

The AFP API provides 9 endpoints covering two distinct data sources: the live AFP.com homepage news ticker and the AFP Factuel fact-checking archive. get_factcheck_article returns structured body blocks, authors, tags, and publication timestamps for individual fact-checks identified by document ID, while get_homepage_news_ticker delivers real-time wire dispatches across up to six languages including Arabic, French, and Spanish.

News Ticker and Wire Dispatches

The get_homepage_news_ticker endpoint accepts an optional lang parameter (fr, en, es, pt, de, ar) and returns an array of ticker_items, each containing a location string, a timestamp, and a headline. This is the same live dispatch feed displayed on the AFP corporate homepage, making it useful for monitoring breaking news across language editions.

AFP Factuel Fact-Check Content

Five endpoints cover AFP Factuel's fact-checking corpus. get_factcheck_homepage returns the latest articles as an array with title, url, doc_id, date, and tags. get_factcheck_article takes a doc_id (e.g. A9CW3NR) and returns the full article: a body array of typed content blocks (text or image), authors, tags, date, and title. get_factcheck_article_list_all paginates the complete archive by page number. search_factcheck_articles accepts a query string supporting single and multi-word terms and returns matching articles with the same metadata shape.

Filtering by Region and Topic

get_factcheck_by_region filters fact-checks by geography using a region parameter (Europe, Afrique, Amerique-du-Nord, Moyen-Orient, Amerique-Latine, Asie-Pacifique) with optional page pagination. get_factcheck_by_topic filters by numeric topic_id covering categories such as Santé (146), Environnement (135), Science (143), Politique (134), and Conflits (141). Both endpoints return the standard article array.

Discovery and Category Endpoints

get_factcheck_trending_topics returns an array of topic objects with name and url, reflecting the featured tags currently shown on the AFP Factuel homepage. get_afp_content_categories retrieves AFP's corporate content product categories from the main site, returning name and url per category — useful for mapping AFP's multimedia and specialized content offerings.

Common use cases
  • Monitor breaking news in real time by polling get_homepage_news_ticker across multiple language editions
  • Build a misinformation research database by paginating get_factcheck_article_list_all and storing full article body blocks
  • Search AFP Factuel by keyword (e.g. 'vaccin', 'Ukraine') using search_factcheck_articles to surface relevant fact-checks
  • Filter fact-check articles by geographic region (e.g. Afrique, Asie-Pacifique) for region-specific media monitoring dashboards
  • Track health and science misinformation by querying get_factcheck_by_topic with topic IDs for Santé (146) and Science (143)
  • Aggregate trending fact-check topics via get_factcheck_trending_topics to identify currently contested narratives
  • Index AFP's content product categories from get_afp_content_categories for editorial partner directories
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does AFP have an official developer API?+
AFP operates AFP Connect, a commercial content licensing platform for media organizations, documented at https://www.afp.com/en/agency/afp-connect. It is not a self-serve public API and requires a commercial agreement. This Parse API provides structured access to publicly available AFP.com and AFP Factuel content without requiring an AFP Connect subscription.
What exactly does `get_factcheck_article` return, and how is the body structured?+
The endpoint takes a doc_id string (such as A9CW3NR) and returns title, date, authors, tags, and a body array. Each element in body has a type field that is either text or image. Text blocks carry a content field; image blocks carry a url field. This lets you reconstruct the article's reading order programmatically without parsing HTML.
Does the AFP Factuel coverage include languages other than French?+
The AFP Factuel endpoints (get_factcheck_homepage, search_factcheck_articles, get_factcheck_by_region, get_factcheck_by_topic, get_factcheck_article_list_all) are scoped to factuel.afp.com, which publishes primarily in French. The lang parameter is available only on get_homepage_news_ticker for the wire feed, not on the fact-check endpoints. You can fork this API on Parse and revise it to target AFP's fact-checking sites in other language editions.
Does the API return the full image assets embedded in a fact-check article?+
Image blocks in the body array include a url field pointing to the image, but the API does not return binary image data or additional metadata such as captions, credits, or alt text. You can fork this API on Parse and revise it to extract those additional image attributes if your use case requires them.
How fresh is the news ticker data returned by `get_homepage_news_ticker`?+
The ticker reflects dispatches displayed on the AFP homepage at the time of the request. Each item includes a timestamp field so you can detect new items between successive calls. There is no webhook or push mechanism; freshness depends on your polling frequency within the plan's rate limits.
Page content last updated . Spec covers 9 endpoints from afp.com.
Related APIs in News MediaSee all →
news.un.org API
Access UN News headlines, stories, and articles organized by topic and region across multiple languages. Search news content, retrieve in-depth reports, and subscribe to RSS feeds for updates on global events and UN initiatives.
toutiao.com API
Browse personalized news feeds, discover trending articles and hot topics, search content across categories, view detailed articles with comments, and explore author profiles on Toutiao. Access video feeds and stay updated with the latest news and trending stories all in one place.
ard.de API
Access breaking news, search articles, and browse the latest stories from Germany's leading public broadcasters ARD and Tagesschau, with filtering by region and topic. Retrieve full article details and discover media content from their digital archives.
afdb.org API
Access comprehensive information about African development initiatives, including country profiles, infrastructure projects, procurement opportunities, publications, and news from the African Development Bank. Search and retrieve detailed data on ongoing projects, tenders, and resources to track development activities across Africa.
nrk.no API
Access the latest news from Norway's leading broadcaster NRK.no, including front-page stories, category-specific articles, regional news, and breaking news updates through a unified search and browsing interface. Stay informed with full article content, RSS feeds, and real-time news ticker notifications across all major topics.
autonews.com API
Stay updated on the automotive industry with instant access to headlines, articles, and news across global regions (Europe, Canada, Asia), specific brands, and industry categories. Search for relevant automotive news, read detailed articles, and browse the latest stories from Automotive News all in one place.
qq.com API
Access the latest news, articles, stock indices, and sports schedules from QQ.com's homepage, and search across multiple news categories to stay informed on hot topics and evening reports. Get real-time data including homepage content, images, links, and live sports schedules all from one unified service.
occrp.org API
Search and discover investigative journalism from OCCRP.org, including articles, investigations, and projects organized by section and region. Get the latest news updates and detailed information about specific investigations to stay informed on organized crime and corruption reporting.