Get NFT owners by token
GET
/insights/v1/nfts/owners/{contract_address}/{token_id}
Get NFT owners by token
Path Parameters
contract_address
string
required
path
Example:
"vitalik.eth"token_id
string
required
path
Query Parameters
chain
number[]
optional
deprecated
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 subdomainExample:
[20,56,1]limit
integer
optional
query
The number of items to return
Default
20Greater than 0Max 1000Example:
20page
integer | null
optional
query
Page number (0-indexed). Maximum value depends on query parameters: 20 for regular queries, 500 when using aggregate or group_by parameters.
Default
0Min 0Example:
0include_balances
string
optional
query
Control if the result is an array of addresses only or an array of objects containing the address and balance
Default
"false"Values "true" "false"Example:
"true"Responses
200
Success
application/json
Array of:
Any of:
Option 1
chain_id
string
REQUIRED
token_address
string
REQUIRED
owner_address
string
REQUIRED
token_id
string
REQUIRED
balance
string
REQUIRED
Option 2
chain_id
string
REQUIRED
owner_addresses
string[]
REQUIRED
404
Not found
500
Internal server error
curl -X GET 'https://data-api.b3.fun/insights/v1/nfts/owners/vitalik.eth/string'
const response = await fetch('https://data-api.b3.fun/insights/v1/nfts/owners/vitalik.eth/string', { method: 'GET'});const data = await response.json();console.log(data);
import requestsresponse = requests.get('https://data-api.b3.fun/insights/v1/nfts/owners/vitalik.eth/string')print(response.json())
200
Response
[ { "chain_id": "<string>", "token_address": "<string>", "owner_address": "<string>", "token_id": "<string>", "balance": "<string>" }]
API Playground
Try this endpoint
GET
/insights/v1/nfts/owners/{contract_address}/{token_id}