NAiOS IconNAiOS Logo
Volver al catálogo

World news api

world_news_api

The World News API gives you access to thousands of news sources in over 50 languages from over 150 countries.

Acciones
6
Triggers
0
Autenticación
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Tool 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

  • urlstringObligatorio

    The URL of the news article to extract.

  • analyzeboolean

    Whether to analyze the extracted news (extract entities, detect sentiment etc.).

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Extract News LinksWORLD_NEWS_API_EXTRACT_NEWS_LINKSAcción

Tool 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

  • urlstringObligatorio

    The URL from which links should be extracted.

  • prefixstring

    The prefix the news links must start with. Use to filter links by URL pattern.

  • analyzeboolean

    Whether to analyze the extracted news (extract entities, detect sentiment etc.).

  • sub_domainboolean

    Whether to include links to news on sub-domains.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Geo CoordinatesWORLD_NEWS_API_GET_GEO_COORDINATESAcción

Tool 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

  • locationstringObligatorio

    The address or name of the location to retrieve coordinates for. Maximum length: 1000 characters.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

News Website to RSS FeedWORLD_NEWS_API_NEWS_WEBSITE_TO_RSS_FEEDAcción

Tool 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

  • urlstringObligatorio

    The URL of the news website to convert into an RSS feed. Any page of a news website can be provided.

  • extract-newsboolean

    Whether 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

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search News SourcesWORLD_NEWS_API_SEARCH_NEWS_SOURCESAcción

Tool 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

  • namestringObligatorio

    The (partial) name of the source to search for. Maximum length: 1000 characters.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Top NewsWORLD_NEWS_API_TOP_NEWSAcción

Tool 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

  • datestring

    The 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.

  • languagestringObligatorio

    The 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-onlyboolean

    Whether 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-countrystringObligatorio

    The 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

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not