Sparkscan API
Sparkscan API

Address

Endpoint:https://api.sparkscan.io

Operations related to addresses


Address Summary

GET
https://api.sparkscan.io
/v1/address/{address}

Address Summarypath Parameters

  • addressstring · required

Address Summaryquery Parameters

  • networkstring · enum · required
    Enum values:
    REGTEST
    MAINNET

Address Summary Responses

Successful Response

  • sparkAddressstring · required
  • publicKeystring · required
  • balanceobject · required
  • totalValueUsdnumber · required
  • transactionCountinteger · required
  • tokenCountinteger · required
  • tokensarray | null

Get Address Transactions

GET
https://api.sparkscan.io
/v1/address/{address}/transactions

Get Address Transactionspath Parameters

  • addressstring · required

Get Address Transactionsquery Parameters

  • networkstring · enum · required
    Enum values:
    REGTEST
    MAINNET
  • limitinteger · min: 1 · max: 100
    Default: 25
  • offsetinteger · min: 0
    Default: 0
  • assetstring | null

    Optional asset filter. Use 'btc' for Bitcoin-only or a token identifier/address to filter token txs.

  • from_timestampstring | null · date-time

    Return transactions created at or after this ISO timestamp

  • to_timestampstring | null · date-time

    Return transactions created at or before this ISO timestamp

  • sortstring · enum

    Field to sort by (created_at or updated_at)

    Field to sort by (created_at or updated_at)

    Enum values:
    created_at
    updated_at
    Default: created_at
  • orderstring · enum

    Sort direction (asc or desc)

    Sort direction (asc or desc)

    Enum values:
    asc
    desc
    Default: desc

Get Address Transactions Responses

Successful Response

  • metaobject · required
  • dataobject[] · required

Get Address Tokens

GET
https://api.sparkscan.io
/v1/address/{address}/tokens

Get Address Tokenspath Parameters

  • addressstring · required

Get Address Tokensquery Parameters

  • networkstring · enum · required
    Enum values:
    REGTEST
    MAINNET

Get Address Tokens Responses

Successful Response

  • addressstring · required
  • pubkeystring · required
  • totalValueUsdnumber · float · required
  • tokensobject[] · required