Skip to content

Onchain (Ethereum & BNB Chain) API

9 endpointsFinance & CryptoGlobalsocial:read5 real examples

Returns Ethereum token holders, wallet balances on Ethereum and BNB Smart Chain, network statistics, and the latest blocks and transactions.

View as Markdown
GET/onchain/tokenHoldersTop holders of an ERC-20 token on Ethereum, with token info and each holder's share of the supply.
GET/onchain/walletNative balance, ERC-20 token balances and USD value of one wallet on Ethereum or BNB Smart Chain.
GET/onchain/chainStatsEthereum network totals and today's activity from the Blockscout explorer: blocks, transactions, addresses, gas and price.
GET/onchain/latestBlocksThe newest Ethereum blocks, newest first, with their transaction count, gas use and miner.
GET/onchain/latestTransactionsThe newest Ethereum transactions, newest first, with value, fee, method and status.
GET/onchain/transactionOne Ethereum transaction by its hash: block, time, sender, recipient, value, fee, method and status.
GET/onchain/blockOne Ethereum block by its height or hash: time, miner, transaction count, gas use and size.
GET/onchain/addressTransactionsEthereum transactions sent or received by one wallet, newest first, with value, fee, method and status.
GET/onchain/tokenTransfersThe newest transfers of one ERC-20 token on Ethereum, newest first, with sender, recipient and amount.

tokenHolders

GET/v1/onchain/tokenHolders

Top holders of an ERC-20 token on Ethereum, with token info and each holder's share of the supply.

scope social:read1 unitcached 5 min

Parameters

chain
string
required
Chain of the token. Only eth is served; bsc has no keyless token index.
eth
e.g. eth
contract
string
required
ERC-20 token contract address, 0x and 40 hex digits.
e.g. 0xdAC17F958D2ee523a2206206994597C13D831ec7
top
integer
Holders to list, the largest first, from 1 to 100.
default 50e.g. 5
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

15 fields
chainstring
contractstring
itemsHolder[]
addressstring
balancestring
balanceDecimalstring
percentOfSupplynumber (double)
rankany
tokenTokenInfo
decimalsany
holdersCountinteger (int64)
namestring
priceUsdnumber (double) | null
symbolstring
totalSupplystring
curl "https://api.hoshime.com/v1/onchain/tokenHolders?chain=eth&contract=0xdAC17F958D2ee523a2206206994597C13D831ec7&top=5" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "chain": "eth",
    "contract": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
    "items": [
      {
        "address": "0xF977814e90dA44bFA03b6295A0616a897441aceC",
        "balance": "14000000000000668",
        "balanceDecimal": "14000000000.000668",
        "percentOfSupply": 16.60764030929451,
        "rank": 1
      },
      {
        "address": "0x47ac0Fb4F2D84898e4D9E7b4DaB3C24507a6D503",
        "balance": "9184997801482302",
        "balanceDecimal": "9184997801.482302",
        "percentOfSupply": 10.895795694905118,
        "rank": 2
      }
    ],
    "token": {
      "decimals": 6,
      "holdersCount": 17125472,
      "name": "Tether",
      "priceUsd": 0.999053,
      "symbol": "USDT",
      "totalSupply": "84298550180940091"
    }
  },
  "meta": {
    "cached": false,
    "endpoint": "tokenHolders",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "onchain",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

wallet

GET/v1/onchain/wallet

Native balance, ERC-20 token balances and USD value of one wallet on Ethereum or BNB Smart Chain.

scope social:read1 unitcached 1 min

Parameters

chain
string
required
eth for Ethereum, bsc for BNB Smart Chain. Token balances are served for eth only.
ethbsc
e.g. eth
address
string
required
Wallet address, 0x and 40 hex digits.
e.g. 0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe
onlyPriced
boolean
true keeps only tokens that have a USD price, which hides most spam tokens. Default false.
top
integer
Most tokens returned, largest USD value first, from 1 to 1000. totalValueUsd always covers every priced token.
default 100e.g. 5
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

18 fields
addressstring
blockNumberinteger (int64)
chainstring
nativeBalancestring
nativeBalanceWeistring
nativePriceUsdnumber (double) | null
nativeSymbolstring
tokensToken[]
addressstring
balancestring
balanceDecimalstring
decimalsany
namestring
priceUsdnumber (double) | null
symbolstring
valueUsdnumber (double) | null
tokensCoveredboolean
totalValueUsdnumber (double) | null
curl "https://api.hoshime.com/v1/onchain/wallet?chain=eth&address=0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe&top=5" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "address": "0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae",
    "blockNumber": 26357476,
    "chain": "eth",
    "nativeBalance": "5774.551794456062094343",
    "nativeBalanceWei": "5774551794456062094343",
    "nativePriceUsd": 2224.09,
    "nativeSymbol": "ETH",
    "tokens": [
      {
        "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
        "balance": "214140968121599991968",
        "balanceDecimal": "214.140968121599991968",
        "decimals": 18,
        "name": "WETH",
        "priceUsd": 2232.53,
        "symbol": "WETH",
        "valueUsd": 478076.1355605157
      },
      {
        "address": "0xB8c77482e45F1F44dE1745F52C74426C631bDD52",
        "balance": "42100000000000000000",
        "balanceDecimal": "42.1",
        "decimals": 18,
        "name": "BNB",
        "priceUsd": 696.88,
        "symbol": "BNB",
        "valueUsd": 29338.648
      }
    ],
    "tokensCovered": true,
    "totalValueUsd": 13356360.783223946
  },
  "meta": {
    "cached": false,
    "endpoint": "wallet",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "onchain",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

chainStats

GET/v1/onchain/chainStats

Ethereum network totals and today's activity from the Blockscout explorer: blocks, transactions, addresses, gas and price.

scope social:read1 unitcached 1 min

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

9 fields
averageBlockTimeMsnumber (double)
coinPriceUsdnumber (double)
gasPriceGweinumber (double)
marketCapUsdnumber (double)
networkUtilizationnumber (double)
totalAddressesinteger (int64)
totalBlocksinteger (int64)
totalTransactionsinteger (int64)
transactionsTodayinteger (int64)
curl "https://api.hoshime.com/v1/onchain/chainStats" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "averageBlockTimeMs": 12000,
    "coinPriceUsd": 2224.09,
    "gasPriceGwei": 0,
    "marketCapUsd": 271772522345.7234,
    "networkUtilization": 52.321114581049066,
    "totalAddresses": 776323226,
    "totalBlocks": 26357216,
    "totalTransactions": 3844172044,
    "transactionsToday": 2189133
  },
  "meta": {
    "cached": false,
    "endpoint": "chainStats",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "onchain",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

latestBlocks

GET/v1/onchain/latestBlocks

The newest Ethereum blocks, newest first, with their transaction count, gas use and miner.

scope social:read1 unitpaginated

Parameters

limit
integer
Items per page, 1 to 50.
default 10e.g. 5
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

8 fields
gasLimitinteger (int64)
gasUsedinteger (int64)
hashstring
heightinteger (int64)
minedAtstring
minerstring
sizeinteger (int64)
transactionsinteger (int64)
curl "https://api.hoshime.com/v1/onchain/latestBlocks?limit=5" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "gasLimit": 59999943,
      "gasUsed": 33632128,
      "hash": "0x2c626f3f85995c17544ad602ae28e3409f35431bd25584112c4e8c9986c6a7f2",
      "height": 26357473,
      "minedAt": "2026-11-06T18:02:23.000000Z",
      "miner": "0xdadB0d80178819F2319190D340ce9A924f783711",
      "size": 221529,
      "transactions": 0
    },
    {
      "gasLimit": 59941408,
      "gasUsed": 34001176,
      "hash": "0xfb05dca11680c54ac559681406bef54bb475253a7739ac559f97746c475b34c4",
      "height": 26357472,
      "minedAt": "2026-11-06T18:02:11.000000Z",
      "miner": "0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97",
      "size": 180435,
      "transactions": 0
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "latestBlocks",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "onchain",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

latestTransactions

GET/v1/onchain/latestTransactions

The newest Ethereum transactions, newest first, with value, fee, method and status.

scope social:read1 unitpaginated

Parameters

limit
integer
Items per page, 1 to 50.
default 10e.g. 5
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

9 fields
blockinteger (int64)
feestring
fromstring
hashstring
methodstring
minedAtstring
statusstring
tostring
valuestring
curl "https://api.hoshime.com/v1/onchain/latestTransactions?limit=5" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "block": 26357473,
      "fee": "{\"type\":\"actual\",\"value\":\"4338731014044\"}",
      "from": "0xdadB0d80178819F2319190D340ce9A924f783711",
      "hash": "0x4007711696fc539e2b5cff9668612ea78f95e77b7eee6f3ede7e4317522beac2",
      "method": "0x6aee162f",
      "minedAt": "2026-11-06T18:02:23.000000Z",
      "status": "ok",
      "to": "0xFEEEEEE44046c3f61a8CC081E0918eF0de0a7ffC",
      "value": "8377028945088695"
    },
    {
      "block": 26357473,
      "fee": "{\"type\":\"actual\",\"value\":\"4338731014044\"}",
      "from": "0xdadB0d80178819F2319190D340ce9A924f783711",
      "hash": "0x982bdebe8860ba979585be32215f099de7e89727bee2e7cb252a654fb7bebc92",
      "method": "0x6aee162f",
      "minedAt": "2026-11-06T18:02:23.000000Z",
      "status": "ok",
      "to": "0xFEEEEEE44046c3f61a8CC081E0918eF0de0a7ffC",
      "value": "76540516269761"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "latestTransactions",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "onchain",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

transaction

GET/v1/onchain/transaction

One Ethereum transaction by its hash: block, time, sender, recipient, value, fee, method and status.

scope social:read1 unitcached 1 min

Parameters

chain
string
required
Chain of the transaction. Only eth is served.
eth
e.g. eth
hash
string
required
Transaction hash, 0x and 64 hex digits.
e.g. 0x48f65b6c515a4012b493c9ba1b2386ada917b91371923ae46afbac15da3f7298
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

9 fields
blockinteger (int64)
feestring
fromstring
hashstring
methodstring
minedAtstring
statusstring
tostring
valuestring
curl "https://api.hoshime.com/v1/onchain/transaction?chain=eth&hash=0x48f65b6c515a4012b493c9ba1b2386ada917b91371923ae46afbac15da3f7298" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "block": 0,
    "fee": "…",
    "from": "…",
    "hash": "…",
    "method": "…",
    "minedAt": "2026-11-06T09:41:00Z",
    "status": "…",
    "to": "…",
    "value": "…"
  },
  "meta": {
    "cached": false,
    "endpoint": "transaction",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "onchain",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

block

GET/v1/onchain/block

One Ethereum block by its height or hash: time, miner, transaction count, gas use and size.

scope social:read1 unitcached 1 h

Parameters

chain
string
required
Chain of the block. Only eth is served.
eth
e.g. eth
number
string
required
Block height, such as 23000000, or the block hash, 0x and 64 hex digits.
e.g. 23000000
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

8 fields
gasLimitinteger (int64)
gasUsedinteger (int64)
hashstring
heightinteger (int64)
minedAtstring
minerstring
sizeinteger (int64)
transactionsinteger (int64)
curl "https://api.hoshime.com/v1/onchain/block?chain=eth&number=23000000" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "gasLimit": 0,
    "gasUsed": 0,
    "hash": "…",
    "height": 0,
    "minedAt": "2026-11-06T09:41:00Z",
    "miner": "…",
    "size": 0,
    "transactions": 0
  },
  "meta": {
    "cached": false,
    "endpoint": "block",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "onchain",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

addressTransactions

GET/v1/onchain/addressTransactions

Ethereum transactions sent or received by one wallet, newest first, with value, fee, method and status.

scope social:read1 unitcached 1 minpaginated

Parameters

chain
string
required
Chain of the wallet. Only eth is served.
eth
e.g. eth
address
string
required
Wallet address, 0x and 40 hex digits.
e.g. 0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

9 fields
blockinteger (int64)
feestring
fromstring
hashstring
methodstring
minedAtstring
statusstring
tostring
valuestring
curl "https://api.hoshime.com/v1/onchain/addressTransactions?chain=eth&address=0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "block": 0,
      "fee": "…",
      "from": "…",
      "hash": "…",
      "method": "…",
      "minedAt": "2026-11-06T09:41:00Z",
      "status": "…",
      "to": "…",
      "value": "…"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "addressTransactions",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "onchain",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

tokenTransfers

GET/v1/onchain/tokenTransfers

The newest transfers of one ERC-20 token on Ethereum, newest first, with sender, recipient and amount.

scope social:read1 unitcached 1 minpaginated

Parameters

chain
string
required
Chain of the token. Only eth is served.
eth
e.g. eth
contract
string
required
ERC-20 token contract address, 0x and 40 hex digits.
e.g. 0xdAC17F958D2ee523a2206206994597C13D831ec7
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

7 fields
blockinteger (int64)
fromstring
hashstring
minedAtstring
tostring
valuestring
valueDecimalstring
curl "https://api.hoshime.com/v1/onchain/tokenTransfers?chain=eth&contract=0xdAC17F958D2ee523a2206206994597C13D831ec7" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "block": 0,
      "from": "…",
      "hash": "…",
      "minedAt": "2026-11-06T09:41:00Z",
      "to": "…",
      "value": "…",
      "valueDecimal": "…"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "tokenTransfers",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "onchain",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open