LogoLogo
  • Xverse API
  • โ–ถ๏ธGet Started
  • ๐Ÿ“šAPI reference
    • Bitcoin
      • ๐Ÿ“ฆOutputs
      • ๐Ÿ“ซAddress
        • UTXO
        • Balance
        • Transactions
          • Unconfirmed
      • ๐Ÿ“Transactions
        • History
    • ๐Ÿ–ผ๏ธOrdinals
      • Address
        • ๐Ÿ“ฆUTXO
        • ๐Ÿ–ผ๏ธInscriptions
        • ๐Ÿ”ณRunes
        • ๐Ÿช™BRC-20
      • โœ๏ธInscription Service
        • Estimate
        • Order
          • Execute
    • ๐Ÿ”ฒRunes
      • Rune balances
      • โ›๏ธMint Rune
        • Estimate
        • Order
          • Execute
      • ๐Ÿš€Etch Rune
        • Estimate
        • Order
          • Execute
      • ๐Ÿ”ฒRune Data
    • ๐Ÿช™BRC-20
      • ๐Ÿช™BRC-20 balances
      • โ›๏ธMint BRC-20
        • Estimate
        • Order
          • Execute
      • ๐Ÿš€Deploy BRC-20
        • Estimate
        • Order
          • Execute
    • ๐Ÿ”„Swaps
      • ๐Ÿช™Get destination tokens
      • ๐ŸงพGet quotes
      • ๐Ÿ”ฒRunes Swaps
        • Place order
        • Execute order
      • ๐Ÿ“ฆUTXO
        • Get utxos
        • Place order
        • Execute order
      • ๐Ÿ”ดStacks Swaps
        • Place order
        • Execute order
      • ๐Ÿ”€Crosschain Swaps
        • Place order
  • Specification
Powered by GitBook
On this page
Export as PDF
  1. API reference
  2. Bitcoin
  3. Transactions

History

PreviousTransactionsNextOrdinals
๐Ÿ“š
๐Ÿ“
get

Retrieve efficient aggregated history (Bitcoin, Runes, Inscriptions) for multiple addresses. Up to 3 addresses(comma separated) can be queried via addresses query param.

Authorizations
Query parameters
addressesstring ยท BitcoinAddressList ยท min: 10RequiredDefault: bc1q0egjvlcfq77cxd9kvpgppyuxckzvws46e3sxch,bc1px3kttdtg479vqfu0s2lhxvyuz2snhl8jct3f84k5heerl750n28scr9qt6
offsetnumberOptionalDefault: 0
limitnumber ยท min: 25 ยท max: 60OptionalDefault: 60
Responses
200
Default Response
application/json
400
Invalid input
application/json
401
Unauthorized
application/json
404
Not found
application/json
429
Rate limit exceeded
application/json
500
Internal server error
application/json
get
GET /v1/analytics/history HTTP/1.1
Host: api.secretkeylabs.io
x-api-key: YOUR_API_KEY
Accept: */*
{
  "transactions": [
    {
      "txid": "text",
      "blockHeight": 1,
      "blockTime": 1,
      "ownActivity": [
        {
          "address": "text",
          "sent": 1,
          "received": 1,
          "outgoing": 1,
          "incoming": 1
        }
      ],
      "totalOut": 1,
      "totalIn": 1,
      "addressList": {
        "hasMore": true,
        "items": [
          {
            "address": "text",
            "type": "text",
            "isInput": true,
            "isOutput": true
          }
        ]
      },
      "runes": {
        "ownActivity": {
          "items": [
            {
              "runeId": "text",
              "address": "text",
              "sent": "text",
              "received": "text",
              "outgoing": "text",
              "incoming": "text"
            }
          ],
          "hasMore": true
        },
        "allActivity": {
          "items": [
            {
              "runeId": "text",
              "outgoing": "text",
              "incoming": "text",
              "isMint": true,
              "isEtch": true,
              "isBurn": true
            }
          ],
          "hasMore": true
        }
      },
      "inscriptions": {
        "items": [
          {
            "inscriptionId": "text",
            "contentType": "text",
            "address": "text",
            "sent": true,
            "received": true,
            "inscribed": true,
            "burned": true
          }
        ],
        "hasMore": true
      }
    }
  ],
  "offset": 1,
  "limit": 1
}