United States News API
Get the live top headlines from United States with our JSON API.
Get API key for the United States News APIAPI Demonstration
This example demonstrates the HTTP request to make and the JSON response you will receive when you use the news api to get the top headlines from United States.
GET
https://gnews.io/api/v4/top-headlines?country=us&category=general&apikey=API_KEY
{ "totalArticles": 111303, "articles": [ { "title": "From backing a ban to being hailed as a savior: Inside Trump’s TikTok shift", "description": "During his first term as president, Donald Trump led the effort to ban TikTok, the hugely popular video-sharing site he said posed threats to U.S. national security.", "content": "NEW YORK (AP) — During his first term as president, Donald Trump led the effort to ban TikTok, the hugely popular video-sharing site he said posed a threat to U.S. national security. But on the eve of his return to the White House, the president-elec... [7453 chars]", "url": "https://apnews.com/article/trump-tiktok-ban-da11df6d59c17e2c17eea40c4042386d", "image": "https://dims.apnews.com/dims4/default/7ef3fe3/2147483647/strip/true/crop/5150x2897+0+268/resize/1440x810!/quality/90/?url=https%3A%2F%2Fassets.apnews.com%2F5d%2Fc3%2F1eb1175f6616a32f5efa83bfaf85%2F368baa94a8bb4a2a9e87f988641da384", "publishedAt": "2025-01-20T02:59:00Z", "source": { "name": "The Associated Press", "url": "https://apnews.com" } }, { "title": "China keeps benchmark lending rates unchanged as it contends with a weakening yuan", "description": "Beijing contends with a weakening yuan while awaiting policy clues from the incoming Donald Trump's administration.", "content": "The central bank of the People's Republic of China is responsible for formulating and implementing monetary policies, preventing and defusing financial risks and maintaining financial stability.\nChina left its benchmark lending rates unchanged Monday... [1642 chars]", "url": "https://www.cnbc.com/2025/01/20/china-keeps-benchmark-lending-rates-unchanged-as-it-contends-with-a-weakening-yuan.html", "image": "https://image.cnbcfm.com/api/v1/image/107387864-1710462735036-gettyimages-1352271307-syz05818-1.jpeg?v=1737332891&w=1920&h=1080", "publishedAt": "2025-01-20T01:10:00Z", "source": { "name": "CNBC", "url": "https://www.cnbc.com" } }, { "title": "Trump’s team outlines suite of executive orders to top lawmakers ahead of his first day as president", "description": "President-elect Donald Trump will quickly implement executive actions on immigration, energy policy, and federal government operations to check off dozens of campaign policy priorities.", "content": "CNN —\nPresident-elect Donald Trump will quickly implement executive actions on immigration, energy policy, and federal government operations to check off dozens of campaign policy priorities.\nTrump and his advisers have pledged to issue more than 100... [2769 chars]", "url": "https://www.cnn.com/2025/01/19/politics/trump-executive-orders-lawmakers-day-1/index.html", "image": "https://media.cnn.com/api/v1/images/stellar/prod/2025-01-19t183556z-1128887882-rc26dcabseu5-rtrmadp-3-usa-trump-inauguration-cemetery.JPG?c=16x9&q=w_800,c_fill", "publishedAt": "2025-01-20T00:17:00Z", "source": { "name": "CNN", "url": "https://www.cnn.com" } } ] }