News
AP

AP News API

apnews.com

AP News — get latest wire articles, browse by section, read full articles with keywords, search by keyword, follow journalists, and access AP fact-check articles.

Actions
8
Category
News
Login
Not required
Output
JSON

Call the AP News API

Submit a task, then poll the job until it settles. This example runs ap_author.

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": "ap_author",
    "params": {
      "author": "<author>"
    }
  }'

8 actions on apnews.com

Read

  • Author Articles

    ap_authorread1 credit / call

    Returns AP News articles by a specific journalist.

    author
    string · required
    when
    string
    limit
    integer
  • Fact Checks

    ap_fact_checkread1 credit / call

    Returns AP News fact-check articles — verified claims and debunked misinformation.

    limit
    integer
  • Full Article

    ap_articleread1 credit / call

    Returns the full text, author, keywords, section, and image from an AP News article URL.

    url
    string · required
  • Latest Articles

    ap_latestread1 credit / call

    Returns the latest AP News articles with titles, publish dates, and keywords.

    limit
    integer
  • Monthly Archive

    ap_archiveread1 credit / call

    Returns AP News articles from any month since 2006. 16K+ articles per month. Use with ap_article for full text.

    month
    string · required
    limit
    integer
    offset
    integer
  • Search Articles

    ap_searchread1 credit / call

    Returns AP News articles matching a keyword search with optional time filtering.

    query
    string · required
    when
    string
    limit
    integer
  • Section News

    ap_sectionread1 credit / call

    Returns AP News articles by section — politics, business, technology, science, entertainment, sports, health, world-news, us-news, oddities.

    section
    string · required
    limit
    integer
  • Video Feed

    ap_videoread1 credit / call

    Returns AP News videos with title, description, thumbnail, stream URL, and duration.

    limit
    integer

AP News API questions

Is there an API for AP News?
AP News does not offer a public data API for this, but Anakin Wire provides 8 maintained endpoints for apnews.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 AP News 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 apnews.com changes its markup, Anakin updates the action.
Do I need a AP News account?
No. Every AP News action listed here runs anonymously — no account and no credentials required.
What does the AP News 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 APIs

All News sites