curl --request GET \
--url 'https://api.coinstats.app/v1/wallet/nft?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045' \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.coinstats.app/v1/wallet/nft?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
headers = {"X-API-KEY": "<api-key>"}
response = requests.request("GET", url, headers=headers)
print(response.json())const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.coinstats.app/v1/wallet/nft?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045', options)
.then((response) => response.json())
.then((response) => console.log(response))
.catch((err) => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.coinstats.app/v1/wallet/nft?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"io"
"net/http"
)
func main() {
url := "https://api.coinstats.app/v1/wallet/nft?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.coinstats.app/v1/wallet/nft?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.coinstats.app/v1/wallet/nft")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"blockchain": "ethereum",
"contractAddress": "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d",
"tokenId": "1",
"standard": "ERC721",
"name": "Bored Ape #1",
"description": "<string>",
"amount": 1,
"url": "<string>",
"previewUrl": "<string>",
"pngUrl": "<string>",
"animationUrl": "<string>",
"contentType": "image/png",
"collection": {
"name": "Bored Ape Yacht Club",
"slug": "boredapeyachtclub",
"img": "https://i2c.seadn.io/collection/boredapeyachtclub/image.png",
"verified": true
},
"floorPrice": 5.5,
"floorPriceCurrency": "ethereum",
"value": 13150.86,
"currency": "USD",
"spam": {
"isSpam": false,
"reasons": []
},
"mint": {
"timestamp": "2021-05-01T12:00:00.000Z",
"transactionHash": "0x6915…c4e4",
"mintedByOwner": true
},
"attributes": [
{
"key": "Background",
"value": "Orange"
}
]
}
],
"meta": {
"page": 2,
"limit": 20,
"itemCount": 150,
"pageCount": 8,
"hasPreviousPage": true,
"hasNextPage": true
},
"failedBlockchains": [],
"truncated": false
}{
"statusCode": 400,
"message": "Bad Request",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 401,
"message": "Unauthorized",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 403,
"message": "Forbidden",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 404,
"message": "Not Found",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 409,
"message": "Transactions not synced",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 429,
"message": "Rate limit exceeded",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 503,
"message": "Service Unavailable. Please Contact Support"
}Get Wallet NFTs
Get every NFT a wallet holds as individual tokens, across all chains in one call.
curl --request GET \
--url 'https://api.coinstats.app/v1/wallet/nft?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045' \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.coinstats.app/v1/wallet/nft?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
headers = {"X-API-KEY": "<api-key>"}
response = requests.request("GET", url, headers=headers)
print(response.json())const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.coinstats.app/v1/wallet/nft?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045', options)
.then((response) => response.json())
.then((response) => console.log(response))
.catch((err) => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.coinstats.app/v1/wallet/nft?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"io"
"net/http"
)
func main() {
url := "https://api.coinstats.app/v1/wallet/nft?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.coinstats.app/v1/wallet/nft?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.coinstats.app/v1/wallet/nft")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"blockchain": "ethereum",
"contractAddress": "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d",
"tokenId": "1",
"standard": "ERC721",
"name": "Bored Ape #1",
"description": "<string>",
"amount": 1,
"url": "<string>",
"previewUrl": "<string>",
"pngUrl": "<string>",
"animationUrl": "<string>",
"contentType": "image/png",
"collection": {
"name": "Bored Ape Yacht Club",
"slug": "boredapeyachtclub",
"img": "https://i2c.seadn.io/collection/boredapeyachtclub/image.png",
"verified": true
},
"floorPrice": 5.5,
"floorPriceCurrency": "ethereum",
"value": 13150.86,
"currency": "USD",
"spam": {
"isSpam": false,
"reasons": []
},
"mint": {
"timestamp": "2021-05-01T12:00:00.000Z",
"transactionHash": "0x6915…c4e4",
"mintedByOwner": true
},
"attributes": [
{
"key": "Background",
"value": "Orange"
}
]
}
],
"meta": {
"page": 2,
"limit": 20,
"itemCount": 150,
"pageCount": 8,
"hasPreviousPage": true,
"hasNextPage": true
},
"failedBlockchains": [],
"truncated": false
}{
"statusCode": 400,
"message": "Bad Request",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 401,
"message": "Unauthorized",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 403,
"message": "Forbidden",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 404,
"message": "Not Found",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 409,
"message": "Transactions not synced",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 429,
"message": "Rate limit exceeded",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 503,
"message": "Service Unavailable. Please Contact Support"
}You will get
You will get
- One entry per NFT: name, description, image, thumbnail, animation and attributes
- Its collection, floor price and value in your currency
- Spam flag with reasons and mint details
Required
Required
- address: Query parameter. 0x wallet address.
Optional
Optional
- blockchain: Comma-separated chains or “all” (default).
- spam: exclude (default), include or only.
- sort: default or floorValue.
- currency: Fiat currency for values. Defaults to USD.
- contracts: Comma-separated collection addresses, up to 45, to return only their NFTs.
- page & limit: Control pagination; limit is capped at 100.
Authorizations
API key required to access the endpoints. Generate one from your dashboard at https://openapi.coinstats.app and pass it in the X-API-KEY request header. Never expose your key in client-side code.
Query Parameters
Page number to retrieve (1-based indexing)
1
Number of NFT items to return per page
20
The blockchain network identifier from /wallet/blockchains call response (its chain field). NFT data is available on: ethereum, polygon-pos, base, arbitrum-one, optimistic-ethereum, zksync, blast, linea, scroll, zora, abstract, apechain, avalanche, binance_smart, unichain, soneium, berachain, world-chain, celo, xdai, monad. Comma-separate several, or pass "all" (default).
"ethereum,base"
exclude (default) hides spam NFTs, include returns everything, only returns spam alone.
exclude, include, only default keeps upstream order; floorValue lists the most valuable first (reads up to 1,000 NFTs).
default, floorValue Fiat currency for values, e.g. USD, EUR. Defaults to USD.
"USD"
Comma-separated collection contract addresses, up to 45. Only NFTs from these collections are returned.
"0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d"
Wallet address (0x…).
"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
Response
Was this page helpful?