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

# Get transaction counts by network

> Return transaction counts in time buckets for the requested networks.

> [!NOTE]
>
> All three query parameters are required:
>
> * `networks`: a comma-separated list of network identifiers.
> * `interval`: a whole number of seconds followed by `s`, from `1s` to `999999s`.
> * `buckets`: an integer from `1` to `1000`.
>
> Example query: `?networks=solana&interval=3600s&buckets=2`.


## OpenAPI

````yaml api-reference/data-api.json get /v1/network/transactions/counts
openapi: 3.0.0
info:
  title: Range Data API
  description: >-
    The Range Data API for crypto addresses, networks, transactions, and
    entities.
  version: 1.7.37
  contact: {}
servers:
  - url: https://api.range.org
    description: Range API Server
security:
  - Authorization: []
tags:
  - name: Entity Information
    description: Get information about entities.
  - name: Network Information
    description: Get information about networks.
  - name: Protocols
    description: Get information about cross-chain protocols.
  - name: Token transfers
    description: Get information about token transfers.
  - name: Cross-chain transfers
    description: >-
      Look up cross-chain transfers using either the source or destination
      transaction hash, and explore coverage by protocol and network.
paths:
  /v1/network/transactions/counts:
    get:
      tags:
        - Network Information
      summary: Get transaction counts
      description: >-
        Returns a list of transaction counts for each specified interval across
        all requested networks.
      operationId: getTxCounts
      parameters:
        - name: buckets
          required: true
          in: query
          description: How many buckets to return (integer from 1 to 1000).
          schema:
            example: '24'
        - name: interval
          required: true
          in: query
          description: >-
            Width of each time bucket in seconds, with a trailing `s`
            (1s–999999s).
          schema:
            example: 3600s
        - name: networks
          required: true
          in: query
          description: >-
            Comma-separated Range network ids to include (e.g.
            `cosmoshub-4,osmosis-1`).
          schema:
            example: cosmoshub-4,osmosis-1
      responses:
        '200':
          description: Networks with their respective number of transactions.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TxCounts'
components:
  schemas:
    TxCounts:
      type: object
      properties: {}
  securitySchemes:
    Authorization:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Authorization method required to allow user to access the api endpoints.

````

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