btc v1 adds

Returns money flows on Bitcoin, where receiver is 38yYcz…9hw8, 32csff…c6hv or 1 more, sender is 38yYcz…9hw8, 32csff…c6hv or 1 more and date since 2020-06-01, sorted by amount, highest first: transaction hash, timestamp time, sender address, annotation, receiver address, amount, depth and count.

By jhf · saved 25 July 2025 · Bitquery API v2

What it returns

Filters

The query

query ($network: BitcoinNetwork!, $address: [String!], $inboundDepth: Int!, $outboundDepth: Int!, $limit: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  bitcoin(network: $network) {
    inbound: coinpath(
      receiver: {in: $address}
      sender: {in: $address}
      depth: {lteq: $inboundDepth}
      options: {direction: inbound, asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}}
      date: {since: $from, till: $till}
    ) {
      transaction{
        hash
      }
      block{
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount
      
      depth
      count
    }
    outbound: coinpath(
 
            sender: {in: $address}
           receiver: {in: $address}
      depth: {lteq: $outboundDepth}
      options: {asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}}
      date: {since: $from, till: $till}
    ) {
       transaction{
        hash
      }
         block{
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount
      depth
      count
    }
  }
}

Variables

{
  "inboundDepth": 1,
  "outboundDepth": 1,
  "limit": 100,
  "offset": 0,
  "network": "bitcoin",
  "address": [
    "38yYczGwbGWBghW1NWoNEHdszPC4pN9hw8",
    "32csffjQqLKi5fTg7n9eGJUbW1mwfuc6hv",
    "3ArN3NATutoqDSEKKEaVpF1ZGdW8wxySMz"
  ],
  "from": "2020-06-01",
  "till": "2025-07-27",
  "dateFormat": "%Y-%m-%d"
}

Similar queries