NFT Tokens by User
curl --request GET \
--url https://api.allium.so/api/v1/developer/nfts/users/{chain}/{address}/tokens \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.allium.so/api/v1/developer/nfts/users/{chain}/{address}/tokens"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.allium.so/api/v1/developer/nfts/users/{chain}/{address}/tokens', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.allium.so/api/v1/developer/nfts/users/{chain}/{address}/tokens",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
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"
"net/http"
"io"
)
func main() {
url := "https://api.allium.so/api/v1/developer/nfts/users/{chain}/{address}/tokens"
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.allium.so/api/v1/developer/nfts/users/{chain}/{address}/tokens")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.allium.so/api/v1/developer/nfts/users/{chain}/{address}/tokens")
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{
"items": [
{
"address": "<string>",
"token_id": "<string>",
"token_standard": "NFT",
"name": "<string>",
"description": "<string>",
"metadata": {
"image_original": "<string>",
"media_original": "<string>",
"image_mime_type": "<string>",
"token_uri": "<string>"
},
"image_url": "<string>",
"media_url": "<string>",
"external_url": "<string>",
"attributes": [
{
"key": "<string>",
"value": "<string>"
}
],
"token_account_address": "<string>",
"creators": [
{
"address": "<string>",
"share": 123,
"verified": 123
}
],
"collection_name": "<string>",
"collection_symbol": "<string>",
"collection_count": 123,
"collection_image_url": "<string>",
"onchain_collection_address": "<string>",
"floor_price": {
"asset": {
"type": "native",
"name": "<string>",
"symbol": "<string>",
"decimals": 123,
"token_id": "<string>"
},
"amount": {
"raw_amount": "<string>",
"amount_str": "<string>",
"amount": 123
}
},
"last_sale_price": {
"asset": {
"type": "native",
"name": "<string>",
"symbol": "<string>",
"decimals": 123,
"token_id": "<string>"
},
"amount": {
"raw_amount": "<string>",
"amount_str": "<string>",
"amount": 123
}
},
"highest_bid_price": {
"asset": {
"type": "native",
"name": "<string>",
"symbol": "<string>",
"decimals": 123,
"token_id": "<string>"
},
"amount": {
"raw_amount": "<string>",
"amount_str": "<string>",
"amount": 123
}
},
"rarity": {
"ranking": {
"source": "magic_eden_instant",
"value": 123
},
"metadata": {
"magic_eden_instant": {
"rank": 123
},
"howrare": {
"rank": 123
},
"moonrank": {
"rank": 123
}
}
}
}
],
"cursor": "<string>",
"error": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}NFT Tokens by Wallet
This API returns all NFT tokens that belong to a given user.
GET
/
api
/
v1
/
developer
/
nfts
/
users
/
{chain}
/
{address}
/
tokens
NFT Tokens by User
curl --request GET \
--url https://api.allium.so/api/v1/developer/nfts/users/{chain}/{address}/tokens \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.allium.so/api/v1/developer/nfts/users/{chain}/{address}/tokens"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.allium.so/api/v1/developer/nfts/users/{chain}/{address}/tokens', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.allium.so/api/v1/developer/nfts/users/{chain}/{address}/tokens",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
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"
"net/http"
"io"
)
func main() {
url := "https://api.allium.so/api/v1/developer/nfts/users/{chain}/{address}/tokens"
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.allium.so/api/v1/developer/nfts/users/{chain}/{address}/tokens")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.allium.so/api/v1/developer/nfts/users/{chain}/{address}/tokens")
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{
"items": [
{
"address": "<string>",
"token_id": "<string>",
"token_standard": "NFT",
"name": "<string>",
"description": "<string>",
"metadata": {
"image_original": "<string>",
"media_original": "<string>",
"image_mime_type": "<string>",
"token_uri": "<string>"
},
"image_url": "<string>",
"media_url": "<string>",
"external_url": "<string>",
"attributes": [
{
"key": "<string>",
"value": "<string>"
}
],
"token_account_address": "<string>",
"creators": [
{
"address": "<string>",
"share": 123,
"verified": 123
}
],
"collection_name": "<string>",
"collection_symbol": "<string>",
"collection_count": 123,
"collection_image_url": "<string>",
"onchain_collection_address": "<string>",
"floor_price": {
"asset": {
"type": "native",
"name": "<string>",
"symbol": "<string>",
"decimals": 123,
"token_id": "<string>"
},
"amount": {
"raw_amount": "<string>",
"amount_str": "<string>",
"amount": 123
}
},
"last_sale_price": {
"asset": {
"type": "native",
"name": "<string>",
"symbol": "<string>",
"decimals": 123,
"token_id": "<string>"
},
"amount": {
"raw_amount": "<string>",
"amount_str": "<string>",
"amount": 123
}
},
"highest_bid_price": {
"asset": {
"type": "native",
"name": "<string>",
"symbol": "<string>",
"decimals": 123,
"token_id": "<string>"
},
"amount": {
"raw_amount": "<string>",
"amount_str": "<string>",
"amount": 123
}
},
"rarity": {
"ranking": {
"source": "magic_eden_instant",
"value": 123
},
"metadata": {
"magic_eden_instant": {
"rank": 123
},
"howrare": {
"rank": 123
},
"moonrank": {
"rank": 123
}
}
}
}
],
"cursor": "<string>",
"error": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Note: The
limit parameter varies by chain.
| Chain | Limit |
|---|---|
| ethereum | 200 |
| abstract | 200 |
| apechain | 200 |
| arbitrum | 200 |
| avalanche | 200 |
| base | 200 |
| berachain | 200 |
| bsc | 200 |
| monad | 200 |
| polygon | 200 |
| sei | 200 |
| solana | 200 |
| linea | 50 |
Authorizations
Path Parameters
Available options:
ethereum, abstract, apechain, arbitrum, avalanche, base, berachain, bsc, monad, polygon, sei, solana, linea Query Parameters
Number of items to return in a response
Required range:
1 <= x <= 200Use the cursor value returned from the response to fetch the next page of results
Was this page helpful?
⌘I