# 📡 Moka News API
Moka News API is a powerful, real-time news scraping service that aggregates the latest headlines from over 30 international news sources. It allows you to query news by **categories**, **sources**, or both—making it ideal for news apps, dashboards, or content feeds.
> **Live news updates every minute** | JSON format | Built for developers
## 🌍The Sources List :
- CNN
- BBC
- Yahoo
- The New York Times
- Fox News
- The Guardian
- Washington Post
- ABC News
- USA Today
- Daily Mail
- Russia Today
- CNBC
- Daily Expres
- The Sun
- The Independent
- CBC
- Daily Mirror
- Time
- Euro News
- France 24
- NBC News
- CBS News
- BuzzFeed
- Business Insider
- NPR
- Los Angeles Times
- New York Post
- Mashable
- SFGATE
- Slate Magazine
Get the list of all categories .
[
{
"id": 1,
"category": "World"
},
{
"id": 2,
"category": "Politics"
},
{
"id": 3,
"category": "Sport"
},
{
"id": 4,
"category": "Economy"
},
{
"id": 5,
"category": "Science"
},
{
"id": 6,
"category": "Entertainment"
},
{
"id": 7,
"category": "Video"
},
{
"id": 8,
"category": "Technology"
},
{
"id": 9,
"category": "Health"
},
{
"id": 10,
"category": "Football"
},
{
"id": 11,
"category": "Family"
},
{
"id": 12,
"category": "USA"
},
{
"id": 13,
"category": "UK"
},
{
"id": 14,
"category": "Travel"
},
{
"id": 15,
"category": "Food"
},
{
"id": 16,
"category": "Cars"
},
{
"id": 17,
"category": "Culture"
}
]
curl --location --request GET 'https://zylalabs.com/api/6793/moka+news+api/10200/categories' --header 'Authorization: Bearer YOUR_API_KEY'
Get recent new by category
byCategory - Endpoint Features
| Object | Description |
|---|---|
cat |
[Required] |
[
{
"title": "Non-league team handed league title despite finishing THIRD… a whole month after season finished",
"link": "https://www.thesun.co.uk/sport/35079630/non-league-whyteleafe-league-title-premier-south/",
"image": "https://www.thesun.co.uk/wp-content/uploads/2025/05/makes-another-tackle-isuzu-fa-994185581.jpg",
"pubDate": "Thu, 22 May 2025 17:18:07 +0000",
"source": "thesun",
"category": "Sport"
},
{
"title": "Luka Modric tipped to make ‘tremendous, Championship transfer after Real Madrid exit",
"link": "https://www.thesun.co.uk/sport/35079067/luka-modric-transfer-swansea-real-madrid-exit/",
"image": "https://www.thesun.co.uk/wp-content/uploads/2025/05/10-luka-modric-celebrates-scoring-997207056.jpg",
"pubDate": "Thu, 22 May 2025 17:12:44 +0000",
"source": "thesun",
"category": "Sport"
}
]
curl --location --request GET 'https://zylalabs.com/api/6793/moka+news+api/10201/bycategory?cat=Sport' --header 'Authorization: Bearer YOUR_API_KEY'
Recent 50 news
[
{
"title": "Crisis as UK beaches face jellyfish invasion – 'venomous to humans'",
"link": "https://www.express.co.uk/news/uk/2058980/crisis-uk-beaches-jellyfish-invasion",
"image": "https://cdn.images.express.co.uk/img/dynamic/1/590x/2058980_1.jpg",
"pubDate": "Thu, 22 May 2025 17:24:00 +0100",
"source": "dexpress",
"category": "UK"
},
{
"title": "Boy, 15, dies after collapsing on football pitch as hospital 'mistake' revealed",
"link": "https://www.express.co.uk/news/uk/2059013/boy-15-dies-collapsing-playing",
"image": "https://cdn.images.express.co.uk/img/dynamic/1/590x/2059013_1.jpg",
"pubDate": "Thu, 22 May 2025 17:37:00 +0100",
"source": "dexpress",
"category": "UK"
}
]
curl --location --request GET 'https://zylalabs.com/api/6793/moka+news+api/10202/recent50' --header 'Authorization: Bearer YOUR_API_KEY'
[
{
"title": "Crisis as UK beaches face jellyfish invasion – 'venomous to humans'",
"link": "https://www.express.co.uk/news/uk/2058980/crisis-uk-beaches-jellyfish-invasion",
"image": "https://cdn.images.express.co.uk/img/dynamic/1/590x/2058980_1.jpg",
"pubDate": "Thu, 22 May 2025 17:24:00 +0100",
"source": "dexpress",
"category": "UK"
},
{
"title": "Boy, 15, dies after collapsing on football pitch as hospital 'mistake' revealed",
"link": "https://www.express.co.uk/news/uk/2059013/boy-15-dies-collapsing-playing",
"image": "https://cdn.images.express.co.uk/img/dynamic/1/590x/2059013_1.jpg",
"pubDate": "Thu, 22 May 2025 17:37:00 +0100",
"source": "dexpress",
"category": "UK"
}
]
curl --location --request GET 'https://zylalabs.com/api/6793/moka+news+api/10203/recent100' --header 'Authorization: Bearer YOUR_API_KEY'
Get the list of news sources
[
{
"id": 1,
"sourceName": "CNN",
"source": "cnn"
},
{
"id": 2,
"sourceName": "BBC",
"source": "bbc"
}
]
curl --location --request GET 'https://zylalabs.com/api/6793/moka+news+api/10204/sources+list' --header 'Authorization: Bearer YOUR_API_KEY'
bySource - Endpoint Features
| Object | Description |
|---|---|
source |
[Required] |
[
{
"title": "Sluggish sloth's secrets of success revealed in new study",
"link": "https://www.bbc.com/news/articles/cqj774l548po#0",
"image": "",
"pubDate": "Thu, 22 May 2025 17:07:32 GMT",
"source": "bbc",
"category": "Science"
},
{
"title": "'Multiple fatalities' after small plane crash in San Diego neighbourhood",
"link": "https://www.bbc.com/news/articles/c0mr844xl42o#0",
"image": "",
"pubDate": "Thu, 22 May 2025 16:53:14 GMT",
"source": "bbc",
"category": "World"
}
]
curl --location --request GET 'https://zylalabs.com/api/6793/moka+news+api/10205/bysource?source=bbc' --header 'Authorization: Bearer YOUR_API_KEY'
Filter news by category and source .
filterBy - Endpoint Features
| Object | Description |
|---|---|
source |
[Required] |
cat |
[Required] |
[
{
"title": "Donate now to a Top 10 CNN Hero",
"link": "https://www.cnn.com/videos/tv/2021/11/26/how-to-donate-matching-cnnheroes.cnn",
"image": "https://cdn.cnn.com/cnnnext/dam/assets/211126161149-how-to-donate-matching-cnnheroes-00000000-super-169.png",
"pubDate": "Fri, 26 Nov 2021 21:14:02 GMT",
"source": "cnn",
"category": "World"
},
{
"title": "CNN Heroes: Sharing the Spotlight",
"link": "https://www.cnn.com/specials/cnn-heroes-salutes-special",
"image": "https://cdn.cnn.com/cnnnext/dam/assets/221209134855-sharing-the-spotlight-card-cnnheroes-super-169.jpg",
"pubDate": "Sat, 10 Dec 2022 19:39:29 GMT",
"source": "cnn",
"category": "World"
}
]
curl --location --request GET 'https://zylalabs.com/api/6793/moka+news+api/10206/filterby?source=cnn&cat=World' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
Each endpoint returns JSON data related to news articles. For example, the `GET byCategory` endpoint provides recent news articles categorized by topics like Sports or Politics, while `GET Sources List` returns a list of available news sources.
Key fields include `title`, `link`, `image`, `pubDate`, `source`, and `category`. For instance, in the `GET Recent50` response, each article includes these fields to provide comprehensive information about the news item.
The API provides various information types, including news categories, recent articles, and sources. For example, `GET Categories` lists available news categories, while `GET Recent100` returns the latest 100 news articles.
Response data is organized as an array of objects, each representing a news article or category. Each object contains relevant fields, such as `title` and `link`, making it easy to parse and display in applications.
The data is sourced from over 30 reputable news outlets, including CNN, BBC, and The Guardian. This diverse range ensures a broad perspective on global news events.
Typical use cases include integrating live news feeds into applications, creating news dashboards, or developing content aggregation platforms. The API's real-time updates make it suitable for dynamic news displays.
Users can customize requests by specifying parameters such as `category` or `source` in endpoints like `GET byCategory` or `GET bySource`. This allows for tailored news retrieval based on user interests.
Users can utilize the returned data by displaying article titles and links in their applications, creating alerts for specific categories, or analyzing trends based on publication dates and sources.
Each endpoint allows for specific parameters to refine data retrieval. For example, `GET byCategory` requires a `category` parameter, while `GET bySource` needs a `source` parameter. The `GET filterBy` endpoint combines both category and source for more targeted results.
The Moka News API covers a wide range of categories, including World, Politics, Sports, Science, and more. It aggregates news from over 30 international sources, ensuring diverse coverage of global events.
Users should implement checks for empty arrays in responses. If an endpoint returns no articles, the application can display a message indicating no news is available for the specified criteria, enhancing user experience.
Key fields include `title` (article headline), `link` (URL to the article), `image` (thumbnail or main image), `pubDate` (publication date), `source` (news outlet), and `category` (news topic). Understanding these fields helps in effectively displaying news content.
Data accuracy is maintained by sourcing news from reputable outlets and continuously updating the API to reflect the latest articles. Regular checks ensure that the information remains current and reliable.
The API implements quality checks by aggregating news from established sources and monitoring for broken links or outdated articles. This ensures that users receive high-quality, relevant news content.
Responses typically include an array of articles, each structured with fields like `title`, `link`, and `pubDate`. Users can expect consistent formatting, making it easier to parse and display the data in applications.
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
479ms
Service Level:
100%
Response Time:
402ms
Service Level:
100%
Response Time:
1,284ms
Service Level:
100%
Response Time:
7,928ms
Service Level:
100%
Response Time:
684ms
Service Level:
100%
Response Time:
55ms
Service Level:
100%
Response Time:
2,612ms
Service Level:
100%
Response Time:
872ms
Service Level:
100%
Response Time:
8,596ms
Service Level:
100%
Response Time:
1,439ms
Service Level:
100%
Response Time:
1,227ms
Service Level:
100%
Response Time:
584ms
Service Level:
100%
Response Time:
1,512ms
Service Level:
100%
Response Time:
1,161ms
Service Level:
100%
Response Time:
1,291ms
Service Level:
100%
Response Time:
1,328ms
Service Level:
100%
Response Time:
1,533ms
Service Level:
100%
Response Time:
1,102ms
Service Level:
100%
Response Time:
1,405ms
Service Level:
100%
Response Time:
1,249ms