


News API - A JSON API for live news
and blog articles



<meta name="description" content="Search worldwide
news articles and headlines from all over
the web in real-time with our free News API.">
<meta name="keywords" content="news api, api,
news headlines">

<meta itemprop="name" content="News API - A
JSON API for live news and blog articles">
<meta itemprop="description" content="Search
worldwide news articles and headlines from
all over the web in real-time with our free
News API.">


<meta name="twitter:title" content="News API
- A JSON API for live news and blog articles">
<meta name="twitter:description" content="Search
worldwide news articles and headlines from
all over the web in real-time with our free
News API.">


<!-- Open Graph general (Facebook, Pinterest
& Google+) -->
<meta name="og:title" content="News API - A
JSON API for live news and blog articles">
<meta name="og:description" content="Search
worldwide news articles and headlines from
all over the web in real-time with our free
News API.">






<link rel="apple-touch-icon" sizes="180x180"
href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32"
href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16"
href="/favicon-16x16.png">







.jsonview .prop { color:#000; }




(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new
Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','/js/catynials.js','ga');
ga('create', 'UA-17563040-17', 'auto');
ga('send', 'pageview');

<!-- Global site tag (gtag.js) - Google Analytics
-->


window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-91285317-5');






{
"@context": "http://www.schema.org",
"@type": "Organization",
"name": "News API",
"url": "https://newsapi.org",
"sameAs": [
"https://twitter.com/NewsAPIorg",
"https://github.com/news-api-gh"
],
"logo": "https://newsapi.org/images/n-logo-border.png",
"description": "A simple HTTP REST API for
searching and retrieving live news articles
from all over the web.",
"email": "support@newsapi.org",
"contactPoint": [{
"@type": "ContactPoint",
"telephone": "+13473218989",
"contactType": "customer service",
"areaServed": "US"
}, {
"@type": "ContactPoint",
"telephone": "+442801234589",
"contactType": "customer service",
"areaServed": "UK"
}],
"numberOfEmployees": "5"
}


<header class="bg-white pv3 pv4-l bb b--black-10
fixed top-0 left-0 right-0" style="z-index:10;">
<div class="w-90 mw8 center flex justify-between
items-center">
<a
class="color-inherit no-underline" href="/">News
API


Get started


Documentation


News sources


Pricing


Login


Get API key





<div class="bg-white bb b--black-20 pa2 fixed
left-0 right-0 h-100" id="menu" style="overflow:auto;
top:-120%; transition: all 500ms ease-in-out;
z-index:20">

<button id="close-menu-btn" class="color-inherit
bn bg-white db f2 ph1 pv0">





Get started


Documentation


News sources


Pricing


Login


Get API key









$(document).ready(function () {
$(document).on('click', '#open-menu-btn',
function () {
$('#menu').css('top', '0');
})
$(document).on('click', '#close-menu-btn',
function () {
$('#menu').css('top', '-100%');
})
});


<h2 class="f2 mt0 mb2 fw3 typed-cursor lh-title
black-90">Search worldwide news with code
Get
breaking news headlines, and search for articles
from over 30,000 news sources and blogs with
our news API
<a class="f4 dib ba no-underline ph4 pv3 mv3
br2 grow white bg-na-blue" href="/register">Get
API key


<div class="ba br2 bg-white-1 b--black-10
center mw7 w-90 w-100-l" style="box-shadow:0
0 10px rgba(0,0,0,0.1)">


<button class="black-20 pointer pa2 bg-white
prev" style="border:none;">

All articles about Bitcoin
from the last month, sorted by recent first

<button class="black-20 pointer pa2 bg-white
next" style="border:none;">


<div class="flex items-center bb bt b--black-10
bg-na-grey-1">

GET

https://newsapi.org/v2/everything?q=bitcoin&amp;from=2019-07-19&amp;sortBy=publishedAt&amp;apiKey=API_KEY

<div id="f92d4cd8-76dd-46d9-ab4e-475d06251899"
class="json-wrapper" style="max-height:600px;">







$(document).ready(function () {
$.ajax({
url: '/v2/everything?q=bitcoin&language=en&from=2019-07-19&sortBy=publishedAt&apiKey=00894bdeeda44af1b9207736061d4017'
})
.done(function (data) {
$('#f92d4cd8-76dd-46d9-ab4e-475d06251899').JSONView(data);
})
.fail(function (response) {
$('#f92d4cd8-76dd-46d9-ab4e-475d06251899').JSONView(response.responseJSON);
})
})


<div class="ba br2 bg-white-1 b--black-10
center mw7 w-90 w-100-l" style="box-shadow:0
0 10px rgba(0,0,0,0.1)">


<button class="black-20 pointer pa2 bg-white
prev" style="border:none;">

Top business headlines in
the US right now

<button class="black-20 pointer pa2 bg-white
next" style="border:none;">


<div class="flex items-center bb bt b--black-10
bg-na-grey-1">

GET

https://newsapi.org/v2/top-headlines?country=us&amp;category=business&amp;apiKey=API_KEY

<div id="5d779052-f6ab-4d21-84f2-d009078f11a8"
class="json-wrapper" style="max-height:600px;">







$(document).ready(function () {
$.ajax({
url: '/v2/top-headlines?country=us&category=business&apiKey=00894bdeeda44af1b9207736061d4017'
})
.done(function (data) {
$('#5d779052-f6ab-4d21-84f2-d009078f11a8').JSONView(data);
})
.fail(function (response) {
$('#5d779052-f6ab-4d21-84f2-d009078f11a8').JSONView(response.responseJSON);
})
})


<div class="ba br2 bg-white-1 b--black-10
center mw7 w-90 w-100-l" style="box-shadow:0
0 10px rgba(0,0,0,0.1)">


<button class="black-20 pointer pa2 bg-white
prev" style="border:none;">

All articles mentioning
Apple from yesterday, sorted by popular publishers
first






GET

<span
class="http-url">https://newsapi.org/v2/everything?q=apple&amp;from=2019-08-18&amp;to=2019-08-18&amp;sortBy=popularity&amp;apiKey=API_KEY



<svg class="spinner-inner" width="65px" height="65px"
viewBox="0 0 66 66" xmlns="http://www.w3.org/2000/svg">
<circle class="spinner-path" fill="none" stroke-width="6"
stroke-linecap="round" cx="33" cy="33" r="30">




$(document).ready(function () {
$.ajax({
url: '/v2/everything?q=Apple&from=2019-08-18&to=2019-08-18&sortBy=popularity&apiKey=00894bdeeda44af1b9207736061d4017'
})
.done(function (data) {
$('#8a4f5912-8405-4841-8d5d-67b85123167d').JSONView(data);
})
.fail(function (response) {
$('#8a4f5912-8405-4841-8d5d-67b85123167d').JSONView(response.responseJSON);
})
})


<div class="ba br2 bg-white-1 b--black-10
center mw7 w-90 w-100-l" style="box-shadow:0
0 10px rgba(0,0,0,0.1)">


<button class="black-20 pointer pa2 bg-white
prev" style="border:none;">

Top headlines from TechCrunch
right now

<button class="black-20 pointer pa2 bg-white
next" style="border:none;">


<div class="flex items-center bb bt b--black-10
bg-na-grey-1">

GET

https://newsapi.org/v2/top-headlines?sources=techcrunch&amp;apiKey=API_KEY

<div id="f0e603a1-cc75-471c-b384-f7f024c28a51"
class="json-wrapper" style="max-height:600px;">







$(document).ready(function () {
$.ajax({
url: '/v2/top-headlines?sources=techcrunch&apiKey=00894bdeeda44af1b9207736061d4017'
})
.done(function (data) {
$('#f0e603a1-cc75-471c-b384-f7f024c28a51').JSONView(data);
})
.fail(function (response) {
$('#f0e603a1-cc75-471c-b384-f7f024c28a51').JSONView(response.responseJSON);
})
})


<div class="ba br2 bg-white-1 b--black-10
center mw7 w-90 w-100-l" style="box-shadow:0
0 10px rgba(0,0,0,0.1)">


<button class="black-20 pointer pa2 bg-white
prev" style="border:none;">

All articles published by
the Wall Street Journal in the last 6 months,
sorted by recent first






GET

<span
class="http-url">https://newsapi.org/v2/everything?domains=wsj.com&amp;apiKey=API_KEY



<svg class="spinner-inner" width="65px" height="65px"
viewBox="0 0 66 66" xmlns="http://www.w3.org/2000/svg">
<circle class="spinner-path" fill="none" stroke-width="6"
stroke-linecap="round" cx="33" cy="33" r="30">




$(document).ready(function () {
$.ajax({
url: '/v2/everything?domains=wsj.com&language=en&apiKey=00894bdeeda44af1b9207736061d4017'
})
.done(function (data) {
$('#f9d8771b-f712-431a-bd15-c256372240c5').JSONView(data);
})
.fail(function (response) {
$('#f9d8771b-f712-431a-bd15-c256372240c5').JSONView(response.responseJSON);
})
})




News API is a simple
and easy-to-use API that returns JSON metadata
for headlines and articles live all over the
web right now.


<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.1" x="0px" y="0px" viewBox="0 0
40 40" style="width:120px;" xml:space="preserve">



<path style="fill:#4788C7;" d="M7.5,18c1.378,0,2.5,1.121,2.5,2.5S8.878,23,7.5,23C6.121,23,5,21.879,5,20.5S6.121,18,7.5,18
M7.5,17C5.567,17,4,18.567,4,20.5C4,22.433,5.567,24,7.5,24s3.5-1.567,3.5-3.5C11,18.567,9.433,17,7.5,17L7.5,17z">



<path style="fill:#DFF0FE;" d="M28.374,38.481c-0.158,0-0.325-0.042-0.496-0.125c-0.625-0.305-1.186-0.873-1.836-1.531
C24.579,35.344,22.757,33.5,19,33.5c-1.739,0-3.5-0.858-3.5-2.5c0-0.874,0.456-1.285,0.984-1.761
C16.96,28.811,17.5,28.324,17.5,27.5c0-0.741-0.835-0.922-2.1-1.195C13.051,25.796,9.5,25.028,9.5,21c0-6.273,5.118-8.5,9.5-8.5
c1.531,0,2.435,0.319,3.232,0.602C22.811,13.307,23.357,13.5,24,13.5c0.747,0,1.254-0.354,1.431-0.973
c2.021,0.259,3.893,2.28,5.708,4.239c0.228,0.247,0.456,0.492,0.683,0.733h-0.614l0.34,0.715C32.029,19.224,32.5,21.594,32.5,23
c0,4.598-1.996,7.622-5.62,8.515l-0.889,0.219l0.665,0.63c1.073,1.017,1.788,1.965,2.199,2.581
c0.806,1.209,0.719,2.332,0.401,2.928C29.048,38.26,28.727,38.481,28.374,38.481L28.374,38.481z">

<path style="fill:#4788C7;" d="M19,13c1.445,0,2.306,0.305,3.066,0.573C22.686,13.793,23.272,14,24,14
c0.794,0,1.405-0.336,1.732-0.907c1.681,0.417,3.334,2.173,4.941,3.907h-0.257l0.68,1.43C31.503,19.284,32,21.561,32,23
c0,2.517-0.681,6.906-5.239,8.029l-1.777,0.438l1.329,1.259c1.039,0.985,1.73,1.901,2.127,2.495
c0.683,1.025,0.63,1.941,0.376,2.414c-0.069,0.129-0.219,0.346-0.442,0.346c-0.081,0-0.174-0.025-0.276-0.075
c-0.548-0.267-1.082-0.808-1.7-1.434C24.949,35.008,22.966,33,19,33c-1.206,0-3-0.533-3-2c0-0.622,0.281-0.904,0.818-1.389
C17.317,29.162,18,28.547,18,27.5c0-1.145-1.156-1.395-2.494-1.684C12.604,25.188,10,24.348,10,21C10,15.102,14.649,13,19,13
M25,12c0,0.657-0.343,1-1,1c-1.351,0-2.25-1-5-1c-5.218,0-10,2.813-10,9c0,6.311,8,5.365,8,6.5c0,1.336-2,1.506-2,3.5
c0,1.971,2.028,3,4,3c5.208,0,6.459,3.733,8.659,4.806c0.247,0.12,0.487,0.176,0.714,0.176c1.423,0,2.319-2.184,0.898-4.315
C28.897,34.106,28.153,33.093,27,32c4.147-1.021,6-4.538,6-9c0-1.527-0.499-3.947-1-5c0.346,0,0.424,0,0.424,0
c0.073,0,0.236,0,0.576,0C30.497,15.497,28,12,25,12L25,12z
M32.424,18c-0.039,0-0.052,0-0.052,0H32.424L32.424,18z">






<path style="fill:none;stroke:#4788C7;stroke-linecap:round;stroke-miterlimit:10;"
d="M22.5,22.5c3.743,0,5.994,1.755,5.994,4
s-2.9,4-6.994,4">


<path style="fill:#DFF0FE;" d="M32.692,10.715C30.361,8.352,23.544,4.5,19.714,4.5C18.493,4.5,17.5,3.827,17.5,3
s0.993-1.5,2.214-1.5c3.455,0,9.913,3.215,12.957,5.876C32.933,7.703,32.831,9.468,32.692,10.715z">

<path style="fill:#4788C7;" d="M19.714,2c3.225,0,9.538,3.1,12.538,5.675c0.109,0.343,0.093,1.19,0.031,2.039
C29.299,7.177,23.147,4,19.714,4C18.704,4,18,3.473,18,3S18.704,2,19.714,2
M19.714,1C18.215,1,17,1.876,17,3 c0,1.124,1.215,2,2.714,2C24.479,5,33,10.841,33,12c0,0.005,0,0.008,0.001,0.008c0.033,0,0.724-4.374-0.001-5.008
C29.913,4.301,23.333,1,19.714,1L19.714,1z">



<path style="fill:#DFF0FE;" d="M30.898,12.291C28.4,10.269,21.259,7.5,17.714,7.5C16.493,7.5,15.5,6.827,15.5,6
s0.993-1.5,2.214-1.5c3.343,0,9.867,2.175,12.957,4.876C30.933,9.649,30.956,11.153,30.898,12.291z">

<path style="fill:#4788C7;" d="M17.714,5c3.234,0,9.525,2.09,12.562,4.696c0.114,0.273,0.153,0.935,0.149,1.637
c-0.825-0.536-2.016-1.176-3.736-1.932c-1.641-0.722-5.8-2.4-8.975-2.4C16.704,7,16,6.473,16,6S16.704,5,17.714,5
M17.714,4 C16.215,4,15,4.876,15,6c0,1.124,1.215,2,2.714,2c4.765,0,13.571,4.341,13.571,5.5c0,0.006,0,0.008,0.001,0.008
c0.022,0,0.436-3.876-0.287-4.508C27.913,6.301,21.333,4,17.714,4L17.714,4z">



<path style="fill:#DFF0FE;" d="M30.687,17.5c-2.86,0-5.187-2.243-5.187-5s2.327-5,5.187-5h0.438c4.569,0,7.375,4.145,7.375,7.115
c0,1.427-0.535,2.885-4.5,2.885H30.687z">
<path style="fill:#4788C7;" d="M31.125,8C35.703,8,38,12.241,38,14.615C38,15.769,37.691,17,34,17h-2h-1.313
C28.103,17,26,14.981,26,12.5S28.103,8,30.687,8H31.125
M31.125,7c-0.201,0,0.014,0-0.438,0C27.546,7,25,9.462,25,12.5
c0,3.038,2.546,5.5,5.687,5.5c1.115,0,0.346,0,1.313,0c0.711,0,1.307,0,2,0c3.112,0,5-0.852,5-3.385C39,11.578,36.132,7,31.125,7
L31.125,7z">

<circle style="fill:#4788C7;" cx="33.5" cy="12.5"
r="1.5">
<path style="fill:#4788C7;" d="M13.5,9h-8C5.225,9,5,8.775,5,8.5v0C5,8.225,5.225,8,5.5,8h8C13.775,8,14,8.225,14,8.5v0
C14,8.775,13.775,9,13.5,9z">
<path style="fill:#4788C7;" d="M9.5,12h-6C3.225,12,3,11.775,3,11.5v0C3,11.225,3.225,11,3.5,11h6c0.275,0,0.5,0.225,0.5,0.5v0
C10,11.775,9.775,12,9.5,12z">
<path style="fill:#4788C7;" d="M6.5,15h-5C1.225,15,1,14.775,1,14.5v0C1,14.225,1.225,14,1.5,14h5C6.775,14,7,14.225,7,14.5v0
C7,14.775,6.775,15,6.5,15z">

Freaking fast
Everything is asynchronously
cached for a super-fast response.


<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.1" x="0px" y="0px" viewBox="0 0
40 40" style="width:120px;" xml:space="preserve">





<line style="fill:none;stroke:#4788C7;stroke-width:2;stroke-miterlimit:10;"
x1="4.148" y1="6.615" x2="11.935" y2="9.403">


<path style="fill:#B6DCFE;" d="M30.189,34.5l-3.194-4.795L26.545,34.5h-10.97l1.423-10.187l-5.92-5.821
C10.71,18.097,10.5,17.562,10.5,17V8.5c0-1.103,0.897-2,2-2s2,0.897,2,2v7.734l3.861,3.217l7.509,2.031
c0.583,0.146,1.069,0.515,1.376,1.04L35.048,34.5H30.189z">


<path style="fill:#4788C7;" d="M12.5,7C13.327,7,14,7.673,14,8.5V9v3.5V16v0.468l0.36,0.3l3.597,2.998l0.168,0.14l0.211,0.057
l7.422,2.007c0.443,0.111,0.818,0.396,1.082,0.846L34.125,34h-3.668l-2.264-3.398l-1.564-2.348l-0.264,2.809L26.09,34h-9.94
l1.309-9.368l0.07-0.499l-0.359-0.353l-5.71-5.613C11.163,17.849,11,17.435,11,17v-4.5V9V8.5C11,7.673,11.673,7,12.5,7
M12.5,6 C11.119,6,10,7.119,10,8.5V9v3.5V17c0,0.686,0.26,1.347,0.727,1.849l5.741,5.645L15,35h12l0.361-3.844L29.922,35h6.049
l-8.293-12.729C27.319,21.658,26.733,21.183,26,21l-7.403-2.002L15,16v-3.5V9V8.5C15,7.119,13.881,6,12.5,6L12.5,6z">





<path style="fill:#4788C7;" d="M38,35v3H2v-3H38
M39,34H1v5h38V34L39,34z">










Free for developers
Jump right in if you're
in development or open source.


<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.1" x="0px" y="0px" viewBox="0 0
40 40" style="width:120px;" xml:space="preserve">



<polyline style="fill:none;stroke:#4788C7;stroke-linecap:round;stroke-miterlimit:10;"
points="25.5,30.5 38.5,30.5 38.5,1.5 1.5,1.5
1.5,30.5 16.5,30.5 ">

<rect x="2" y="2" style="fill:#98CCFD;" width="36"
height="7">





<path style="fill:#98CCFD;" d="M1.5,38.5v-3H17c1.379,0,2.5-1.121,2.5-2.5v-9.5h-4.398L21,16.76l5.898,6.74H22.5V33
c0,3.032-2.468,5.5-5.5,5.5H1.5z">





Easy integration
Get JSON results with simple
GET HTTP requests




A
huge range of publishers
News
API indexes articles from over 30,000
worldwide sources, including:





ABC News

abc-news



<div class="db no-underline grow" title="ABC
News (AU)">
<img alt="ABC News (AU)" class="icon" data-src="https://icon-locator.herokuapp.com/icon?url=http://www.abc.net.au/news&size=70..120..200"
referrerpolicy="no-referrer" />

ABC News (AU)

abc-news-au




<img alt="Aftenposten" class="icon" data-src="https://icon-locator.herokuapp.com/icon?url=https://www.aftenposten.no&size=70..120..200"
referrerpolicy="no-referrer" />

Aftenposten

aftenposten




<img alt="Al Jazeera English" class="icon"
data-src="https://icon-locator.herokuapp.com/icon?url=http://www.aljazeera.com&size=70..120..200"
referrerpolicy="no-referrer" />

Al Jazeera English

al-jazeera-english




<img alt="ANSA.it" class="icon" data-src="https://icon-locator.herokuapp.com/icon?url=http://www.ansa.it&size=70..120..200"
referrerpolicy="no-referrer" />

ANSA.it

ansa




<img alt="Argaam" class="icon" data-src="https://icon-locator.herokuapp.com/icon?url=http://www.argaam.com&size=70..120..200"
referrerpolicy="no-referrer" />

Argaam

argaam






Ars Technica

ars-technica



<div class="db no-underline grow" title="Ary
News">
<img alt="Ary News" class="icon" data-src="https://icon-locator.herokuapp.com/icon?url=https://arynews.tv/ud/&size=70..120..200"
referrerpolicy="no-referrer" />

Ary News

ary-news




<img alt="Axios" class="icon" data-src="https://icon-locator.herokuapp.com/icon?url=https://www.axios.com&size=70..120..200"
referrerpolicy="no-referrer" />

Axios

axios






BBC News

bbc-news



<div class="db no-underline grow" title="BBC
Sport">
<img alt="BBC Sport" class="icon" data-src="https://icon-locator.herokuapp.com/icon?url=http://www.bbc.co.uk/sport&size=70..120..200"
referrerpolicy="no-referrer" />

BBC Sport

bbc-sport




<img alt="Bild" class="icon" data-src="https://icon-locator.herokuapp.com/icon?url=http://www.bild.de&size=70..120..200"
referrerpolicy="no-referrer" />

Bild

bild


<div style="background:linear-gradient(rgba(255,255,255,0),
rgba(255,255,255,1)); bottom:0; height:180px;
left:0; pointer-events:none; position:absolute;
right:0; ">




“News API has been
the integral element allowing us to offer
relevant and timely political news to our
users – allowing them to take immediate
action to contact their representatives using
generated call scripts based on the articles
they read.”



Brandon Peterson
Founder at Capitol Call





<a class="f4 dib ba no-underline ph4 pv3 br2
grow na-blue bg-white" href="/register">Get
API key


Need
to talk to someone? Email us
or send us a tweet.


News API
Get started
Documentation
News sources
Pricing
Google News API


Company


Blog
- 

-->
Privacy policy
Terms of service


Support
<a class="color-inherit no-underline"
href="mailto:support@newsapi.org"> Contact
<i
class="fa fa-twitter"> Twitter
&nbsp;
<i
class="fa fa-github"> Github






//const $blogLatestArticleTitle = $('#blog-latest-article-title');
//$.getJSON('https://newsapi.org/blog/feed/json',
function (response) {
// $blogLatestArticleTitle.text(response.items[0].title);
// $blogLatestArticleTitle.attr('href', response.items[0].url);
//})




$('.code-carousel').codeCarousel();


(function (w, d) {
var b = d.getElementsByTagName('body')[0];
var s = d.createElement("script"); s.async
= true;
var v = !("IntersectionObserver" in w) ? "8.5.2"
: "10.3.5";
s.src = "https://cdnjs.cloudflare.com/ajax/libs/vanilla-lazyload/"
+ v + "/lazyload.min.js";
w.lazyLoadOptions = {}; // Your options here.
See "recipes" for more information about async.
b.appendChild(s);
}(window, document));








