World news api
world_news_apiThe World News API gives you access to thousands of news sources in over 50 languages from over 150 countries.
Acciones disponibles (6)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Extract NewsWORLD_NEWS_API_EXTRACT_NEWSAcciónTool to extract a news article from a website to a well-structured JSON object. Use when you need to extract structured data from a news article URL, including title, text, images, videos, publish date, authors, language, and sentiment.
WORLD_NEWS_API_EXTRACT_NEWSAcciónTool to extract a news article from a website to a well-structured JSON object. Use when you need to extract structured data from a news article URL, including title, text, images, videos, publish date, authors, language, and sentiment.
Parámetros de entrada
urlstringObligatorioThe URL of the news article to extract.
analyzebooleanWhether to analyze the extracted news (extract entities, detect sentiment etc.).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Extract News LinksWORLD_NEWS_API_EXTRACT_NEWS_LINKSAcciónTool to extract news article links from a website or webpage. Use when you need to discover all news article URLs on a page, with optional filtering by URL prefix and subdomain inclusion.
WORLD_NEWS_API_EXTRACT_NEWS_LINKSAcciónTool to extract news article links from a website or webpage. Use when you need to discover all news article URLs on a page, with optional filtering by URL prefix and subdomain inclusion.
Parámetros de entrada
urlstringObligatorioThe URL from which links should be extracted.
prefixstringThe prefix the news links must start with. Use to filter links by URL pattern.
analyzebooleanWhether to analyze the extracted news (extract entities, detect sentiment etc.).
sub_domainbooleanWhether to include links to news on sub-domains.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Geo CoordinatesWORLD_NEWS_API_GET_GEO_COORDINATESAcciónTool to retrieve latitude and longitude of a location name. Use when you need geographic coordinates to fill the location-filter parameter in news search operations.
WORLD_NEWS_API_GET_GEO_COORDINATESAcciónTool to retrieve latitude and longitude of a location name. Use when you need geographic coordinates to fill the location-filter parameter in news search operations.
Parámetros de entrada
locationstringObligatorioThe address or name of the location to retrieve coordinates for. Maximum length: 1000 characters.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
News Website to RSS FeedWORLD_NEWS_API_NEWS_WEBSITE_TO_RSS_FEEDAcciónTool to convert any news website page into an RSS feed. Provide a URL to a news website page and get back an RSS feed with the latest news from that page. Use when you need to create an RSS feed from a news website that doesn't provide one natively.
WORLD_NEWS_API_NEWS_WEBSITE_TO_RSS_FEEDAcciónTool to convert any news website page into an RSS feed. Provide a URL to a news website page and get back an RSS feed with the latest news from that page. Use when you need to create an RSS feed from a news website that doesn't provide one natively.
Parámetros de entrada
urlstringObligatorioThe URL of the news website to convert into an RSS feed. Any page of a news website can be provided.
extract-newsbooleanWhether to extract the full news content for each link instead of just returning the link. If true, the RSS feed will contain full article content. If false or not provided, only basic information is included.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search News SourcesWORLD_NEWS_API_SEARCH_NEWS_SOURCESAcciónTool to search whether a news source is being monitored by the World News API. Use when you need to check if a specific news source is available in the system.
WORLD_NEWS_API_SEARCH_NEWS_SOURCESAcciónTool to search whether a news source is being monitored by the World News API. Use when you need to check if a specific news source is available in the system.
Parámetros de entrada
namestringObligatorioThe (partial) name of the source to search for. Maximum length: 1000 characters.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Top NewsWORLD_NEWS_API_TOP_NEWSAcciónTool to 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. Use when you need to retrieve current or historical top news headlines and articles.
WORLD_NEWS_API_TOP_NEWSAcciónTool to 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. Use when you need to retrieve current or historical top news headlines and articles.
Parámetros de entrada
datestringThe date for which the top news should be retrieved in YYYY-MM-DD format (e.g., '2024-12-20'). If not provided, the current day is assumed.
languagestringObligatorioThe ISO 6391 language code of the top news (e.g., 'en', 'de', 'fr'). The language must be one spoken in the source-country. Must be exactly 2 characters.
headlines-onlybooleanWhether to only return basic information such as id, title, and url of the news. Set to true for a lighter response with just headlines.
source-countrystringObligatorioThe ISO 3166 country code of the country for which top news should be retrieved (e.g., 'us', 'gb', 'de'). Must be exactly 2 characters.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not