Playground Sign in Start free
Recipe News and finance

Associated Press scraper API: articles as JSON

Send any Associated Press page URL with recipe=apnews and get description, headline, image and 5 more fields as JSON. No selectors to write, no proxies to pick.

  • 1 page type
  • 8 fields
  • 5 credits a page · $0.50 per 1,000
  • Working · 96.9% in 7 days

5,000 free credits for 7 days, no card.

recipe=apnews
curl -G 'https://api.ujeebu.com/scrape' \
  -H "ApiKey: $UJEEBU_API_KEY" \
  --data-urlencode 'url=https://apnews.com/article/blondie-new-album-high-noon-a557083d63a0fae064705e1bb5efec6c' \
  --data-urlencode 'recipe=apnews'
200 OK · JSON
{
    "result": {
        "description": "Blondie is set to release a new album, “High...",
        "headline": "Blondie to return with new album 'High Noon'...",
        "modified": "2026-10-15T07:13:17Z",
        "published": "2026-10-15T07:13:17Z"
    },
    "success": true
}

What you get from Associated Press

The fields of each page type and a real sample from our last validation, shortened.

Articles recipe=apnews 5 credits a page

FieldTypeExample
article.descriptiontextBlondie is set to release a new album, “High Noon,” early next year...
article.headlinetextBlondie to return with new album 'High Noon' next year
article.imageURLhttps://dims.apnews.com/dims4/default/8d9d0df/2147483647/strip/fals...
article.modifieddate2026-10-15T07:13:17Z
article.publisheddate2026-10-15T07:13:17Z
article.publishertextAP News
article.sectiontextEntertainment
urlURLhttps://apnews.com/article/blondie-new-album-high-noon-a557083d63a0...

Sample answer, validated 2026-11-02

{
    "article": {
        "description": "Blondie is set to release a new album, “High Noon,” early next year, a decade after their last outing. The band dropped the first single, “Spectral Eyes,” on...",
        "headline": "Blondie to return with new album 'High Noon' next year",
        "image": "https://dims.apnews.com/dims4/default/8d9d0df/2147483647/strip/false/crop/3000x2000+0+0/resize/1200x800!/quality/90/?url=https%3A%2F%2Fassets.apnews.com%2F5b...",
        "modified": "2026-10-15T07:13:17Z",
        "published": "2026-10-15T07:13:17Z",
        "publisher": "AP News",
        "section": "Entertainment"
    },
    "url": "https://apnews.com/article/blondie-new-album-high-noon-a557083d63a0fae064705e1bb5efec6c"
}

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 Associated Press (JavaScript rendering).

curl -G 'https://api.ujeebu.com/scrape' \
  -H "ApiKey: $UJEEBU_API_KEY" \
  --data-urlencode 'url=https://apnews.com/article/blondie-new-album-high-noon-a557083d63a0fae064705e1bb5efec6c' \
  --data-urlencode 'recipe=apnews'

The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Your own parameters always win over the recipe.

What people build with Associated Press data

  • Media monitoring

    Track the articles published on the topics and companies you follow.

    Learn more
  • Content for AI and RAG

    Collect headlines, dates and summaries as structured input for search and LLM pipelines.

    Learn more
  • Publishing 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 typeCredits a pagePer 1,000, StarterPer 1,000, Pro
Article5$0.82$0.50

See all plans

FAQ

What does the Associated Press recipe return?

JSON with 8 fields from article (recipe=apnews), for example description, headline, image, modified, published. The answer is {"result": {...}} with the fields shown on this page.

How much does it cost to scrape Associated Press?

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 Associated Press: JavaScript rendering. Send only the URL and recipe=apnews.

What happens when Associated Press changes its pages?

We check Associated Press 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.

Get Associated Press data as JSON today.

5,000 free credits for 7 days. No card.