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
14d 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 →
arxiv.org API
Search and discover academic research papers on arXiv using keywords, authors, titles, categories, and dates, then access detailed metadata for any paper. Browse the complete arXiv category taxonomy to explore research across different scientific disciplines.
glastonburyfestivals.co.uk API
Discover historical and current Glastonbury Festival line-ups, find artist set times and stage locations, and search for specific performers across all festival years. Stay updated with the latest festival news and explore detailed information about festival areas and stages.
vg.no API
Access VG.no's latest news, articles, sports scores, and TV guides through a single interface where you can browse the front page, search articles by topic, view category-specific content, and find related stories. Get real-time sports scores and television schedules alongside comprehensive news coverage from Norway's leading news outlet.
maradminbot.com API
Search and retrieve official Marine Corps MARADMIN announcements from Marines.mil, filtering by year, status, and keyword to stay updated on the latest personnel and administrative directives. Get detailed information about specific announcements by number or browse the most recent updates to ensure you never miss critical Marine Corps guidance.
morningstar.com.au API
Access comprehensive financial data for Australian stocks, ETFs, and managed funds including key metrics, valuations, dividends, and historical prices. Search securities, review company profiles and ownership details, and stay informed with market news and upcoming dividend information.
allaboutcircuits.com API
Access educational electronics content from All About Circuits, including technical articles, circuit diagrams, textbook volumes, and forum discussions organized by category. Search and browse the latest resources, view detailed articles, explore engineering tools, and find answers across their community forums.
novelbin.me API
Search and browse novels by title, genre, or popularity, and explore trending, completed, or recently updated works. Access full novel details, chapter listings, chapter content, author information, related titles, and reader comments. Authenticated users can manage bookmarks with reading-status tracking and subscribe to novels for update notifications.
liquor.com API
Find and browse thousands of cocktail recipes with ratings and user reviews, search drinks by ingredient or category, and read curated articles about spirits and mixology. Get detailed recipe instructions, comments from other users, and expert content all in one place.