Documentation
Sign up for free!
Get instant access to the API with your free API token. No billing details required!
Getting Started
Introduction
Our API was developed to provide global news from thousands of sources with exceptional response times. On average we add over 1 million articles weekly, so you will never be short of content. Even better, it is completely free!
To get started simply sign up and use your API token in any of the available API endpoints documented below for instant access.
If you have any questions or concerns, feel free to contact us.
Authentication
As mentioned above, when you sign up for free you will find your API token on your dashboard. Simply add this to any of our API endpoints as a GET parameter to gain access. Examples of how this is done can be found below.
API Endpoints
Headlines Available on: Standard plan and above
Endpoint
GET https://api.thenewsapi.com/v1/news/headlines HTTP/1.1
Use this endpoint to find get the latest headlines by category along with similar articles, allowing you to create the perfect news aggregation page similar to Google News .
If you have issues with your requests, please ensure your GET parameters are URL-encoded.
All text data returned is UTF-8.
All dates are in UTC (GMT).
HTTP GET Parameters
| name | required | description |
|---|---|---|
api_token |
true | Your API token which can be found on your account dashboard. |
locale |
false | Comma separated list of country codes to include in the result set. Default is all countries.
Click here for a list of supported countries.
Example: us,ca (US + Canada).
|
domains |
false | Comma separated list of domains to include. List of domains can be obtained through our Sources endpoint, found further down this page. |
exclude_domains |
false | Comma separated list of domains to exclude |
source_ids |
false | Comma separated list of source_ids to include. List of source_ids can be obtained through our Sources endpoint, found further down this page. |
exclude_source_ids |
false | Comma separated list of source_ids to exclude. |
language |
false | Comma separated list of languages to include. Default is all.
Click here for a list of supported languages. Examples: en,es (English + Spanish)
|
published_on |
false | Find headlines for articles published on the specified date. Supported formats include: Y-m-d.
Examples: 2026-11-09
|
headlines_per_category |
false | Specify the number of articles you want to return per category. The maximum is 10 and the default is 6. |
include_similar |
false | Specify if you wish to include similar articles with each base article. Default is true. |
Response Objects
| name | description |
|---|---|
data > uuid |
The unique identifier for an article in our system. Store this and use it to find specific articles using our single article endpoint. |
data > title |
The article title. |
data > description |
The article meta description. |
data > keywords |
The article meta keywords. |
data > snippet |
The first 60 characters of the article body. |
data > url |
The URL to the article. |
data > image_url |
The URL to the article image. |
data > language |
The language of the source. |
data > published_at |
The datetime the article was published. |
data > source |
The domain of the source. |
data > categories |
Array of strings which the source is categorized as. |
data > locale |
Locale of the source. |
data > similar |
An array of similar articles to the base article. |
If no results are found, the data object will be empty.
Example Request
GET https://api.thenewsapi.com/v1/news/headlines?locale=us&language=en&api_token=YOUR_API_TOKEN
Example Response
{
"data": {
"general": [
{
"uuid": "23918142-9ac0-4a56-bb37-b79a4ae2bbf6",
"title": "Russell Brand Sentenced to 10.5 Years in Prison After Rape Conviction",
"description": "Russell Brand has been handed a prison sentence of over a decade after being convicted of one count of rape and three counts of sexual assault in London.",
"keywords": "",
"snippet": "Watch : Russell Brand Found Guilty of Rape, 3 Counts of Sexual Assault\n\nRussell Brand is heading to prison.\n\nJust days after the 51-year-old was convicted of on...",
"url": "https://www.eonline.com/news/1437898/russell-brand-sentenced-to-10-5-years-in-prison-for-rape-sexual-assault?cmpid=rss-syndicate-genericrss-us-top_stories",
"image_url": "https://akns-images.eonline.com/eol_images/Entire_Site/20261105/ac77a664-479f-4506-801c-0b240e98ce09_1793893347.jpg?fit=around%7C1200:1200&output-quality=90&crop=1200:1200;center,top",
"language": "en",
"published_at": "2026-11-09T14:35:00.000000Z",
"source": "eonline.com",
"categories": [
"entertainment",
"general"
],
"locale": "us",
"similar": [
{
"uuid": "4385bdd9-a0ec-493d-9f24-1350dcc0a464",
"title": "Russell Brand sentenced to 10 years, 6 months in prison for rape and sexual assault",
"description": "Disgraced British television personality and Hollywood actor Russell Brand has been sentenced to prison for raping a woman in 2009 and sexually assaulting three others.",
"keywords": "Rape, Sexual Assault, Russell Brand",
"snippet": "Disgraced actor Russell Brand was sentenced Monday to 10 and a half years in prison for raping a woman in 2009 and sexually assaulting three others.\n\nThe disgra...",
"url": "https://www.cbsnews.com/news/russell-brand-sentenced-prison-rape-sexual-assault/",
"image_url": "https://assets1.cbsnewsstatic.com/hub/i/r/2026/11/09/1058298b-4c6d-4224-abdc-f85f5b9b574a/thumbnail/1200x630/81d77130b77c2e04ea38825a0f822828/gettyimages-2303025310.jpg",
"language": "en",
"published_at": "2026-11-09T14:55:18.000000Z",
"source": "cbsnews.com",
"categories": [
"general",
"politics"
],
"locale": "us"
},
{
"uuid": "0824bcb2-476d-4fb2-b032-9af10355bf68",
"title": "Russell Brand Sentenced to 10 Years in Prison After Being Found Guilty of Rape and Sexual Assault",
"description": "Russell Brand officially received his prison sentence after a jury found him guilty of rape and sexual assault",
"keywords": "",
"snippet": "Russell Brand received a lengthy prison sentence after being found guilty of rape and sexual assault.\n\nBrand, 51, returned to court in London for his sentencing...",
"url": "https://www.usmagazine.com/celebrity-news/news/russell-brand-sentenced-to-10-years-in-prison-in-rape-case/",
"image_url": "https://www.usmagazine.com/wp-content/uploads/2026/11/GettyImages-861354776.jpg?crop=0px%2C286px%2C2746px%2C1441px&resize=1200%2C630&quality=74&strip=all",
"language": "en",
"published_at": "2026-11-09T14:43:18.000000Z",
"source": "usmagazine.com",
"categories": [
"entertainment",
"general"
],
"locale": "us"
},
{
"uuid": "54cd2c0f-8a38-45da-9e09-b7842ac4b442",
"title": "Russell Brand Jailed for 10 Years and 6 Months for Rape and Sexual Assault",
"description": "Russell Brand was jailed for 10 years and six months Monday after being found guilty of rape and three counts of sexual assault at Southwark Crown Court in London.",
"keywords": "",
"snippet": "Russell Brand was jailed for 10 years and six months Monday after being found guilty of rape and three counts of sexual assault at Southwark Crown Court in Lond...",
"url": "https://www.breitbart.com/entertainment/2026/11/09/russell-brand-jailed-for-10-years-and-6-months-for-rape-and-sexual-assault/",
"image_url": "https://media.breitbart.com/media/2026/11/russell-brand-is-sentenced-640x335.jpg",
"language": "en",
"published_at": "2026-11-09T14:32:29.000000Z",
"source": "breitbart.com",
"categories": [
"general",
"politics"
],
"locale": "us"
},
{
"uuid": "a0ff8b3f-5757-431b-bc42-42e44f51b18f",
"title": "Russell Brand sentenced after rape, sexual assault convictions in UK",
"description": "Russell Brand was sentenced Monday in a U.K. court after being convicted of one count of rape and three counts of sexual assault.",
"keywords": "entertainment, scandal, in court",
"snippet": "NEW You can now listen to Fox News articles!\n\nRussell Brand has been sentenced to 10 years and six months in prison for rape and sexual assault.\n\nDuring sentenc...",
"url": "https://www.foxnews.com/entertainment/russell-brand-sentenced-after-rape-sexual-assault-convictions-uk",
"image_url": "https://static.foxnews.com/foxnews.com/content/uploads/2026/11/russell-brand-10.jpg",
"language": "en",
"published_at": "2026-11-09T14:29:17.000000Z",
"source": "foxnews.com",
"categories": [
"general",
"politics"
],
"locale": "us"
},
{
"uuid": "08697036-8b42-4e2a-b589-0b15d27a05dd",
"title": "Russell Brand is sentenced to 10 years and six month for rape and sexual assault",
"description": "Actor Russell Brand has been sentenced to 10 years and six months in a British prison for rape and sexual assault. Brand's victims told the court that they are still living with daily trauma because of what happened to them. NBC News' Danny Cevallos explains how Brand's sentence was determined.",
"keywords": "",
"snippet": "Actor Russell Brand has been sentenced to 10 years and six months in a British prison for rape and sexual assault. Brand's victims told the court that they are ...",
"url": "https://www.nbcnews.com/video/russell-brand-is-sentenced-to-10-years-and-six-month-for-rape-and-sexual-assault-273134149781",
"image_url": "https://media-cldnry.s-nbcnews.com/image/upload/t_nbcnews-fp-1200-630,f_auto,q_auto:best/mpx/2704722219/2026_11/1794239046113_now_current_brand_sentencing_261109_S3_1920x1080-gg169n.jpg",
"language": "en",
"published_at": "2026-11-09T15:40:36.000000Z",
"source": "nbcnews.com",
"categories": [
"general",
"politics"
],
"locale": "us"
}
]
},
{
"uuid": "6bb85ae5-99d4-4fe4-8cc4-ad0497c8de9d",
"title": "Nvidia live updates: Nvidia stock falls 5% as board investigates CEO's affair with alleged Chinese spy",
"description": "Follow along for live updates and reactions regarding the revelation that Nvidia CEO Jensen Huang had a romantic relationship, reportedly with a woman believed to be a Chinese spy.",
"keywords": "401k, Business, Financial Information, Investing, Investor, Market News, Stock Research, Stock Valuation, business news, economy, finance, investment tools, mortgage, mutual funds, personal finance, quote, real estate, retirement, stock, stocks, Suze Orman, tax, track portfolio",
"snippet": "Nvidia (NVDA) stock faced growing pressure on Monday morning after the chipmaker's board launched an investigation into CEO Jensen Huang's extramarital affair, ...",
"url": "https://finance.yahoo.com/technology/live/nvidia-scandal-live-updates-nvidia-stock--board-investigates-ceo-jensen-huang-affair-alleged-chinese-spy-163130372.html",
"image_url": "https://s.yimg.com/lo/mysterio/api/a34d3f7bf62c173409e6bef4a7334414ee5eaf9f1f7c382cb8736a5d88ae08c6/lightyear_networkapi/resizefill_w1200%3Bquality_80%3Bformat_webp/https%3A%2F%2Fd29szjachogqwa.cloudfront.net%2Fimages%2Fuser-uploaded%2F0cd53bcc-959a-4d7b-8b1a-960fd4d9c2dd_ac3cb57621238ab5dd60f852e9b1771c203641f343dd80dd113fe96d74716bc2.jpg",
"language": "en",
"published_at": "2026-11-09T17:01:06.000000Z",
"source": "yahoo.com",
"categories": [
"general",
"business",
"sports",
"entertainment"
],
"locale": "us",
"similar": [
{
"uuid": "ea8025f1-4fdc-43d7-a6ad-4bcc92f2c7ca",
"title": "Nvidia stock falls 5% as scrutiny turns to Jensen Huang’s relationship with alleged Chinese spy",
"description": "Nvidia said its board has launched an independent investigation following the reports that Huang was the target of a \"foreign intelligence effort.\"",
"keywords": "Breaking News: Technology, NVIDIA Corp, Jen-Hsun Huang, Direxion Daily Semiconductor Bear 3X Shares, iShares Semiconductor ETF, Invesco QQQ Trust, business news",
"snippet": "Nvidia shares were down around 5% in premarket trading Monday after the tech giant was rocked by an investigation into CEO Jensen Huang's relationship with a bu...",
"url": "https://www.cnbc.com/2026/11/09/nvidia-jensen-huang-chinese-spy-investigation.html",
"image_url": "https://image.cnbcfm.com/api/v1/image/108447194-1792682505441-108447194-1792682412759-gettyimages-2301328017-2s4a6117_3tcndrih.jpg?v=1792682514&w=1920&h=1080",
"language": "en",
"published_at": "2026-11-09T09:14:40.000000Z",
"source": "cnbc.com",
"categories": [
"general",
"business"
],
"locale": "us"
},
{
"uuid": "33392504-2c91-4bde-bb17-8b8f7f1c97d5",
"title": "Trump defends ‘honorable’ Nvidia boss after explosive affair with Chinese ‘spy’ revealed",
"description": "President Trump defended Nvidia CEO Jensen Huang as an “honorable guy” after his multi-trillion-dollar AI company began investigating his relationship with a suspected Chinese spy.",
"keywords": "Politics, US News, Business, donald trump, jensen huang, nvidia",
"snippet": "President Trump defended Nvidia CEO Jensen Huang as an “honorable guy” after his multi-trillion-dollar AI company began investigating his relationship with ...",
"url": "https://nypost.com/2026/11/09/us-news/trump-defends-honorable-nvidia-boss-after-explosive-affair-with-chinese-spy-revealed/",
"image_url": "https://nypost.com/wp-content/uploads/sites/2/2026/11/NVIDIA.jpg?quality=75&strip=all&w=1200",
"language": "en",
"published_at": "2026-11-09T11:58:10.000000Z",
"source": "nypost.com",
"categories": [
"general"
],
"locale": "us"
},
{
"uuid": "22cdf30f-2522-411f-883f-3e779f4e3aa3",
"title": "Nvidia Announces Investigation Into CEO Over Ties to Chinese Spy",
"description": "AI powerhouse Nvidia is investigating its CEO and co-founder Jensen Huang after he admitted to having an affair with a woman U.S. intelligence officials are calling a Chinese spy. President Donald Trump defended Huang, who is a close ally and advisor to the president, calling him a",
"keywords": "",
"snippet": "\n\nCopied\n\nAI powerhouse Nvidia is investigating its CEO and co-founder Jensen Huang after he admitted to having an affair with a woman U.S. intelligence officia...",
"url": "https://www.today.com/video/nvidia-ceo-had-affair-with-chinese-spy-intelligence-officials-say-273120325951",
"image_url": "https://media-cldnry.s-nbcnews.com/image/upload/t_social_share_1200x630_center,f_auto,q_auto:best/mpx/2704722219/2026_11/1794226634177_tdy_news_7a_cheung_nvidia_affair_261109_S3_1920x1080-pkfvhy.jpg",
"language": "en",
"published_at": "2026-11-09T12:17:20.000000Z",
"source": "nbcnews.com",
"categories": [
"politics",
"general"
],
"locale": "us"
},
{
"uuid": "25bfecca-12b3-45bc-9095-1787a2d3b3a6",
"title": "Nvidia Boss Jensen Huang Admits Affair with Suspected Chinese Spy, Board Launches Investigation",
"description": "Nvidia CEO Jensen Huang has admitted in a message to company employees that he had an affair with a woman U.S. intelligence believes is a Chinese spy, prompting the company's board to open an independent investigation on Sunday.",
"keywords": "",
"snippet": "Nvidia CEO Jensen Huang has admitted in a message to company employees that he had an affair with a woman U.S. intelligence believes is a Chinese spy, prompting...",
"url": "https://www.breitbart.com/tech/2026/11/09/nvidia-boss-jensen-huang-admits-affair-with-suspected-chinese-spy-board-launches-investigation/",
"image_url": "https://media.breitbart.com/media/2026/11/Jensen-Huang-got-caught-with-a-Chinese-spy-mistress-640x335.jpg",
"language": "en",
"published_at": "2026-11-09T13:26:10.000000Z",
"source": "breitbart.com",
"categories": [
"general",
"politics"
],
"locale": "us"
},
{
"uuid": "3c19df9a-4003-4907-8e4f-1ea74603e7b4",
"title": "Nvidia stock falls after company opens probe into CEO’s relationship with Chinese spy",
"description": "Nvidia’s stock slid after the company announced that it had opened an investigation into CEO Jensen Huang’s relationship with an alleged Chinese spy.",
"keywords": "",
"snippet": "Nvidia’s stock slid about 4% on Monday after the company announced that it had opened an investigation into CEO Jensen Huang’s relationship with a woman tha...",
"url": "https://www.nbcnews.com/business/markets/nvidia-stock-falls-probe-ceos-relationship-chinese-spy-rcna608290",
"image_url": "https://media-cldnry.s-nbcnews.com/image/upload/t_nbcnews-fp-1200-630,f_auto,q_auto:best/rockcms/2026-11/261109-jensen-huang-nvidia-vl-923a-f988ac.jpg",
"language": "en",
"published_at": "2026-11-09T15:56:50.000000Z",
"source": "nbcnews.com",
"categories": [
"business",
"general",
"tech"
],
"locale": "us"
}
]
}
],
"business": ...,
"sports": ...,
"tech": ...,
"science": ...,
"health": ...
}
}
Top Stories Available on: All plans
Endpoint
GET https://api.thenewsapi.com/v1/news/top HTTP/1.1
Use this endpoint to find live and historical top stories around the world or filter to get only top stories for specific countries. Filtering by language, category, source and publish date is also possible, as well as advanced searching on title and the main text of the article.
If you have issues with your requests, please ensure your GET parameters are URL-encoded.
All text data returned is UTF-8.
All dates are in UTC (GMT).
HTTP GET Parameters
| name | required | description |
|---|---|---|
api_token |
true | Your API token which can be found on your account dashboard. |
search |
false | Use the search as a basic search tool by entering regular search terms or it has more advanced usage to build search queries:+ signifies AND operation| signifies OR operation- negates a single token" wraps a number of tokens to signify a phrase for searching* at the end of a term signifies a prefix query( and ) signify precedence
To use one of these characters literally, escape it with a preceding backslash ( \).
Example 1: forex + (usd | gbp) -cad (searches for forex articles which include usd or gbp but excludes cad)Example 2: "Apple Inc" (searches for articles with exact matches for "Apple Inc")
For more advanced query examples, see our API Examples section. When using special characters (+, -, |, ", *, ()) you MUST URL-encode this parameter. |
search_fields |
false | Comma separated list of fields to apply the search parameter to.
Supported fields: title | description | keywords | main_text
Example: title,description,keywordsDefault: title,main_text
|
locale |
false | Comma separated list of country codes to include in the result set. Default is all countries.
Click here for a list of supported countries.
Example: us,ca (US + Canada).
|
categories |
false | Comma separated list of categories to include.
Supported categories: general | science | sports | business | health | entertainment | tech | politics | food | travel Example: business,tech
|
exclude_categories |
false | Comma separated list of categories to exclude. |
domains |
false | Comma separated list of domains to include. List of domains can be obtained through our Sources endpoint, found further down this page. |
exclude_domains |
false | Comma separated list of domains to exclude |
source_ids |
false | Comma separated list of source_ids to include. List of source_ids can be obtained through our Sources endpoint, found further down this page. |
exclude_source_ids |
false | Comma separated list of source_ids to exclude. |
language |
false | Comma separated list of languages to include. Default is all.
Click here for a list of supported languages. Examples: en,es (English + Spanish)
|
published_before |
false | Find all articles published before the specified date. Supported formats include:
Y-m-d\TH:i:s | Y-m-d\TH:i | Y-m-d\TH | Y-m-d | Y-m | Y.
Examples: 2026-11-09T18:07:19 |
2026-11-09T18:07 |
2026-11-09T18 |
2026-11-09 |
2026-11 |
2026
|
published_after |
false | Find all articles published after the specified date. Supported formats include:
Y-m-d\TH:i:s | Y-m-d\TH:i | Y-m-d\TH | Y-m-d | Y-m | Y.
Examples: 2026-11-09T18:07:19 |
2026-11-09T18:07 |
2026-11-09T18 |
2026-11-09 |
2026-11 |
2026
|
published_on |
false | Find all articles published on the specified date. Supported formats include: Y-m-d.
Examples: 2026-11-09
|
sort |
false | Sort by published_on or relevance_score (only available when used in conjunction with search).
Default is published_at unless search is used and sorting by published_at is not included,
in which case relevance_score is used. |
limit |
false | Specify the number of articles you want to return in the request. The maximum limit is based on your plan. The default limit is the maximum specified for your plan. |
page |
false | Use this to paginate through the result set. Default is 1. Note that the max result set can't exceed 20,000. For example if your limit is 50, the max page you can have is 400 (50 * 400 = 20,000).
Example: page=2
|
Response Objects
| name | description |
|---|---|
meta > found |
The number of articles found for the request. |
meta > returned |
The number of articles returned on the page.
This is useful to determine the end of the result set as if this is lower than limit, there are no more articles after this page. |
meta > limit |
The limit based on the limit parameter. |
meta > page |
The page number based on the page parameter. |
data > uuid |
The unique identifier for an article in our system. Store this and use it to find specific articles using our single article endpoint. |
data > title |
The article title. |
data > description |
The article meta description. |
data > keywords |
The article meta keywords. |
data > snippet |
The first 60 characters of the article body. |
data > url |
The URL to the article. |
data > image_url |
The URL to the article image. |
data > language |
The language of the source. |
data > published_at |
The datetime the article was published. |
data > source |
The domain of the source. |
data > categories |
Array of strings which the source is categorized as. |
data > relevance_score |
Relevance score based on the search parameter. If the search parameter is not used, this will be null. |
data > locale |
Locale of the source. |
If no results are found, the data object will be empty.
Example Request
GET https://api.thenewsapi.com/v1/news/top?api_token=YOUR_API_TOKEN&locale=us&limit=3
Example Response
{
"meta": {
"found": 1735601,
"returned": 10,
"limit": 10,
"page": 1
},
"data": [
{
"uuid": "1b94b551-349f-49b0-bbbb-3e8b585c0e3a",
"title": "The future of AI hinges on… Jensen Huang’s sex life?",
"description": "NVIDIOT.",
"keywords": "",
"snippet": "is a reporter who writes about tech, money, and human behavior. She joined The Verge in 2014 as science editor. Previously, she was a reporter at Bloomberg.\n\nI ...",
"url": "https://www.theverge.com/ai-artificial-intelligence/1029990/jensen-huang-the-spy-who-loved-me",
"image_url": "https://platform.theverge.com/wp-content/uploads/sites/2/2026/08/STKP210_JENSEN_HUANG_D.jpg?quality=90&strip=all&crop=0%2C10.732984293194%2C100%2C78.534031413613&w=1200",
"language": "en",
"published_at": "2026-11-09T17:58:01.000000Z",
"source": "theverge.com",
"categories": [
"tech"
],
"relevance_score": null,
"locale": "us"
},
{
"uuid": "e69ea301-c69a-4c1a-92a5-25935f68dffe",
"title": "James Gunn is out as DC movie leader",
"description": "After taking the helm of DC Studios as co-CEOs in 2022, James Gunn and Peter Safran are being replaced by former Marvel SVP of Production and Development Jeremy...",
"keywords": "",
"snippet": "is a senior reporter covering technology, gaming, and more. He joined The Verge in 2019 after nearly two years at Techmeme.\n\nPosts from this author will be adde...",
"url": "https://www.theverge.com/entertainment/1030022/james-gunn-peter-safran-dc-studios-out-leaving",
"image_url": "https://platform.theverge.com/wp-content/uploads/sites/2/2026/11/gettyimages-2299570592.jpg?quality=90&strip=all&crop=0%2C10.751589844346%2C100%2C78.496820311308&w=1200",
"language": "en",
"published_at": "2026-11-09T17:58:01.000000Z",
"source": "theverge.com",
"categories": [
"tech"
],
"relevance_score": null,
"locale": "us"
},
{
"uuid": "bb165f52-92be-4a6c-8bdb-1c6542dfa4f8",
"title": "Boeing to cut 5% of commercial airplane workforce as production increase is slower than expected",
"description": "Boeing said Monday that it plans to cut 5% of its commercial airplane workforce as its production ramp-up is moving at a slower pace than the company expected.",
"keywords": "Breaking News: Business, Boeing Co, iShares U.S. Aerospace & Defense ETF, business news",
"snippet": "Boeing Co. 737 Max airplanes at the company's manufacturing facility in Renton, Washington, US, on Wednesday, April 15, 2026.\n\nBoeing said Monday that it plans ...",
"url": "https://www.cnbc.com/2026/11/09/boeing-layoffs-commercial-airplane.html",
"image_url": "https://image.cnbcfm.com/api/v1/image/108469569-1793115881380-gettyimages-2271074696-BOEING_FACTORY.jpeg?v=1793115913&w=1920&h=1080",
"language": "en",
"published_at": "2026-11-09T17:57:58.000000Z",
"source": "cnbc.com",
"categories": [
"general",
"business"
],
"relevance_score": null,
"locale": "us"
},
{
"uuid": "082d661e-87c9-44a7-a96e-5e00a8241d60",
"title": "Abby Livingston Joins MS NOW As Political Reporter",
"description": "Livingston previously worked at Puck and Texas Tribune.",
"keywords": "",
"snippet": "MS NOW is adding to its ranks, with Abby Livingston joining the network as political reporter.\n\nLivingston most recently was at Puck, and previously spent more ...",
"url": "https://deadline.com/2026/11/abby-livingston-ms-now-politics-1237217422/",
"image_url": "https://deadline.com/wp-content/uploads/2025/08/MS_NOW_LogoTag08-18.png?w=1024",
"language": "en",
"published_at": "2026-11-09T17:51:52.000000Z",
"source": "deadline.com",
"categories": [
"entertainment"
],
"relevance_score": null,
"locale": "us"
},
{
"uuid": "e0ac28c7-195f-46f4-8700-12d33954a16a",
"title": "Bobby Moynihan, Aristotle Athari & Taran Killam Set On Display Podcast",
"description": "'SNL' alums Bobby Moynihan, Aristotle Athari & Taran Killam are teaming for 'On Display,' a new podcast where they discuss their collecting fandoms.",
"keywords": "",
"snippet": "EXCLUSIVE: Today, Saturday Night Live alumni Bobby Moynihan, Aristotle Athari and Taran Killam launched On Display, a new podcast birthed out of their shared pa...",
"url": "https://deadline.com/2026/11/bobby-moynihan-aristotle-athari-taran-killam-on-display-podcast-1237216844/",
"image_url": "https://deadline.com/wp-content/uploads/2026/11/World-Premiere-of-Disney-and-Pixars-Hoppers-HBOs-KATE-BERLANT-PARMESAN-Premiere-Screening-Reception-1000.jpg?w=1000",
"language": "en",
"published_at": "2026-11-09T17:47:47.000000Z",
"source": "deadline.com",
"categories": [
"entertainment"
],
"relevance_score": null,
"locale": "us"
},
{
"uuid": "ffa06fad-5527-4847-97a0-f17293b07f0f",
"title": "Stassi Schroeder Reveals Most Hurtful House of Stassi Criticism",
"description": "Stassi Schroeder revealed what 'House of Stassi' criticism hurt her the most when the hit Hulu series came out",
"keywords": "",
"snippet": "Stassi Schroeder revealed what House of Stassi criticism hurt her the most.\n\n“There were some things that I saw when the show aired,” Schroeder, 38, told Us...",
"url": "https://www.usmagazine.com/entertainment/news/stassi-schroeder-reveals-most-hurtful-house-of-stassi-criticism/",
"image_url": "https://www.usmagazine.com/wp-content/uploads/2026/07/GettyImages-2272665741.jpg?crop=0px%2C112px%2C2606px%2C1370px&resize=1200%2C630&quality=55&strip=all",
"language": "en",
"published_at": "2026-11-09T17:43:47.000000Z",
"source": "usmagazine.com",
"categories": [
"entertainment",
"general"
],
"relevance_score": null,
"locale": "us"
},
{
"uuid": "bbb7776c-f51c-4922-aee1-117b98402326",
"title": "Russell Brand’s Dad Claims His Son Is a Victim, Slams Jury After Actor’s Sentencing for Rape Case",
"description": "Russell Brand’s father, Ron Brand, is speaking out about his son’s lengthy prison sentence and questioning the justice system",
"keywords": "",
"snippet": "Russell Brand’s father, Ron Brand, is speaking out about his son’s lengthy prison sentence.\n\nShortly after a judge ruled that Russell, 51, would serve 10 ye...",
"url": "https://www.usmagazine.com/celebrity-news/news/russell-brands-dad-says-his-son-is-a-victim-after-sentencing/",
"image_url": "https://www.usmagazine.com/wp-content/uploads/2026/11/GettyImages-2302500696-russell-brand.jpg?crop=0px%2C23px%2C1795px%2C943px&resize=1200%2C630&quality=86&strip=all",
"language": "en",
"published_at": "2026-11-09T17:39:25.000000Z",
"source": "usmagazine.com",
"categories": [
"entertainment",
"general"
],
"relevance_score": null,
"locale": "us"
},
{
"uuid": "40be5c57-f55c-4b82-8cfd-c0b3fdc33ad6",
"title": "‘Love Island’ UK Host Maya Jama Strikes Netflix Deal",
"description": "Maya Jama is teaming up with Netflix for the next chapter of her career after leaving 'Love Island.'",
"keywords": "",
"snippet": "Maya Jama is teaming up with Netflix for the next chapter of her career.\n\nJama revealed on Sunday that she was quitting as the host of Love Island in the UK aft...",
"url": "https://deadline.com/2026/11/love-island-uk-maya-jama-netflix-deal-1237217399/",
"image_url": "https://deadline.com/wp-content/uploads/2025/06/maya-jama-love-island-uk-hulu.jpg?w=1024",
"language": "en",
"published_at": "2026-11-09T17:33:34.000000Z",
"source": "deadline.com",
"categories": [
"entertainment"
],
"relevance_score": null,
"locale": "us"
},
{
"uuid": "97ed7679-678d-4604-bfae-8744a60c4105",
"title": "We're adding a consumer stock to diversify beyond the volatile AI trade",
"description": "We wanted to add a less cyclical company with a cheap valuation and that consistently returns capital to its shareholders.",
"keywords": "Breaking News: Markets, Markets, Investment strategy, Constellation Brands Inc, Canopy Growth Corp, iShares MSCI Mexico ETF, SPDR S&P 500 ETF Trust, Jim Cramer, business news",
"snippet": "We're initiating a position in Constellation Brands , buying 270 shares at roughly $145 each. Following Monday's trade, Jim Cramer's Charitable Trust will own r...",
"url": "https://www.cnbc.com/investingclub/2026/11/09/were-starting-a-position-to-diversify-beyond-the-volatile-ai-trade.html",
"image_url": "https://image.cnbcfm.com/api/v1/image/108521823-17938340272026-11-04t221246z_711322182_rc28hoakh04y_rtrmadp_0_usa-stocks.jpeg?v=1793834118&w=1920&h=1080",
"language": "en",
"published_at": "2026-11-09T17:31:46.000000Z",
"source": "cnbc.com",
"categories": [
"general",
"business"
],
"relevance_score": null,
"locale": "us"
},
{
"uuid": "e31a34fe-71be-4851-a5eb-8fa6c922a4e2",
"title": "Why JWoww Is \"Holding on for Dear Life\" With 12-Year-Old Daughter Meilani",
"description": "Jenni \"JWoww\" Farley reflected on navigating motherhood with her tween daughter Meilani during an exclusive E! News interview at the Netflix Steps premiere: \"I ...",
"keywords": "",
"snippet": "Watch : Jersey Shore’s Jenni “JWoww” Farley Shares Photos From Her “Perfect” Wedding With Zack Carpinello\n\nJenni \"JWoww\" Farley's life tends to get cr...",
"url": "https://www.eonline.com/news/1437951/why-jwoww-is-holding-on-for-dear-life-with-daughter-meilani?cmpid=rss-syndicate-genericrss-us-top_stories",
"image_url": "https://akns-images.eonline.com/eol_images/Entire_Site/20261109/cce625f9-c626-4883-bd49-c530f1c9e882_1794244893.jpg?fit=around%7C1200:1200&output-quality=90&crop=1200:1200;center,top",
"language": "en",
"published_at": "2026-11-09T17:29:57.000000Z",
"source": "eonline.com",
"categories": [
"entertainment",
"general"
],
"relevance_score": null,
"locale": "us"
}
]
}
All News Available on: All plans
Endpoint
GET https://api.thenewsapi.com/v1/news/all HTTP/1.1
Use this endpoint to find all live and historical articles we collect. Filtering by language, category, source and publish date is also possible, as well as advanced searching on title and the main text of the article.
If you have issues with your requests, please ensure your GET parameters are URL-encoded.
All text data returned is UTF-8.
All dates are in UTC (GMT).
HTTP GET Parameters
| name | required | description |
|---|---|---|
api_token |
true | Your API token which can be found on your account dashboard. |
search |
false | Use the search as a basic search tool by entering regular search terms or it has more advanced usage to build search queries:+ signifies AND operation| signifies OR operation- negates a single token" wraps a number of tokens to signify a phrase for searching* at the end of a term signifies a prefix query( and ) signify precedence
To use one of these characters literally, escape it with a preceding backslash ( \).
Example 1: forex + (usd | gbp) -cad (searches for forex articles which include usd or gbp but excludes cad)Example 2: "Apple Inc" (searches for articles with exact matches for "Apple Inc")
For more advanced query examples, see our API Examples section. When using special characters (+, -, |, ", *, ()) you MUST URL-encode this parameter. |
search_fields |
false | Comma separated list of fields to apply the search parameter to.
Supported fields: title | description | keywords | main_text
Example: title,description,keywordsDefault: title,main_text
|
categories |
false | Comma separated list of categories to include.
Supported categories: general | science | sports | business | health | entertainment | tech | politics | food | travel Example: business,tech
|
exclude_categories |
false | Comma separated list of categories to exclude. |
domains |
false | Comma separated list of domains to include. List of domains can be obtained through our Sources endpoint, found further down this page. |
exclude_domains |
false | Comma separated list of domains to exclude |
source_ids |
false | Comma separated list of source_ids to include. List of source_ids can be obtained through our Sources endpoint, found further down this page. |
exclude_source_ids |
false | Comma separated list of source_ids to exclude. |
language |
false | Comma separated list of languages to include. Default is all.
Click here for a list of supported languages. Examples: en,es (English + Spanish)
|
published_before |
false | Find all articles published before the specified date. Supported formats include:
Y-m-d\TH:i:s | Y-m-d\TH:i | Y-m-d\TH | Y-m-d | Y-m | Y.
Examples: 2026-11-09T18:07:19 |
2026-11-09T18:07 |
2026-11-09T18 |
2026-11-09 |
2026-11 |
2026
|
published_after |
false | Find all articles published after the specified date. Supported formats include:
Y-m-d\TH:i:s | Y-m-d\TH:i | Y-m-d\TH | Y-m-d | Y-m | Y.
Examples: 2026-11-09T18:07:19 |
2026-11-09T18:07 |
2026-11-09T18 |
2026-11-09 |
2026-11 |
2026
|
published_on |
false | Find all articles published on the specified date. Supported formats include: Y-m-d.
Examples: 2026-11-09
|
sort |
false | Sort by published_on or relevance_score (only available when used in conjunction with search).
Default is published_at unless search is used and sorting by published_at is not included,
in which case relevance_score is used. |
limit |
false | Specify the number of articles you want to return in the request. The maximum limit is based on your plan. The default limit is the maximum specified for your plan. |
page |
false | Use this to paginate through the result set. Default is 1. Note that the max result set can't exceed 20,000. For example if your limit is 50, the max page you can have is 400 (50 * 400 = 20,000).
Example: page=2
|
Response Objects
| name | description |
|---|---|
meta > found |
The number of articles found for the request. |
meta > returned |
The number of articles returned on the page.
This is useful to determine the end of the result set as if this is lower than limit, there are no more articles after this page. |
meta > limit |
The limit based on the limit parameter. |
meta > page |
The page number based on the page parameter. |
data > uuid |
The unique identifier for an article in our system. Store this and use it to find specific articles using our single article endpoint. |
data > title |
The article title. |
data > description |
The article meta description. |
data > keywords |
The article meta keywords. |
data > snippet |
The first 60 characters of the article body. |
data > url |
The URL to the article. |
data > image_url |
The URL to the article image. |
data > language |
The language of the source. |
data > published_at |
The datetime the article was published. |
data > source |
The domain of the source. |
data > categories |
Array of strings which the source is categorized as. |
data > relevance_score |
Relevance score based on the search parameter. If the search parameter is not used, this will be null. |
If no results are found, the data object will be empty.
Example Request
GET https://api.thenewsapi.com/v1/news/all?api_token=YOUR_API_TOKEN&language=en&limit=3
Example Response
{
"meta": {
"found": 54740595,
"returned": 10,
"limit": 10,
"page": 1
},
"data": [
{
"uuid": "9fb6074e-658e-49d3-91f7-ef91f1f51111",
"title": "이성희 작가, 발도르프 인형전 ‘My Dear Doll’ 개최…손바느질로 전하는 위로와 치유 - 교수신문",
"description": "이성희 작가의 발도르프 인형전 ‘My Dear Doll’이 지난달 31일부터 오는 29일까지 파주출판도시 내 갤러리지지향에서 열린...",
"keywords": "",
"snippet": "이성희 작가의 발도르프 인형전 ‘My Dear Doll’ 공식 포스터. 사진=갤러리지지향\n\n이성희 작가의 발도르프 인형전 ‘My Dear...",
"url": "https://www.kyosu.net/news/articleView.html?idxno=212252",
"image_url": "https://cdn.kyosu.net/news/photo/202611/212252_215163_5914.jpg",
"language": "ko",
"published_at": "2026-11-09T18:07:56.000000Z",
"source": "kyosu.net",
"categories": [
"general"
],
"relevance_score": null
},
{
"uuid": "58eba276-60af-406d-b61b-0998deeb2375",
"title": "안양대 도시정보공학과, 1학년 스마트도시통합센터 견학 - 교수신문",
"description": "안양대 도시정보공학과는 지난 11월 6일 1학년 재학생을 대상으로 '안양시 스마트도시통합센터' 견학을 진행했다고 밝혔?...",
"keywords": "",
"snippet": "안양시 스마트도시통합센터 견학\n\n안양대 도시정보공학과는 지난 11월 6일 1학년 재학생을 대상으로 '안양시 스마트도시?...",
"url": "https://www.kyosu.net/news/articleView.html?idxno=212247",
"image_url": "https://cdn.kyosu.net/news/photo/202611/212247_215153_3933.jpg",
"language": "ko",
"published_at": "2026-11-09T18:07:35.000000Z",
"source": "kyosu.net",
"categories": [
"general"
],
"relevance_score": null
},
{
"uuid": "f5a0ff45-cf8a-4090-8368-a708dd7dac9e",
"title": "巨人、横浜・織田に「誠心誠意」 10日に指名あいさつ",
"description": "巨人の水野雄仁編成本部長が9日、川崎市のジャイアンツ球場で取材に応じ、10日に予定されているドラフト1位指名した...",
"keywords": "西日本新聞me, 西日本新聞, ニュース, 九州, 福岡",
"snippet": "巨人の水野雄仁編成本部長が9日、川崎市のジャイアンツ球場で取材に応じ、10日に予定されているドラフト1位指名した...",
"url": "https://www.nishinippon.co.jp/item/1558444/",
"image_url": "https://www.nishinippon.co.jp/assets/nnp/img/base/og_image.png",
"language": "ja",
"published_at": "2026-11-09T18:07:24.000000Z",
"source": "nishinippon.co.jp",
"categories": [],
"relevance_score": null
},
{
"uuid": "e175f10f-d8ba-488d-879e-6fa2d52952f8",
"title": "Ethiopian Jews celebrate Sigd in Jerusalem, hope to share the holiday",
"description": "For some, Sigd is a sacred day of prayer. For others, a celebration of family and roots. In Jerusalem, Ethiopian Jews want to share both with the rest of Israel...",
"keywords": "Jerusalem, Ethiopia, Ethiopian Jews, Sigd",
"snippet": "Impatient drivers honk along partially closed streets in Jerusalem. A stream of people dressed in white crosses the road toward the Armon Hanatziv promenade. Pr...",
"url": "https://www.jpost.com/israel-news/article-914363",
"image_url": "https://images.jpost.com/image/upload/f_auto,fl_lossy/q_auto/c_fill,g_faces:center,h_720,w_1280/745557",
"language": "en",
"published_at": "2026-11-09T18:07:22.000000Z",
"source": "jpost.com",
"categories": [
"general"
],
"relevance_score": null
},
{
"uuid": "dc4e29cb-9e05-43b3-ac1e-5d9918d55ec3",
"title": "三好市長、知事選出馬断念を表明 徳島、元民主党衆院議員",
"description": "来春の任期満了に伴う徳島県知事選に立候補の意欲を示していた同県三好市の高井美穂市長は9日、出馬を断念したと正...",
"keywords": "西日本新聞me, 西日本新聞, ニュース, 九州, 福岡",
"snippet": "来春の任期満了に伴う徳島県知事選に立候補の意欲を示していた同県三好市の高井美穂市長は9日、出馬を断念したと正...",
"url": "https://www.nishinippon.co.jp/item/1558443/",
"image_url": "https://www.nishinippon.co.jp/uploads/image/1957803/sns_PN2026110901001962.-.-.CI0003.jpg",
"language": "ja",
"published_at": "2026-11-09T18:07:19.000000Z",
"source": "nishinippon.co.jp",
"categories": [],
"relevance_score": null
},
{
"uuid": "76ddb956-360f-4cd4-8777-c62425b68413",
"title": "副議長就任絡み500万円支払い 金銭疑惑で新証言、福岡県議会",
"description": "福岡県議会の金銭授受疑惑に関し、畑中茂広元県議が9日、記者団の取材に応じ、2018年の副議長就任に絡み500万円を支?...",
"keywords": "西日本新聞me, 西日本新聞, ニュース, 九州, 福岡",
"snippet": "福岡県議会の金銭授受疑惑に関し、畑中茂広元県議が9日、記者団の取材に応じ、2018年の副議長就任に絡み500万円を支?...",
"url": "https://www.nishinippon.co.jp/item/1558442/",
"image_url": "https://www.nishinippon.co.jp/uploads/image/1957805/sns_PN2026110901002011.-.-.CI0003.jpg",
"language": "ja",
"published_at": "2026-11-09T18:07:16.000000Z",
"source": "nishinippon.co.jp",
"categories": [],
"relevance_score": null
},
{
"uuid": "1eb73988-b9be-40ab-ac20-cd38bea6b6fa",
"title": "[중국증시-마감] 中정부의 시장 안정 노력에도 혼조",
"description": "9일 중국 주요 지수는 정부의 시장 안정 노력에도 엇갈렸다.연합인포맥스 세계주가지수(화면번호 6511)에 따르면 이날 상?...",
"keywords": "오늘의 마켓뷰",
"snippet": "(서울=연합인포맥스) 김지연 기자 = 9일 중국 주요 지수는 정부의 시장 안정 노력에도 엇갈렸다.\n\n중국 상하이지수 등락 ?...",
"url": "https://news.einfomax.co.kr/news/articleView.html?idxno=4443818",
"image_url": "https://cdn.news.einfomax.co.kr/news/thumbnail/202611/4443818_355518_82_v150.jpg",
"language": "ko",
"published_at": "2026-11-09T18:07:02.000000Z",
"source": "news.einfomax.co.kr",
"categories": [
"general"
],
"relevance_score": null
},
{
"uuid": "440a80f5-f19a-4172-bca8-0be62f63674b",
"title": "Rawasi Albina sukukholders to discuss unpaid distributions on Nov. 12",
"description": "Alkhair Capital Saudi Arabia, acting as the sukukholder agent for Rawasi Albina Investment Co.’s sukuk (series 1), invited sukukholders to attend a me",
"keywords": "At Argaam Plus, you get up to date news on Saudi Stock Market tadawul, stock quotes, company performance, Market data and analysis. Top companies Sabic, Maaden, Banks, Petrochemicals",
"snippet": "Logo of Rawasi Albina Investment Co.\n\nAlkhair Capital Saudi Arabia, acting as the sukukholder agent for Rawasi Albina Investment Co.’s sukuk (series 1), invit...",
"url": "https://www.argaam.com/en/article/articledetail/id/1951931",
"image_url": "https://argaamplus.s3.amazonaws.com/4c8127c0-2ac9-46ff-9069-831f50ee8d38.png",
"language": "en",
"published_at": "2026-11-09T18:07:00.000000Z",
"source": "argaam.com",
"categories": [
"business"
],
"relevance_score": null
},
{
"uuid": "9a1339c4-c6da-4e55-9c9c-6d6dad90d4e8",
"title": "Python 字符串",
"description": "Python字符串字符串是Python中最常用的数据类型。我们可以使用引号(‘或“)来创建字符串。创建字符串很简单,只要为变?...",
"keywords": "",
"snippet": "Python 字符串\n\n字符串是 Python 中最常用的数据类型。我们可以使用引号 ( ‘ 或 “ ) 来创建字符串。\n\n创建字符串很简单,?...",
"url": "http://www.tretars.com/0637689.html",
"image_url": "http://www.tretars.com/wp-content/uploads/2026/10/Pinoc.png",
"language": "zh",
"published_at": "2026-11-09T18:06:58.000000Z",
"source": "tretars.com",
"categories": [
"sports"
],
"relevance_score": null
},
{
"uuid": "8a015bd4-a676-40e8-8ff3-e81ed1060d33",
"title": "최지연 의원 \"학하초 신설·이전 관련 학교용지 가격 산정, 기부채납 협약 부실\"",
"description": "[굿모닝충청 이유나 기자] 대전 학하초 신설·이전 사업 관련 협약이 부실하고 교육청의 행정 대응이 안일하다는 지적이 ...",
"keywords": "최지연, 대전교육청, 학하초",
"snippet": "대전 학하초 신설·이전 사업 관련 협약이 부실하고 교육청의 행정 대응이 안일하다는 지적이 나왔다. (사진=대전광역시?...",
"url": "https://www.goodmorningcc.com/news/articleView.html?idxno=455463",
"image_url": "https://cdn.goodmorningcc.com/news/thumbnail/202611/455463_472593_4453_v150.jpg",
"language": "ko",
"published_at": "2026-11-09T18:06:46.000000Z",
"source": "goodmorningcc.com",
"categories": [
"general"
],
"relevance_score": null
}
]
}
Similar News Available on: All plans
Endpoint
GET https://api.thenewsapi.com/v1/news/similar/uuid HTTP/1.1
Use this endpoint to find similar stories to a specific article based on its UUID.
If you have issues with your requests, please ensure your GET parameters are URL-encoded.
All text data returned is UTF-8.
All dates are in UTC (GMT).
HTTP GET Parameters
| name | required | description |
|---|---|---|
api_token |
true | Your API token which can be found on your account dashboard. |
categories |
false | Comma separated list of categories to include.
Supported categories: general | science | sports | business | health | entertainment | tech | politics | food | travel Example: business,tech
|
exclude_categories |
false | Comma separated list of categories to exclude. |
domains |
false | Comma separated list of domains to include. List of domains can be obtained through our Sources endpoint, found further down this page. |
exclude_domains |
false | Comma separated list of domains to exclude |
source_ids |
false | Comma separated list of source_ids to include. List of source_ids can be obtained through our Sources endpoint, found further down this page. |
exclude_source_ids |
false | Comma separated list of source_ids to exclude. |
language |
false | Comma separated list of languages to include. Default is all.
Click here for a list of supported languages. Examples: en,es (English + Spanish)
|
published_before |
false | Find all articles published before the specified date. Supported formats include:
Y-m-d\TH:i:s | Y-m-d\TH:i | Y-m-d\TH | Y-m-d | Y-m | Y.
Examples: 2026-11-09T18:07:19 |
2026-11-09T18:07 |
2026-11-09T18 |
2026-11-09 |
2026-11 |
2026
|
published_after |
false | Find all articles published after the specified date. Supported formats include:
Y-m-d\TH:i:s | Y-m-d\TH:i | Y-m-d\TH | Y-m-d | Y-m | Y.
Examples: 2026-11-09T18:07:19 |
2026-11-09T18:07 |
2026-11-09T18 |
2026-11-09 |
2026-11 |
2026
|
published_on |
false | Find all articles published on the specified date. Supported formats include: Y-m-d.
Examples: 2026-11-09
|
limit |
false | Specify the number of articles you want to return in the request. The maximum limit is based on your plan. The default limit is the maximum specified for your plan. |
page |
false | Use this to paginate through the result set. Default is 1. Note that the max result set can't exceed 20,000. For example if your limit is 50, the max page you can have is 400 (50 * 400 = 20,000).
Example: page=2
|
Response Objects
| name | description |
|---|---|
meta > found |
The number of articles found for the request. |
meta > returned |
The number of articles returned on the page.
This is useful to determine the end of the result set as if this is lower than limit, there are no more articles after this page. |
meta > limit |
The limit based on the limit parameter. |
meta > page |
The page number based on the page parameter. |
data > uuid |
The unique identifier for an article in our system. Store this and use it to find specific articles using our single article endpoint. |
data > title |
The article title. |
data > description |
The article meta description. |
data > keywords |
The article meta keywords. |
data > snippet |
The first 60 characters of the article body. |
data > url |
The URL to the article. |
data > image_url |
The URL to the article image. |
data > language |
The language of the source. |
data > published_at |
The datetime the article was published. |
data > source |
The domain of the source. |
data > categories |
Array of strings which the source is categorized as. |
data > relevance_score |
Relevance score based on the article provided. |
If no results are found, the data object will be empty.
Example Request
GET https://api.thenewsapi.com/v1/news/similar/cc11e3ab-ced0-4a42-9146-e426505e2e67?api_token=YOUR_API_TOKEN&language=en&published_on=2020-12-01
Example Response
{
"meta": {
"found": 3571,
"returned": 3,
"limit": 3,
"page": 1
},
"data": [
{
"uuid": "df4ad427-a672-4c67-b6c6-6f81aa00e164",
"title": "Tesla stock jumps after announcement it will join S&P 500 in one go",
"description": "Tesla's stock price surged early Tuesday after the company b...",
"keywords": "Business, s&p 500, stocks, tesla",
"snippet": "Tesla’s stock price surged early Tuesday after the company...",
"url": "https://nypost.com/2020/12/01/tesla-stock-jumps-on-news-it-will-join-sp-500-in-one-shot/",
"image_url": "https://nypost.com/wp-content/uploads/sites/2/2020/12/tesla-52.jpg?quality=90&strip=all&w=1200",
"language": "en",
"published_at": "2020-12-01T14:35:46.000000Z",
"source": "nypost.com",
"categories": [
"business"
],
"relevance_score": 153.61266
},
{
"uuid": "c9a23881-12dd-4005-8982-7b6552a2eb50",
"title": "Tesla To Join S&P 500 With Full Market Cap On December 21",
"description": "Tesla will be added to the S&P 500 index all at once at its ...",
"keywords": "Tesla, S&P500, EV, Automotive, Stocks, Investing",
"snippet": "Tesla (NASDAQ: TSLA) will be added to the S&P 500 index all ...",
"url": "https://oilprice.com/Latest-Energy-News/World-News/Tesla-To-Join-SP-500-With-Full-Market-Cap-On-December-21.html",
"image_url": "https://d32r1sh890xpii.cloudfront.net/news/718x300/2020-12-01_xwjdajwctl.jpg",
"language": "en",
"published_at": "2020-12-01T16:30:00.000000Z",
"source": "oilprice.com",
"categories": [
"general",
"business"
],
"relevance_score": 146.92773
},
{
"uuid": "18afdb1c-7742-4016-bf8c-a2f114e11199",
"title": "Tesla to Enter S&P 500 at Full Weight in December",
"description": "The electric-vehicle maker will be added to the broad stock-...",
"keywords": "Motor Vehicles, Alternative Fuel Vehicles, Trusts Funds Financial Vehicles, Diversified Holding Companies, Automotive",
"snippet": "S&P Dow Jones Indices said it will add Tesla Inc.’s full w...",
"url": "https://www.wsj.com/articles/tesla-to-enter-s-p-500-at-full-weight-in-december-11606780897?mod=pls_whats_news_us_business_f",
"image_url": "https://images.wsj.net/im-265933/social",
"language": "en",
"published_at": "2020-12-01T00:01:00.000000Z",
"source": "online.wsj.com",
"categories": [
"business"
],
"relevance_score": 128.22346
}
]
}
News by UUID Available on: All plans
Endpoint
GET https://api.thenewsapi.com/v1/news/uuid/uuid HTTP/1.1
Use this endpoint to find specific articles by the UUID which is returned on our search endpoints. This is useful if you wish to store the UUID to return the article later.
If you have issues with your requests, please ensure your GET parameters are URL-encoded.
All text data returned is UTF-8.
All dates are in UTC (GMT).
HTTP GET Parameters
| name | required | description |
|---|---|---|
api_token |
true | Your API token which can be found on your account dashboard. |
Response Objects
| name | description |
|---|---|
uuid |
The unique identifier for an article in our system. Store this and use it to find specific articles using our single article endpoint. |
title |
The article title. |
description |
The article meta description. |
keywords |
The article meta keywords. |
snippet |
The first 60 characters of the article body. |
url |
The URL to the article. |
image_url |
The URL to the article image. |
language |
The language of the source. |
published_at |
The datetime the article was published. |
source |
The domain of the source. |
categories |
Array of strings which the source is categorized as. |
If no results are found, a resource_not_found error will be returned.
Example Request
GET https://api.thenewsapi.com/v1/news/uuid/147013d8-6c2c-4d50-8bad-eb3c8b7f5740?api_token=YOUR_API_TOKEN
Example Response
{
"uuid": "147013d8-6c2c-4d50-8bad-eb3c8b7f5740",
"title": "These Are The Four American Companies Worth Over $1 Trillion Each – 24",
"description": "America’s major market indexes set records in the early pa...",
"keywords": "",
"snippet": "These Are The Four American Companies Worth Over $1 Trillion...",
"url": "https://247wallst.com/investing/2020/10/17/these-are-the-four-american-companies-worth-over-1-trillion-each/",
"image_url": "https://247wallst.com/wp-content/uploads/2020/08/imageForEntry2-Qrj.jpg",
"language": "en",
"published_at": "2020-10-17T11:16:20.000000Z",
"source": "247wallst.com",
"categories": [
"business"
]
}
Sources Available on: All plans
Endpoint
GET https://api.thenewsapi.com/v1/news/sources HTTP/1.1
Use this endpoint to sources to use in your news API requests. Note that the limit is 50 for all requests.
If you have issues with your requests, please ensure your GET parameters are URL-encoded.
All text data returned is UTF-8.
HTTP GET Parameters
| name | required | description |
|---|---|---|
categories |
false | Comma separated list of categories to include
Example: business,tech
|
exclude_categories |
false | Comma separated list of categories to exclude |
language |
false | Comma separated list of languages to include. Default is all.
Click here for a list of supported languages. Examples: en,es (English + Spanish)
|
page |
false | Use this to paginate through the result set. Default is 1.
Example: page=2
|
Response Objects
| name | description |
|---|---|
meta > found |
The number of sources found for the request. |
meta > returned |
The number of sources returned on the page. |
meta > limit |
The limit is 50. This currently can not be changed. |
meta > page |
The page number based on the page parameter. |
data > source_id |
The unique ID of the source feed. Use this for the source_ids or exclude_source_ids parameters in the news endpoints.
There may be many source_ids for each domain, therefore we would generally suggest using the domains filter instead the source_ids filter. |
data > domain |
The domain of the source. You can use this for the domains or exclude_domains parameters in the news endpoints. |
data > language |
The source language. |
data > locale |
The source locale. Note that only select sources have locales. |
data > categories |
Array of strings which the source is categorized as. |
If no results are found, the data object will be empty.
Example Request
GET https://api.thenewsapi.com/v1/news/sources?api_token=YOUR_API_TOKEN&language=en
Example Response
{
"meta": {
"found": 15453,
"returned": 50,
"limit": 50,
"page": 1
},
"data": [
{
"source_id": "arstechnica.com-1",
"domain": "arstechnica.com",
"language": "en",
"locale": null,
"categories": [
"tech"
]
},
{
"source_id": "adweek.com-1",
"domain": "adweek.com",
"language": "en",
"locale": null,
"categories": [
"business"
]
},
...
Errors
Errors
If your request was unsuccessful, you will receive a JSON formatted error. Below you will find the potential errors you may encounter when using the API.
Errors
| error code | HTTP status | description |
|---|---|---|
malformed_parameters |
400 |
Validation of parameters failed. The failed parameters are usually shown in the error message. |
invalid_api_token |
401 |
Invalid API token. |
usage_limit_reached |
402 |
Usage limit of your plan has been reached. Usage limit and remaining requests can be found on the X-UsageLimit-Limit header. |
endpoint_access_restricted |
403 |
Access to the endpoint is not available on your current subscription plan. |
resource_not_found |
404 |
Resource could not be found. |
invalid_api_endpoint |
404 |
API route does not exist. |
rate_limit_reached |
429 |
Too many requests in the past 60 seconds. Rate limit and remaining requests can be found on the X-RateLimit-Limit header. |
server_error |
500 |
A server error occured. |
maintenance_mode |
503 |
The service is currently under maintenance. |
Example Error Response
{
"error": {
"code": "malformed_parameters",
"message": "The published_before parameter(s) are incorrectly formatted."
}
}
Examples
API Examples
Our endpoints are very useful for filtering to find only specific resources you need. Follow each example request below to see how you can build dynamic queries.
Example Request 1
This is a basic request which will return all articles which match the search term "usd" within the title or body of the article:
GET https://api.thenewsapi.com/v1/news/all?api_token=YOUR_API_TOKEN&search=usd
Example Request 2
This will return all articles which match the search term "usd" OR "gbp":
GET https://api.thenewsapi.com/v1/news/all?api_token=YOUR_API_TOKEN&search=usd%20%7C%20gbp
Example Request 3
This will return all articles which match the search term "usd" AND "gbp":
GET https://api.thenewsapi.com/v1/news/all?api_token=YOUR_API_TOKEN&search=usd%20%2B%20gbp
Example Request 4
This will return all articles which match the search term "usd" AND "gbp" but removes any articles which mentions "cad":
GET https://api.thenewsapi.com/v1/news/all?api_token=YOUR_API_TOKEN&search=usd%20%2B%20gbp%20-cad
Example Request 5
This will return all articles which match the search term "forex" AND "usd" OR "gbp" but removes any articles which mentions "cad":
GET https://api.thenewsapi.com/v1/news/all?api_token=YOUR_API_TOKEN&search=forex%20%2B%20%28usd%20%7C%20gbp%29%20-cad
Example Request 6
This is the same as Example Request 5 but will also ensure the articles returned are in English and categorized by business or tech but not travel, and are published within the last week:
GET https://api.thenewsapi.com/v1/news/all?api_token=YOUR_API_TOKEN&search=forex%20%2B%20%28usd%20%7C%20gbp%29%20-cad&language=en&categories=business%2Ctech&exclude_categories=travel&published_after=2026-11-02
Code Examples
See our prepared examples below to quickly get started implementing our API into your next project.
PHP
$queryString = http_build_query([
'api_token' => 'YOUR_API_TOKEN',
'categories' => 'business,tech',
'search' => 'apple',
'limit' => 50,
]);
$ch = curl_init(sprintf('%s?%s', 'https://api.thenewsapi.com/v1/news/all', $queryString));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$json = curl_exec($ch);
curl_close($ch);
$apiResult = json_decode($json, true);
print_r($apiResult);
Python
# Python 3
import http.client, urllib.parse
conn = http.client.HTTPSConnection('api.thenewsapi.com')
params = urllib.parse.urlencode({
'api_token': 'YOUR_API_TOKEN',
'categories': 'business,tech',
'limit': 50,
})
conn.request('GET', '/v1/news/all?{}'.format(params))
res = conn.getresponse()
data = res.read()
print(data.decode('utf-8'))
Go
package main
import (
"fmt"
"io/ioutil"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://thenewsapi.com")
baseURL.Path += "v1/news/all"
params := url.Values{}
params.Add("api_token", "YOUR_API_TOKEN")
params.Add("categories", "business,tech")
params.Add("search", "apple")
params.Add("limit", "50")
baseURL.RawQuery = params.Encode()
req, _ := http.NewRequest("GET", baseURL.String(), nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(string(body))
}
JavaScript
var requestOptions = {
method: 'GET'
};
var params = {
api_token: 'YOUR_API_TOKEN',
categories: 'business,tech',
search: 'apple',
limit: '50'
};
var esc = encodeURIComponent;
var query = Object.keys(params)
.map(function(k) {return esc(k) + '=' + esc(params[k]);})
.join('&');
fetch("https://api.thenewsapi.com/v1/news/all?" + query, requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));
C#
var client = new RestClient("https://api.thenewsapi.com/v1/news/all");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddQueryParameter("api_token", "YOUR_API_TOKEN");
request.AddQueryParameter("categories", "business,tech");
request.AddQueryParameter("search", "apple");
request.AddQueryParameter("limit", "50");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
Java
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
HttpUrl.Builder httpBuilder = HttpUrl.parse("https://api.thenewsapi.com/v1/news/all").newBuilder();
httpBuilder.addQueryParameter("api_token", "YOUR_API_TOKEN");
httpBuilder.addQueryParameter("categories", "business,tech");
httpBuilder.addQueryParameter("search", "apple");
httpBuilder.addQueryParameter("limit", "50");
Request request = new Request.Builder().url(httpBuilder.build()).build();
Response response = client.newCall(request).execute();