How to Get a Single Article by ID from the News API
Fetch one article or a batch of up to 100 known IDs
Written by Kent Hudson
June 26, 2026
Updated October 16, 2026
How to get a single article by ID
Call /v1/news/article with an article’s id to retrieve its content and details. The response uses the same article fields as a search, including the headline, body, source, entities, and sentiment.
curl "https://api.apitube.io/v1/news/article?id=1234567&api_key=YOUR_API_KEY"
Use an ID from a previous result. Send your key in api_key or the X-API-Key header.
How do I fetch several articles at once?
Pass up to 100 comma-separated IDs. Each matching article appears in results:
curl "https://api.apitube.io/v1/news/article?id=1234567,1234568,1234569&api_key=YOUR_API_KEY"
Only the first 100 IDs are used. Split larger lists into separate requests.
You can use GET with IDs in the URL or POST with a JSON body:
curl -X POST "https://api.apitube.io/v1/news/article" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "id": "1234567,1234568" }'
What does the article endpoint return?
The JSON response contains status, results, request_id, export links, and paging fields: limit, page, has_next_pages, next_page, has_previous_page, and previous_page.
results contains an article for each ID found. This endpoint does not have a next page, so has_next_pages is false:
{
"status": "ok",
"limit": 100,
"page": 1,
"has_next_pages": false,
"next_page": "",
"request_id": "b4c8e19f-2a6d-47c3-9e15-8f2b0d7a4c63",
"results": [
{
"id": 1234567,
"href": "https://example.com/some-story",
"title": "...",
"published_at": "2026-06-20T08:00:00.000Z",
"language": "en",
"body": "...",
"source": { "domain": "example.com" },
"sentiment": { "overall": { "polarity": "positive" } }
}
]
}
Article fields include id, href, published_at, title, description, body, body_html, language, author, image, categories, topics, industries, entities, and source.
Unknown IDs are omitted. For example, three requested IDs with one missing return two articles, without an unknown-ID error.
How to return only the fields you need
Use fl with comma-separated field paths to reduce the response size:
curl "https://api.apitube.io/v1/news/article?id=1234567&fl=id,title,href,published_at&api_key=YOUR_API_KEY"
How much does fetching an article by ID cost?
One call costs one credit when it returns at least one article, whether you requested one ID or 100. A call with no matching IDs costs nothing.
See how to count news articles without downloading them if you need a result count before fetching articles.
Common Questions
- Can I fetch more than 100 articles in one call?
- Why is the article body truncated?
- What errors can the article endpoint return?
- Where do I get the article ID?
Can I fetch more than 100 articles in one call?
No. Extra IDs after the first 100 are ignored. Send batches of up to 100 IDs each.
Why is the article body truncated?
Free plans and test keys, starting with api_test_, return body previews. Use a live key on a paid plan to get full body and body_html.
What errors can the article endpoint return?
Common errors are 400 ER0232 for a missing id, 401 ER0201/ER0202 for a missing or invalid key, and 402 ER0176 for no available credits. Keep request_id when asking support about a request.
Where do I get the article ID?
Read id from a search or retrieval result. See Searching & Filtering News for ways to find articles, then save the IDs you want to retrieve later.