The New York Times API
nytimes.com
The New York Times - article search, top stories by section, bodies, and newsletters.
- Actions
- 7
- Category
- News Media
- Login
- Not required
- Output
- JSON
Call the The New York Times API
Submit a task, then poll the job until it settles. This example runs act_nytimes_article_body_content.
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_nytimes_article_body_content",
"params": {
"storyline_uuid": "904e1303-f996-4084-a4e0-b92587305cdc"
}
}'7 actions on nytimes.com
Read
Article Body Content
act_nytimes_article_body_contentread2 credits / callReturns full article body text for a given article.
- storyline_uuid
- string · required
Homepage Story Packages
act_nytimes_homepage_top_stories_packagesread2 credits / callReturns curated homepage story packages with names and layout types.
- package_ids
- array · required
Homepage Top Stories
act_nytimes_homepage_top_stories_ssrread1 credit / callReturns homepage top stories with titles, URLs, summaries, and sections.
Newsletter Catalog
act_nytimes_newsletter_catalogread2 credits / callReturns the newsletter catalog with titles, descriptions, frequencies, and URLs.
- name
- string
Newsletters Page
act_nytimes_newsletters_page_ssrread1 credit / callReturns the newsletters page with metadata and subscription entry points.
Search Results
act_nytimes_search_results_ssrread2 credits / callReturns search results with titles, URLs, summaries, and authors for a query.
- search_query
- string · required
Section Top Stories
act_nytimes_section_top_stories_ssrread1 credit / callReturns top stories for a section with titles, URLs, summaries, and images.
- section_slug
- string · required
The New York Times API questions
- Is there an API for The New York Times?
- The New York Times does not offer a public data API for this, but Anakin Wire provides 7 maintained endpoints for nytimes.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 The New York Times 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 nytimes.com changes its markup, Anakin updates the action.
- Do I need a The New York Times account?
- No. Every The New York Times action listed here runs anonymously — no account and no credentials required.
- What does the The New York Times 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.
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.
AnandTech
Hardware reviews - benchmarks, articles, and community forums for PC components.