---
title: "Inflow"
method: GET
path: "/btc/miner-flows/inflow"
tags: ["BTC Miner Flows"]
---

# Inflow

`GET /btc/miner-flows/inflow`

This endpoint returns the inflow of BTC into mining pool wallets for as far back as we track. The average inflow is the average transaction value for transactions flowing into mining pool wallets on a given day.

## Query parameters

- `miner` string, required
- `window` string
- `from` string
- `to` string
- `limit` integer
- `format` string

## Response `200`

inflow_total, inflow_top10, inflow_mean

- object
  - `status` object, required — The status object is return with most of requests and indicates if the request was successful. If it is not successful, error information is included.
    - `code` integer, required — HTTP status code
    - `message` string, required — Text description of the error or success.
  - `result` object, required
    - `window` string, required — The size of window. It can be day or block, and it depends on the user request.
    - `data` object[], required
      - `blockheight` string — The height of the block. This optional field only appears when window=block is used.
      - `date` string — The date in YYYY-DD-MM. This optional field only appears when window=day is used.
      - `datetime` string — The date and time formatted as YYYY-MM-DD HH:MM:SS (UTC time). This field only appears when window=block or window=hour is used.
      - `inflow_total` number, required — The total amount of BTC transferred to the miner.
      - `inflow_top10` number, required — The total BTC amount of top 10 transactions (in terms of total BTC sent) flowing into miner wallets for every day that the miner wallets we track have been live on the blockchain.
      - `inflow_mean` number, required — The mean of tokens per transactions sent to a miner.

---

[API](https://skmtc.net/cryptoquant/apis/cryptoquant-data-api.md) · [All operations](https://skmtc.net/cryptoquant/apis/cryptoquant-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cryptoquant/cryptoquant-data-api/revisions/81ee223d4908/schema)
