Get token owners by contract
Get token owners for specific contract
GET
/insights/v1/tokens/owners
Get token owners for specific contract
Path Parameters
contract_address
string
required
path
Example:
"vitalik.eth"Query Parameters
chain
number[]
optional
query
Use chain_id instead
Example:
[20,56,1]chain_id
number[]
optional
query
The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain
Example:
[20,56,1]limit
integer
optional
query
Example:
20page
integer | null
optional
query
Example:
0Responses
200
Success
application/jsondata
object[]
REQUIRED
Array of:
chain_id
string
REQUIRED
token_address
string
REQUIRED
owner_address
string
REQUIRED
balance
string
REQUIRED
400
Bad request
404
Not found
500
Internal server error
curl -X GET 'https://data-api.b3.fun//insights/v1/tokens/owners'
const response = await fetch('https://data-api.b3.fun//insights/v1/tokens/owners', {
method: 'GET'
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://data-api.b3.fun//insights/v1/tokens/owners')
print(response.json())
200
Response
{
"data": [
{
"chain_id": "<string>",
"token_address": "vitalik.eth",
"owner_address": "vitalik.eth",
"balance": "<string>"
}
]
}
GET
/insights/v1/tokens/owners