---
title: "Cryptocurrency article count"
method: GET
path: "/1/crypto/count"
tags: ["Count"]
---

# Cryptocurrency article count

`GET /1/crypto/count`

Returns the number of cryptocurrency news articles matching the filters. With `interval=all` (default) a single total is returned; with `interval=hour` or `interval=day` a count-per-hour/day breakdown is returned. `from_date` and `to_date` are required. Available on plans with count access.

Consumes **50** API credits per call.

## Query parameters

- `apikey` string
- `q` string
- `qInTitle` string
- `qInMeta` string
- `coin` string[]
- `language` string[]
- `excludelanguage` string[]
- `domain` string[]
- `domainurl` string[]
- `excludedomain` string[]
- `prioritydomain` 'top' | 'medium' | 'low'
- `from_date` string, required
- `to_date` string, required
- `image` '0' | '1'
- `video` '0' | '1'
- `full_content` '0' | '1'
- `removeduplicate` '0' | '1'
- `sentiment` 'positive' | 'neutral' | 'negative'
- `tag` string[]
- `interval` 'all' | 'hour' | 'day'
- `size` integer
- `page` string
- `sort` 'pubdatedesc' | 'pubdateasc'

## Response `200`

Success. The shape depends on the `interval` parameter.

- union
  - CountSummaryEnvelope — Count response when `interval=all` (default).
    - `status` 'success', required
    - `results` object, required
      - `count` integer, required — Total number of articles matching the filters.
  - CountHistogramEnvelope — Count response when `interval=hour` or `interval=day`.
    - `status` 'success', required
    - `results` object[], required
      - `dateTime` string, required — Start of the hour/day, `YYYY-MM-DD HH:MM:SS`.
      - `count` integer, required — Number of articles in that hour/day.
    - `nextPage` string, nullable — Pass this value as the `page` parameter to get the next page. `null` when there are no more results.

## Other responses

- `400` — Invalid request — e.g. a required parameter is missing or the search query is malformed.
- `401` — Missing or invalid API key, or the request is not allowed for this key.
- `403` — Your plan does not include access to this endpoint or parameter.
- `422` — A parameter value is not supported — e.g. an unknown filter value, too many values, an invalid date, or two incompatible filters used together.
- `429` — Too many requests in a short period, rate limit exceeded, or API credits exhausted.
- `500` — Unexpected server error. Please try again later.
- `503` — The endpoint is temporarily unavailable due to maintenance.

---

[API](https://skmtc.net/newsdata/apis/newsdata-io-api.md) · [All operations](https://skmtc.net/newsdata/apis/newsdata-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/newsdata/newsdata-io-api/versions/e58d9cb39db7/schema)
