> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# NewsData.io

> Worldwide news API: latest and archived articles with country, category, language, domain and sentiment filters, plus crypto and market news, sources and article counts.

![](https://mintcdn.com/webrouter/JBFYvcRI1PVnd4YX/logo/data-apis/newsdata.webp?fit=max\&auto=format\&n=JBFYvcRI1PVnd4YX\&q=85\&s=dc0cba5257165081d6af6c43fd56dc37)

[Web Catalog · Search](https://docs.webrouter.net/data-apis.md?category=search)

Needs&#x20;

`NEWSDATA_API_KEY`

Endpoints

6

Auth

Key in header

[Vendor docs](https://newsdata.io/documentation)

&#x20;·&#x20;

[Pricing](https://newsdata.io/pricing)

## Setup

| Variable | | What it is |
| - | - | - |
| `NEWSDATA_API_KEY` | required | a NewsData.io API key (newsdata.io dashboard). Sent in the X-ACCESS-KEY header; an apikey query parameter also works. |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Credits per call: latest, crypto, market and sources 1; archive 5; count endpoints 50. Cost does not depend on size; 4xx/5xx answers are free.
* Free plan: 200 credits a day, 10 articles per request, 30 requests per 15 minutes, articles delayed 12 hours, last 48 hours only, no archive. Paid plans: 1800 credits per 15 minutes.
* Paging is a cursor: send the response's nextPage back as page with the same other parameters; stop when it is null.
* Multi-value filters are comma-separated; include and exclude versions of one filter cannot be combined.

## Endpoints

GET

Search latest news

Articles from the past 48 hours, newest first by default.

[Open](#newsdata-latest)

GET

Search the news archive

Past articles over a date range (paid plans only).

[Open](#newsdata-archive)

GET

Search crypto news

Cryptocurrency news, filterable by coin.

[Open](#newsdata-crypto)

GET

Search financial-market news

Market and stock news tagged with ticker symbols.

[Open](#newsdata-market)

GET

List news sources

Up to 100 sources matching filters, in random order, not paginated.

[Open](#newsdata-sources)

GET

Count matching articles

Number of archive articles matching filters over a date range, in total or per day or hour.

[Open](#newsdata-count)

### Search latest news

GET

`/latest`

`newsdata.latest`

Articles from the past 48 hours, newest first by default.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `q`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Keywords in title, content, URL and metadata; AND/OR/NOT and quotes supported. Max 512 characters. Not with qInTitle or qInMeta.
      </td>
    </tr>

    <tr>
      <td>
        `qInTitle`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Keywords in the title only (max 512). Not with q or qInMeta.
      </td>
    </tr>

    <tr>
      <td>
        `qInMeta`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Keywords in title, URL and meta tags (max 512). Not with q or qInTitle.
      </td>
    </tr>

    <tr>
      <td>
        `country`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated country codes (5 on Free/Basic, 10 on higher plans). Not with excludecountry.
      </td>
    </tr>

    <tr>
      <td>
        `category`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated category codes, e.g. business,technology (5 on Free/Basic). Not with excludecategory.
      </td>
    </tr>

    <tr>
      <td>
        `language`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated language codes (5 on Free/Basic). Not with excludelanguage.
      </td>
    </tr>

    <tr>
      <td>
        `domainurl`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated domains, e.g. nytimes.com,bbc.com (5 on Free/Basic).
      </td>
    </tr>

    <tr>
      <td>
        `excludedomainurl`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated domains to exclude.
      </td>
    </tr>

    <tr><td>`prioritydomain`</td><td>string</td><td>query</td><td>Only top (top 10%), medium (30%) or low (50%) ranked sources. One of `top`, `medium`, `low`</td></tr>

    <tr>
      <td>
        `id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated article\_id values (up to 50).
      </td>
    </tr>

    <tr><td>`sentiment`</td><td>string</td><td>query</td><td>Sentiment filter (paid feature). One of `positive`, `neutral`, `negative`</td></tr>
    <tr><td>`full_content`</td><td>integer</td><td>query</td><td>1 only articles with full\_content, 0 only without. One of `0`, `1`</td></tr>
    <tr><td>`removeduplicate`</td><td>integer</td><td>query</td><td>1 drops articles NewsData judges duplicates. One of `0`, `1`</td></tr>

    <tr>
      <td>
        `size`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Articles per page: 1 to 10 on Free, 1 to 50 on paid plans.
      </td>
    </tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Next page: the nextPage value from the previous answer (a page number with relevancy, source or fetched\_at sort).
      </td>
    </tr>

    <tr><td>`sort`</td><td>string</td><td>query</td><td>Default pubdatedesc. relevancy needs a q parameter; relevancy, source and fetched\_at reach the first 10,000 results only. One of `pubdatedesc`, `pubdateasc`, `relevancy`, `source`, `fetched_at`</td></tr>

    <tr>
      <td>
        `timeframe`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Last N hours (1-48) or minutes (e.g. 15m, up to 2880m).
      </td>
    </tr>

    <tr>
      <td>
        `excludecountry`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated country codes to exclude.
      </td>
    </tr>

    <tr>
      <td>
        `excludecategory`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated categories to exclude.
      </td>
    </tr>

    <tr>
      <td>
        `excludelanguage`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated languages to exclude.
      </td>
    </tr>

    <tr>
      <td>
        `datatype`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated: news, blog, multimedia, forum, pressrelease, review, research, opinion, analysis, podcast.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://newsdata.io/documentation/latest-news-api) · Same job: [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-news-search), [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-news), [Andi AI Search](https://docs.webrouter.net/data-apis/andi.md#andi-news-topics), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-google-news), [Benzinga](https://docs.webrouter.net/data-apis/benzinga.md#benzinga-news), [Context.dev](https://docs.webrouter.net/data-apis/branddev.md#branddev-news-search)

```python Python theme={null}
router.call_data_api("newsdata.latest")
```

```text MCP theme={null}
call_data_api(endpoint="newsdata.latest")
```

> [!NOTE]
>
> * 1 credit per call.

### Search the news archive

GET

`/archive`

`newsdata.archive`

Past articles over a date range (paid plans only).

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `q`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Keywords in title, content, URL and metadata; AND/OR/NOT and quotes supported. Max 512 characters. Not with qInTitle or qInMeta.
      </td>
    </tr>

    <tr>
      <td>
        `qInTitle`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Keywords in the title only (max 512). Not with q or qInMeta.
      </td>
    </tr>

    <tr>
      <td>
        `qInMeta`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Keywords in title, URL and meta tags (max 512). Not with q or qInTitle.
      </td>
    </tr>

    <tr>
      <td>
        `country`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated country codes (5 on Free/Basic, 10 on higher plans). Not with excludecountry.
      </td>
    </tr>

    <tr>
      <td>
        `category`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated category codes, e.g. business,technology (5 on Free/Basic). Not with excludecategory.
      </td>
    </tr>

    <tr>
      <td>
        `language`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated language codes (5 on Free/Basic). Not with excludelanguage.
      </td>
    </tr>

    <tr>
      <td>
        `domainurl`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated domains, e.g. nytimes.com,bbc.com (5 on Free/Basic).
      </td>
    </tr>

    <tr>
      <td>
        `excludedomainurl`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated domains to exclude.
      </td>
    </tr>

    <tr><td>`prioritydomain`</td><td>string</td><td>query</td><td>Only top (top 10%), medium (30%) or low (50%) ranked sources. One of `top`, `medium`, `low`</td></tr>

    <tr>
      <td>
        `id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated article\_id values (up to 50).
      </td>
    </tr>

    <tr><td>`sentiment`</td><td>string</td><td>query</td><td>Sentiment filter (paid feature). One of `positive`, `neutral`, `negative`</td></tr>
    <tr><td>`full_content`</td><td>integer</td><td>query</td><td>1 only articles with full\_content, 0 only without. One of `0`, `1`</td></tr>
    <tr><td>`removeduplicate`</td><td>integer</td><td>query</td><td>1 drops articles NewsData judges duplicates. One of `0`, `1`</td></tr>

    <tr>
      <td>
        `size`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Articles per page: 1 to 10 on Free, 1 to 50 on paid plans.
      </td>
    </tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Next page: the nextPage value from the previous answer (a page number with relevancy, source or fetched\_at sort).
      </td>
    </tr>

    <tr><td>`sort`</td><td>string</td><td>query</td><td>Default pubdatedesc. relevancy needs a q parameter; relevancy, source and fetched\_at reach the first 10,000 results only. One of `pubdatedesc`, `pubdateasc`, `relevancy`, `source`, `fetched_at`</td></tr>

    <tr>
      <td>
        `from_date`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        From date, YYYY-MM-DD or YYYY-MM-DD HH:MM:SS, UTC. Limited by plan history.
      </td>
    </tr>

    <tr>
      <td>
        `to_date`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        To date, YYYY-MM-DD or YYYY-MM-DD HH:MM:SS, UTC.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://newsdata.io/openapi.json) · Same job: [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-news-search), [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-news), [Andi AI Search](https://docs.webrouter.net/data-apis/andi.md#andi-news-topics), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-google-news), [Benzinga](https://docs.webrouter.net/data-apis/benzinga.md#benzinga-news), [Context.dev](https://docs.webrouter.net/data-apis/branddev.md#branddev-news-search)

```python Python theme={null}
router.call_data_api("newsdata.archive")
```

```text MCP theme={null}
call_data_api(endpoint="newsdata.archive")
```

> [!NOTE]
>
> * 5 credits per call. Free plan answers 403. History: Basic 6 months, Professional 2 years, Corporate 10 years.
> * Needs at least one of q, qInTitle, qInMeta, country, category, language, domainurl, prioritydomain, id, url, image, video, full\_content. No timeframe here.

### Search crypto news

GET

`/crypto`

`newsdata.crypto`

Cryptocurrency news, filterable by coin.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `q`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Keywords in title, content, URL and metadata; AND/OR/NOT and quotes supported. Max 512 characters. Not with qInTitle or qInMeta.
      </td>
    </tr>

    <tr>
      <td>
        `qInTitle`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Keywords in the title only (max 512). Not with q or qInMeta.
      </td>
    </tr>

    <tr>
      <td>
        `qInMeta`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Keywords in title, URL and meta tags (max 512). Not with q or qInTitle.
      </td>
    </tr>

    <tr>
      <td>
        `language`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated language codes (5 on Free/Basic). Not with excludelanguage.
      </td>
    </tr>

    <tr>
      <td>
        `domainurl`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated domains, e.g. nytimes.com,bbc.com (5 on Free/Basic).
      </td>
    </tr>

    <tr>
      <td>
        `excludedomainurl`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated domains to exclude.
      </td>
    </tr>

    <tr><td>`prioritydomain`</td><td>string</td><td>query</td><td>Only top (top 10%), medium (30%) or low (50%) ranked sources. One of `top`, `medium`, `low`</td></tr>

    <tr>
      <td>
        `id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated article\_id values (up to 50).
      </td>
    </tr>

    <tr><td>`sentiment`</td><td>string</td><td>query</td><td>Sentiment filter (paid feature). One of `positive`, `neutral`, `negative`</td></tr>
    <tr><td>`full_content`</td><td>integer</td><td>query</td><td>1 only articles with full\_content, 0 only without. One of `0`, `1`</td></tr>
    <tr><td>`removeduplicate`</td><td>integer</td><td>query</td><td>1 drops articles NewsData judges duplicates. One of `0`, `1`</td></tr>

    <tr>
      <td>
        `size`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Articles per page: 1 to 10 on Free, 1 to 50 on paid plans.
      </td>
    </tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Next page: the nextPage value from the previous answer (a page number with relevancy, source or fetched\_at sort).
      </td>
    </tr>

    <tr><td>`sort`</td><td>string</td><td>query</td><td>Default pubdatedesc. relevancy needs a q parameter; relevancy, source and fetched\_at reach the first 10,000 results only. One of `pubdatedesc`, `pubdateasc`, `relevancy`, `source`, `fetched_at`</td></tr>

    <tr>
      <td>
        `timeframe`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Last N hours (1-48) or minutes (e.g. 15m, up to 2880m).
      </td>
    </tr>

    <tr>
      <td>
        `from_date`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        From date, YYYY-MM-DD or YYYY-MM-DD HH:MM:SS, UTC. Limited by plan history.
      </td>
    </tr>

    <tr>
      <td>
        `to_date`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        To date, YYYY-MM-DD or YYYY-MM-DD HH:MM:SS, UTC.
      </td>
    </tr>

    <tr>
      <td>
        `coin`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated coin symbols, e.g. btc,eth (5 on Free/Basic).
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://newsdata.io/documentation/crypto-news-api) · Same job: [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-news-search), [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-news), [Andi AI Search](https://docs.webrouter.net/data-apis/andi.md#andi-news-topics), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-google-news), [Benzinga](https://docs.webrouter.net/data-apis/benzinga.md#benzinga-news), [Context.dev](https://docs.webrouter.net/data-apis/branddev.md#branddev-news-search)

```python Python theme={null}
router.call_data_api("newsdata.crypto")
```

```text MCP theme={null}
call_data_api(endpoint="newsdata.crypto")
```

> [!NOTE]
>
> * 1 credit per call.

### Search financial-market news

GET

`/market`

`newsdata.market`

Market and stock news tagged with ticker symbols.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `q`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Keywords in title, content, URL and metadata; AND/OR/NOT and quotes supported. Max 512 characters. Not with qInTitle or qInMeta.
      </td>
    </tr>

    <tr>
      <td>
        `qInTitle`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Keywords in the title only (max 512). Not with q or qInMeta.
      </td>
    </tr>

    <tr>
      <td>
        `qInMeta`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Keywords in title, URL and meta tags (max 512). Not with q or qInTitle.
      </td>
    </tr>

    <tr>
      <td>
        `country`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated country codes (5 on Free/Basic, 10 on higher plans). Not with excludecountry.
      </td>
    </tr>

    <tr>
      <td>
        `language`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated language codes (5 on Free/Basic). Not with excludelanguage.
      </td>
    </tr>

    <tr>
      <td>
        `domainurl`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated domains, e.g. nytimes.com,bbc.com (5 on Free/Basic).
      </td>
    </tr>

    <tr>
      <td>
        `excludedomainurl`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated domains to exclude.
      </td>
    </tr>

    <tr><td>`prioritydomain`</td><td>string</td><td>query</td><td>Only top (top 10%), medium (30%) or low (50%) ranked sources. One of `top`, `medium`, `low`</td></tr>

    <tr>
      <td>
        `id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated article\_id values (up to 50).
      </td>
    </tr>

    <tr><td>`sentiment`</td><td>string</td><td>query</td><td>Sentiment filter (paid feature). One of `positive`, `neutral`, `negative`</td></tr>
    <tr><td>`full_content`</td><td>integer</td><td>query</td><td>1 only articles with full\_content, 0 only without. One of `0`, `1`</td></tr>
    <tr><td>`removeduplicate`</td><td>integer</td><td>query</td><td>1 drops articles NewsData judges duplicates. One of `0`, `1`</td></tr>

    <tr>
      <td>
        `size`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Articles per page: 1 to 10 on Free, 1 to 50 on paid plans.
      </td>
    </tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Next page: the nextPage value from the previous answer (a page number with relevancy, source or fetched\_at sort).
      </td>
    </tr>

    <tr><td>`sort`</td><td>string</td><td>query</td><td>Default pubdatedesc. relevancy needs a q parameter; relevancy, source and fetched\_at reach the first 10,000 results only. One of `pubdatedesc`, `pubdateasc`, `relevancy`, `source`, `fetched_at`</td></tr>

    <tr>
      <td>
        `timeframe`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Last N hours (1-48) or minutes (e.g. 15m, up to 2880m).
      </td>
    </tr>

    <tr>
      <td>
        `from_date`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        From date, YYYY-MM-DD or YYYY-MM-DD HH:MM:SS, UTC. Limited by plan history.
      </td>
    </tr>

    <tr>
      <td>
        `to_date`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        To date, YYYY-MM-DD or YYYY-MM-DD HH:MM:SS, UTC.
      </td>
    </tr>

    <tr>
      <td>
        `market_id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated market symbol IDs (up to the plan's filter limit, default 5).
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://newsdata.io/openapi.json) · Same job: [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-news-search), [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-news), [Andi AI Search](https://docs.webrouter.net/data-apis/andi.md#andi-news-topics), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-google-news), [Benzinga](https://docs.webrouter.net/data-apis/benzinga.md#benzinga-news), [Context.dev](https://docs.webrouter.net/data-apis/branddev.md#branddev-news-search)

```python Python theme={null}
router.call_data_api("newsdata.market")
```

```text MCP theme={null}
call_data_api(endpoint="newsdata.market")
```

> [!NOTE]
>
> * 1 credit per call. Free plan: last 7 days, 12-hour delay, no from\_date, to\_date or timeframe. Paid: from\_date/to\_date or timeframe, not both; default last 48 hours.

### List news sources

GET

`/sources`

`newsdata.sources`

Up to 100 sources matching filters, in random order, not paginated.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `country`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Country code.
      </td>
    </tr>

    <tr>
      <td>
        `category`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Category code.
      </td>
    </tr>

    <tr>
      <td>
        `language`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Language code.
      </td>
    </tr>

    <tr>
      <td>
        `domainurl`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Domain to look up.
      </td>
    </tr>

    <tr><td>`prioritydomain`</td><td>string</td><td>query</td><td>Source rank. One of `top`, `medium`, `low`</td></tr>
  </tbody>
</table>

[Vendor docs](https://newsdata.io/openapi.json) · Same job: [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-news-search), [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-news), [Andi AI Search](https://docs.webrouter.net/data-apis/andi.md#andi-news-topics), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-google-news), [Benzinga](https://docs.webrouter.net/data-apis/benzinga.md#benzinga-news), [Context.dev](https://docs.webrouter.net/data-apis/branddev.md#branddev-news-search)

```python Python theme={null}
router.call_data_api("newsdata.sources")
```

```text MCP theme={null}
call_data_api(endpoint="newsdata.sources")
```

> [!NOTE]
>
> * 1 credit per call.

### Count matching articles

GET

`/count`

`newsdata.count`

Number of archive articles matching filters over a date range, in total or per day or hour.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `q`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Keywords in title, content, URL and metadata; AND/OR/NOT and quotes supported. Max 512 characters. Not with qInTitle or qInMeta.
      </td>
    </tr>

    <tr>
      <td>
        `qInTitle`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Keywords in the title only (max 512). Not with q or qInMeta.
      </td>
    </tr>

    <tr>
      <td>
        `qInMeta`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Keywords in title, URL and meta tags (max 512). Not with q or qInTitle.
      </td>
    </tr>

    <tr>
      <td>
        `country`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated country codes (5 on Free/Basic, 10 on higher plans). Not with excludecountry.
      </td>
    </tr>

    <tr>
      <td>
        `category`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated category codes, e.g. business,technology (5 on Free/Basic). Not with excludecategory.
      </td>
    </tr>

    <tr>
      <td>
        `language`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated language codes (5 on Free/Basic). Not with excludelanguage.
      </td>
    </tr>

    <tr>
      <td>
        `domainurl`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated domains, e.g. nytimes.com,bbc.com (5 on Free/Basic).
      </td>
    </tr>

    <tr>
      <td>
        `excludedomainurl`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated domains to exclude.
      </td>
    </tr>

    <tr><td>`prioritydomain`</td><td>string</td><td>query</td><td>Only top (top 10%), medium (30%) or low (50%) ranked sources. One of `top`, `medium`, `low`</td></tr>
    <tr><td>`sentiment`</td><td>string</td><td>query</td><td>Sentiment filter (paid feature). One of `positive`, `neutral`, `negative`</td></tr>
    <tr><td>`full_content`</td><td>integer</td><td>query</td><td>1 only articles with full\_content, 0 only without. One of `0`, `1`</td></tr>
    <tr><td>`removeduplicate`</td><td>integer</td><td>query</td><td>1 drops articles NewsData judges duplicates. One of `0`, `1`</td></tr>

    <tr>
      <td>
        `from_date`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Start, YYYY-MM-DD or YYYY-MM-DD HH:MM:SS.
      </td>
    </tr>

    <tr>
      <td>
        `to_date`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        End, YYYY-MM-DD or YYYY-MM-DD HH:MM:SS.
      </td>
    </tr>

    <tr><td>`interval`</td><td>string</td><td>query</td><td>all (default) total, or a day or hour breakdown. One of `all`, `day`, `hour`</td></tr>
  </tbody>
</table>

[Vendor docs](https://newsdata.io/documentation/news-count-api) · Same job: [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-news-search), [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-news), [Andi AI Search](https://docs.webrouter.net/data-apis/andi.md#andi-news-topics), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-google-news), [Benzinga](https://docs.webrouter.net/data-apis/benzinga.md#benzinga-news), [Context.dev](https://docs.webrouter.net/data-apis/branddev.md#branddev-news-search)

> [!NOTE]
>
> * 50 credits per call; Basic plan and above. /crypto/count and /market/count do the same for those feeds.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.