Skip to main content

Newsdata

Newsdata.io provides a REST API for aggregated news data across news sources, countries, and languages. It exposes endpoints for the latest and historical news, crypto and financial-market news, article counts, and the list of available sources, all authenticated with a single API key.

Newsdata icon

Power end-to-end data operations for your Newsdata API with Nexla. Our bi-directional Newsdata connector is purpose-built for Newsdata, making it simple to ingest data, sync it across systems, and deliver it anywhere — all with no coding required. Nexla turns API-sourced data into ready-to-use, reusable data products and makes it easy to send data to Newsdata or any other destination. With comprehensive monitoring, lineage tracking, and access controls, Nexla keeps your Newsdata workflows fast, secure, and fully governed.

Features

Type: API

SourceDestination

  • Seamless API Integration: Connect to any endpoint as source or destination without coding, with automatic data product creation
  • Visual Composition & Chaining: Build complex integrations using visual templates, chain API calls, and compose workflows with data validation and filtering
  • API Proxy: Expose curated slices of your data securely with a secure and customizable API proxy that validates and transforms data on the fly
  • Request optimization with intelligent batching, retry, and caching to minimize API calls and costs

Prerequisites

To connect Nexla to Newsdata.io, you need a Newsdata.io API key and the API base URL (https://newsdata.io/api/1). Newsdata.io authenticates every request with an API key that is passed as the apikey query parameter.

To obtain your API key, follow these steps:

  1. Sign up for a Newsdata.io account, or sign in if you already have one, at newsdata.io.

  2. Open your account Dashboard from the site header.

  3. Go to the API Key section of the dashboard to view your API Keys.

  4. A default API key is created for you automatically. Copy this key using the copy control next to it. Paid plans can also generate, rename, and manage additional API keys from this screen.

  5. Store the API key securely. Treat it as a secret and do not share it, as it authenticates all requests made against your Newsdata.io account and consumes your plan's credits.

For more details on authentication, endpoints, and available filters, refer to the Newsdata.io API documentation.

Authenticate

Credentials required

FieldRequiredSecretDescription
API Key ValueYesYesAn encoded string value used as a secret token to authenticate API requests
Base URLYesNoThe base URL for the Newsdata.io API.

Create a credential in Nexla

  1. After selecting the data source type, click the Add Credential tile to open the Add New Credential overlay.

  2. Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.

  3. Enter your Newsdata.io API key in the API Key Value field. This value is passed as the apikey query parameter on every request and must be kept confidential.

  4. Enter the Newsdata.io API base URL in the Base URL field. This defaults to https://newsdata.io/api/1.

    If your API key is compromised, regenerate or delete it from the API Key section of your Newsdata.io dashboard and update the credential in Nexla with the new value.

    For detailed information about authentication and available endpoints, see the Newsdata.io API documentation.

  5. Click the Save button at the bottom of the overlay. The newly added credential will now appear in a tile on the Authenticate screen during data source creation.

Use as a data source

To create a new data flow, navigate to the Integrate section, and click the New Data Flow button. Select the Newsdata connector tile, then select the credential that will be used to connect to Newsdata.io, and click Next; or, create a new Newsdata credential for use in this flow.

Endpoint templates

Nexla provides pre-built templates that can be used to rapidly configure data sources to ingest data from common Newsdata.io endpoints. Select the endpoint from which this source will fetch data from the Endpoint pulldown menu. Available endpoint templates are listed in the expandable boxes below.

[Rest API] Get Latest News

Returns the latest news articles from Newsdata. Use this template when you need a general feed of recent news across sources.

  • This endpoint reads from the /news path and returns articles under the results array. Nexla automatically follows the API's next-page token to fetch subsequent pages of data.

For details about the response structure and available filters, see the Newsdata.io latest news endpoint documentation.

[Rest API] Get News Sources

Returns a list of available news sources that can be queried. Use this template to discover source identifiers and metadata for use in other endpoints.

  • This endpoint reads from the /sources path and returns records under the results array in a single request.

For details about the available source fields, see the Newsdata.io news sources endpoint documentation.

[Rest API] Search News Archive

Search historical news articles by date range, supporting keyword, language, country, category, domain, and article-ID filters.

  • This endpoint reads from the /archive path and returns articles under the results array. Configure the From Date, To Date, Query, and other filter parameters to narrow the search. Nexla automatically follows the next-page token to fetch subsequent pages of data.

For details about supported filters and date formats, see the Newsdata.io news archive endpoint documentation.

[Rest API] Retrieve Latest News Articles

Retrieve the latest news articles (up to the past 48 hours) across all sources, filterable by keyword, country, language, category, and domain.

  • This endpoint reads from the /latest path and returns articles under the results array. Configure the Query, Language, Country, Category, and Domain parameters to filter results. Nexla automatically follows the next-page token to fetch subsequent pages of data.

For details about supported filters, see the Newsdata.io latest news endpoint documentation.

[Rest API] Fetch Crypto News

Fetch crypto-specific news articles. Supports crypto-sector-specific filter parameters (for example, symbol and coin) in addition to the standard keyword, country, and language filters.

  • This endpoint reads from the /crypto path and returns articles under the results array. Configure the Query, Language, Country, Crypto Symbol, and Coin parameters to filter results. Nexla automatically follows the next-page token to fetch subsequent pages of data.

For details about the crypto news filters, see the Newsdata.io crypto news endpoint documentation.

[Rest API] Fetch Market News

Fetch financial-market news articles, filterable by stock symbol, date range, keyword, and other standard parameters.

  • This endpoint reads from the /market path and returns articles under the results array. Configure the Query, Stock Symbol, From Date, To Date, Language, and Country parameters to filter results. Nexla automatically follows the next-page token to fetch subsequent pages of data.

For details about the market news filters, see the Newsdata.io market news endpoint documentation.

[Rest API] Count News Articles

Count news articles matching a query and filters. This is useful for analytics and quota management.

  • This endpoint reads from the /count path and returns a single count result. The From Date and To Date parameters are required; Query, Language, Country, and Category are optional filters.

For details about the count response, see the Newsdata.io count news endpoint documentation.

[Rest API] Count Crypto News Articles

Return the count of crypto news articles matching a query — the analytics companion to the crypto news endpoint.

  • This endpoint reads from the /crypto/count path and returns a single count result. The From Date and To Date parameters are required; Query, Crypto Symbol, and Coin are optional filters.

For details about the count response, see the Newsdata.io count news endpoint documentation.

[Rest API] Count Market News Articles

Return the count of market news articles matching a query and date range — the analytics companion to the market news endpoint.

  • This endpoint reads from the /market/count path and returns a single count result. The From Date and To Date parameters are required; Query, Stock Symbol, Language, and Country are optional filters.

For details about the count response, see the Newsdata.io count news endpoint documentation.

Once the selected endpoint template has been configured, click the Test button to the right of the endpoint selection menu to retrieve a sample of the data that will be fetched. Sample data will be displayed in the Endpoint Test Result panel on the right, allowing you to verify that the source is configured correctly before saving.

Manual configuration

Newsdata data sources can also be manually configured to ingest data from any valid Newsdata.io API endpoint, including endpoints not covered by the pre-built templates, chained API calls, or custom request parameters. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, endpoint URL, date/time and lookup macros, path to data, metadata, and request headers.

Once all of the relevant settings have been configured, click the Create button in the upper right corner of the screen to save and create the new Newsdata data source. Nexla will now begin ingesting data from the configured endpoint and will organize any data that it finds into one or more Nexsets.