English
Login

    Summary

    The Tokenview Developer API are provided as a free service to our clients. Please just select the API to get real-time multi-currency network data according to your needs.

    In order to guarantee the experience of service, we support a rate limit of 1 request/min (exceed and you will be blocked). To use the API service without restriction, please Apply For Permission. To request the API。you need to mark “Powered by Tokenview.com””.


    *Attention:API response types are JSON.,As follow:

    Request parameter

    code: Return result type: Number - 1 = Success, not 1 = Error

    msg: Return result type: String - Message reminder, return “成功” or the wrong info.

    data: Return result type: Array - The return fields are dependent on specific API examples.

    Address

    · Address Info

    Search for wallet address, the return result is(are) some recent transaction(s) of this address.

    Request URL

    Request parameter

    { Address } : Request typeString - e.g.1PqQfh7u5dw6hZnmHc9pVrZzdAWA5GiLsX

    Return field

    *Attention:Available:BTC,BCH,DOGE,DASH,ZCASH,LTC

    Return fieldData typeParameter specification
    hashStringAddress
    networkStringCoin type
    txCountNumberTransaction count
    spendNumberTotal sent
    receiveNumberTotal received
    txsArrayRecent transaction details
    txs.heightNumberBlock height
    txs.timeNumberTime (UTC)
    txs.txidStringTransaction hash
    txs.feeStringTransaction fees
    txs.inputs.addressStringInputs address
    txs.inputs.valueStringInputs value
    txs.outputs.addressStringOutputs address
    txs.outputs.valueStringOutputs value
    View code example

    Return field

    · Available:ETH,ETC

    Return fieldData typeParameter specification
    hashStringETH Address
    normalTxBalanceStringNormal transaction counts
    normalTxCountNumberNormal transaction counts
    callTransBalanceStringCall transfer balance
    callTransCountNumberCall transfer counts
    txsArrayRecent transaction details
    txs.blockHashStringBlock hash
    txs.timeNumberTime (UTC)
    txs.txidStringTransaction hash
    txs.feeStringTransaction fees
    txs.block_noNumberBlock height
    txs.gasPriceNumberGas price, Unit: wei
    txs.fromStringSent from
    txs.gasLimitNumberGas limit
    txs.valueNumberTransaction amount
    txs.toStringReceive from
    txs.gasUsedNumberGas used
    View code example

    · Address Balance

    The balance of an address of a cryptocurrency

    Request URL

    Request parameter

    {coin} : Request typeString - Currency abbreviation[ETH,ETC,BTC,BCH,DOGE,DASH,ZCASH,LTC]

    {address} : Request typeString - e.g.1PqQfh7u5dw6hZnmHc9pVrZzdAWA5GiLsX

    Return field

    Return fieldData typeParameter specification
    dataStringBalance
    View code example
    Transaction

    · Transaction Info

    Search for transaction hash,the return result is the info of this transaction.

    Request URL

    Request parameter

    { Transaction hash } : Request typeString - e.g.9293869acee7d90661ee224135576b45b4b0dbf2b61e4ce30669f1099fecac0c

    Return field

    · Available:BTC,BCH,DOGE,DASH,ZCASH,LTC

    Return fieldData typeParameter specification
    blockHashStringBlock hash
    heightNumberBlock height
    timeNumberTime(UTC)
    confirmationsNumberConfirmations
    txidStringTransaction hash
    feeStringTransaction fees
    inputsArraryInputs
    inputs.addressStringInputs address
    inputs.valueStringInputs value
    outputsArraryOutputs
    outputs.addressStringOutputs address
    outputs.valueStringOutputs value
    View code example

    Return field

    · Available:ETH,ETC

    Return fieldData typeParameter specification
    timeNumberTime(UTC)
    txidStringTransaction hash
    feeStringTransaction fees
    confirmationsNumberConfirmations
    block_noNumberBlock height
    gasPriceNumberGas price
    fromStringSent from
    gasLimitNumberGas limit
    valueNumberReceive value
    toStringReceive from
    gasUsedNumberGas used
    tokenTransferArrayToken transfer
    tokenTransfer.tokenStringToken address
    tokenTransfer.fromStringToken sent from
    tokenTransfer.toStringToken receive from
    tokenTransfer.valueStringToken transaction counts
    callTransferArrayCall transfer
    callTransfer.fromStringInternal sent from
    callTransfer.toStringInternal receive from
    callTransfer.valueNumberInternal ETH transaction value
    callTransfer.gasUsedNumberGas used
    callTransfer.gasLimitNumberGas limit
    View code example

    · Transaction Confirmations

    Search for the confirmations of a transaction

    Request URL

    Request parameter

    {coin} : Request typeString - Currency abbreviation[ETH,ETC,BTC,BCH,DOGE,DASH,ZCASH,LTC]

    {txid} : Request typeString - e.g.2798f70cb126ed98f726749fa7632499072ba6a3561c11f3103151bf5b884f68

    Return field

    Return fieldData typeParameter specification
    networkStringCurrency abbreviation
    txIdStringTransaction hash
    confirmationNumberConfirmations
    View code example

    · Transaction Amount

    The transaction amount of a transaction hash of a cryptocurrency.

    Request URL

    Request parameter

    {coin} : Request typeString - Currency abbreviation[ETH,ETC,BTC,BCH,DOGE,DASH,ZCASH,LTC]

    {txid} : Request typeString - e.g.2798f70cb126ed98f726749fa7632499072ba6a3561c11f3103151bf5b884f68

    Return field

    Return fieldData typeParameter specification
    dataStringTransaction amount
    View code example
    Block

    · Block Info

    Search for block hash or block height, the return result is the info of this block.

    Request URL

    Request parameter

    { Block height }: Request typeNumber - e.g.50000

    { Block hash } : Request typeString - e.g.aeb1084f8372c04792cf7bedd1d884c19d8194b2cdfc03a386a504e2496d8693

    Return field

    Return fieldData typeParameter specification
    block_noStringBlock height
    timeNumberTime (UTC)
    sizeNumberBlock size (byte)
    blockhashStringBlock hash
    rewardNumberReward for miner
    View code example

    · Latest Block

    The latest block of a cryptocurrency

    Request URL

    Request parameter

    {coin} : Request typeString - Currency abbreviation[ETH,ETC,BTC,BCH,DOGE,DASH,ZCASH,LTC]

    Return field

    Return fieldData typeParameter specification
    dataNumberLastest block
    View code example
    Data

    · Market Change

    The big amount transaction of a cryptocurrency

    Request URL

    Request parameter

    {coin} : Request typeString - Currency abbreviation[ETH,ETC,BTC,BCH,DOGE,DASH,ZCASH,LTC]

    Return field

    Return fieldData typeParameter specification
    txIdStringTransaction hash
    amountNumberTransaction amount
    heightNumberBlock height
    addrStringAddress
    timeNumberTime (UTC)
    View code example

    · Active Address

    The number of the active addresses of a cryptocurrency in the latest 24 hours

    Request URL

    Request parameter

    {coin} : Request typeString - Currency abbreviation[ETH,ETC,BTC,BCH,DOGE,DASH,ZCASH,LTC]

    Return field

    Return fieldData typeParameter specification
    networkStringCurrency abbreviation
    countNumberNumber of the active address
    timestampNumberTime (UTC)
    View code example
    The curve of the number of the daily active addresses of a cryptocurrency

    Request URL

    Request parameter

    {coin} : Request typeString - Currency abbreviation[ETH,ETC,BTC,BCH,DOGE,DASH,ZCASH,LTC]

    {from} : Request typeNumber - Request type,timestamp1530115200

    {to} : Request typeNumber - e.g.timestamp1530601279

    Return field

    Return fieldData typeParameter specification
    networkStringCurrency abbreviation
    countNumberNumber of the active address
    timestampNumberTime (UTC)
    View code example

    · New Created Address

    The number of the new created addresses of a cryptocurrency in the latest 24 hours

    Request URL

    Request parameter

    {coin} : Request typeString - Currency abbreviation[ETH,ETC,BTC,BCH,DOGE,DASH,ZCASH,LTC]

    Return field

    Return fieldData typeParameter specification
    networkStringCurrency abbreviation
    countNumberNumber of the new address
    timestampNumberTime (UTC)
    View code example
    The curve of the number of the daily new created addresses of a cryptocurrency

    Request URL

    Request parameter

    {coin} : Request typeString - Currency abbreviation[ETH,ETC,BTC,BCH,DOGE,DASH,ZCASH,LTC]

    {from} : Request typeNumber - e.g.timestamp1530115200

    {to} : Request typeNumber - e.g.timestamp1530601279

    Return field

    Return fieldData typeParameter specification
    networkStringCurrency abbreviation
    countNumberNumber of the active address
    timestampNumberTime (UTC)
    View code example

    · Exchange

    The number of blocks and transaction counts of a cryptocurrency in the latest 24 hours

    Request URL

    Request parameter

    {coin} : Request typeString - Currency abbreviation[ETH,ETC,BTC,BCH,DOGE,DASH,ZCASH,LTC]

    Return field

    Return fieldData typeParameter specification
    networkStringCurrency abbreviation
    blockCntNumberNumber of the blocks
    txCntNumberTransaction counts
    amountNumberTransaction amount
    timestampNumberTime (UTC)
    View code example
    The curve of the daily transaction counts of a cryptocurrency

    Request URL

    Request parameter

    {coin} : Request typeString - Currency abbreviation[ETH,ETC,BTC,BCH,DOGE,DASH,ZCASH,LTC]

    {from} : Request typeNumber - e.g.timestamp1530115200

    {to} : Request typeNumber - e.g.timestamp1530601279

    Return field

    Return fieldData typeParameter specification
    networkStringCurrency abbreviation
    blockCntNumberNumber of the blocks
    txCntNumberTransaction counts
    amountNumberTransaction amount
    timestampNumberTime (UTC)
    View code example