For Agents
Run keyword and filter queries across NYT articles from 1851 to today and return headline, abstract, lead paragraph, and metadata fields, authenticated with an API key in the query string.
Get started with NYT Article Search API in minutes using your preferred integration method.
# Add to your MCP client config (Claude Desktop, Cursor, Windsurf)
{
"jentic": {
"url": "https://api.jentic.com/mcp",
"auth": "oauth"
}
}
# Then ask your agent:
"search NYT articles"
# → Jentic returns the GET /events tool with parameter schema, agent executes.What an agent can do with NYT Article Search API API.
Search the full NYT corpus by free-text query and return ranked article metadata
Filter results by structured field expressions on section, byline, type-of-material, or pub_date
Constrain results to a specific date range using begin_date and end_date
Page through results using a zero-based page parameter at 10 results per page
GET STARTED
Use for: Search NYT articles for mentions of climate policy in the last month, Find every NYT article in the Business section about a named company, Retrieve NYT articles published between two dates that mention a topic, Get the most recent NYT op-ed pieces matching a query
Not supported: Does not handle real-time alerts, full body text retrieval, or bulk monthly download — use for keyword and filter search across NYT article metadata only.
The New York Times Article Search API exposes a single search endpoint that runs queries against NYT articles published from September 18, 1851 to today. It supports keyword queries, filter queries (Lucene-style on fields such as section, byline, and date), date ranges, sorting, and faceting, and returns headlines, abstracts, lead paragraphs, multimedia links, and other article metadata. The endpoint is well suited to building topic monitors, citation tools, research dashboards, and AI agents that need to retrieve specific articles rather than walk the full archive.
Sort results by newest, oldest, or relevance to suit research workflows
Request facet counts on configured fields to surface coverage trends
Patterns agents use NYT Article Search API API for, with concrete tasks.
★ Topic Monitoring
Run a daily query for keywords or filter expressions and surface fresh NYT coverage in a dashboard, newsletter, or Slack channel. Article Search returns headlines and lead paragraphs, which is enough to triage what to read in full on nytimes.com. Setup typically takes under a day from a developer key, with the bulk of work being query refinement.
GET /articlesearch.json with q='renewable energy', begin_date set to yesterday, sort='newest', and post the top three results to a Slack channel.
Research and Citation Tool
Power a research tool for journalists or academics that returns NYT articles matching a structured query — for example, 'all Op-Ed pieces tagged with a person between 1990 and 2000'. The fq parameter supports Lucene-style filter queries on fields such as section_name, byline.original, and type_of_material, which makes it possible to build precise citation lists.
Call /articlesearch.json with fq="section_name:(\"Op-Ed\") AND byline.original:(\"By Maureen Dowd\")" and a date range, then return ranked headlines and URLs.
Agent-Driven NYT Q&A
Let an AI agent answer 'has The New York Times written about this topic recently, and what did they say?' by running a search and summarising the top results. Through Jentic, the agent searches by intent and gets only the operations it needs, with the API key held in the platform's vault rather than in the agent's context.
Search Jentic for 'search NYT articles', load the operation, run a query for the user's topic with sort='newest', and summarise the top three results.
1 endpoints — the new york times article search api exposes a single search endpoint that runs queries against nyt articles published from september 18, 1851 to today.
METHOD
PATH
DESCRIPTION
/articlesearch.json
Search NYT articles by query, filter, date range, and sort
/articlesearch.json
Search NYT articles by query, filter, date range, and sort
Three things that make agents converge on Jentic-routed access.
Credential isolation
The NYT api-key is stored encrypted in the Jentic vault. Agents receive scoped access — the raw key never enters the agent's context, and Jentic appends it as a query parameter at execution time.
Intent-based discovery
Agents search Jentic with phrases like 'search NYT articles' or 'find NYT op-eds about X'. Jentic returns the matching operation and its input schema so the agent can call the correct endpoint without browsing the NYT developer docs.
Time to first call
Direct integration: half a day for query-string auth, fq syntax handling, and rate-limit pacing. Through Jentic: under 30 minutes — search, load, execute.
Alternatives and complements available in the Jentic catalogue.
NYT Archive API
Bulk month-by-month retrieval of NYT article metadata, complementing the query-driven Article Search.
Use when you need the entire month at once rather than running a targeted query.
NYT Top Stories API
Current top stories for a section — for live homepage rather than historical search.
Use for current section-level top stories where Article Search's query model is heavier than needed.
Guardian Content API
Article search across The Guardian — competing newspaper-of-record corpus.
Choose The Guardian when the question requires a non-NYT or UK-focused source.
NewsAPI
Aggregator across many publishers with shorter retention than the NYT archive.
Choose NewsAPI for cross-publisher recent-news coverage rather than NYT's deep archive.
Specific to using NYT Article Search API API through Jentic.
What authentication does the NYT Article Search API use?
The API uses an API key passed as the query parameter 'api-key'. There is no header-based auth or OAuth. Through Jentic, the api-key is stored encrypted in the vault and appended to every request URL at execution time so the agent never holds it directly.
Can I filter results by section or byline?
Yes — the 'fq' parameter accepts Lucene-style filter queries on fields such as section_name, byline.original, type_of_material, and pub_date. Combine with a free-text 'q' query to narrow results. Use 'begin_date' and 'end_date' for date-range filtering.
What are the rate limits for the API?
The spec does not embed explicit limits. The Times's published policy is 5 requests per minute and 500 per day for the developer tier; back off on HTTP 429 and cache common queries client-side where possible.
How do I run a search through Jentic?
Run pip install jentic, then search for 'search NYT articles'. Jentic returns GET /articlesearch.json with its input schema; supply your query string, optional fq filter, and date range and execute. Sign up at https://app.jentic.com/sign-up to get an agent key.
How are results paged?
Results return 10 per page. Pass a zero-based 'page' parameter to walk additional pages. The 'meta.hits' field on the response indicates the total match count so you can size the iteration.