Skip to main content
Every worldnewsapi.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

News

extractNews

news.extractNews Extract a news article from a website to a well-structured JSON object, including title, text, images, videos, publish date, authors, language, and sentiment. Risk: read
Input Output

news.extractNewsLinks Extract news article links from a website or webpage, with optional filtering by URL prefix and subdomain inclusion. Risk: read
Input Output

getGeoCoordinates

news.getGeoCoordinates Retrieve latitude and longitude of a location name to fill the location-filter parameter in news search operations. Risk: read
Input Output

newsWebsiteToRssFeed

news.newsWebsiteToRssFeed Convert any news website page into an RSS feed with the latest news from that page. Risk: read
Input Output

searchNews

news.searchNews Search and filter news by text, date, location, category, language, and more. Risk: read
Input Output

searchNewsSources

news.searchNewsSources Search whether a news source is being monitored by the World News API. Risk: read
Input Output

topNews

news.topNews Get the top news from a country in a specific language for a given date. The top news are clustered from multiple sources in the specified country. Risk: read
Input Output