Skip to main content
GET
/
nft
/
nft-in-collection
cURL
curl --request GET \
  --url https://api.uniblock.dev/uni/v1/nft/nft-in-collection \
  --header 'x-api-key: <api-key>'
{
  "contractAddress": "0x81ae0be3a8044772d04f32398bac1e1b4b215aa8",
  "contractType": "ERC721",
  "contractName": "Dreadfulz",
  "contractSymbol": "Dreadfulz",
  "nfts": [
    {
      "tokenId": "1",
      "tokenURI": "http://token.artblocks.io/0xbdde08bd57e5c9fd563ee7ac61618cb2ecdc0ce0/5000372",
      "lastUpdated": "2023-04-25T22:17:00.509Z",
      "metadata": {
        "name": "CyrptoMexa #372",
        "description": "CryptoMexas are the sixth edition in the CryptoCitizens collection, an ongoing generative portrait series based on real people from communities around the world. Holders of CryptoCitizens are members of the Bright Moments DAO.",
        "image": "https://media-proxy.artblocks.io/0xbdde08bd57e5c9fd563ee7ac61618cb2ecdc0ce0/5000372.png",
        "traits": "[\n          {\n            \"value\": \"All CryptoMexas\",\n            \"trait_type\": \"CryptoMexa\"\n          },\n          {\n            \"value\": \"Body: Dark\",\n            \"trait_type\": \"CryptoMexa\"\n          },\n          {\n            \"value\": \"City: CDMX\",\n            \"trait_type\": \"CryptoMexa\"\n          },\n          {\n            \"value\": \"Gear: Vihuela\",\n            \"trait_type\": \"CryptoMexa\"\n          },\n          {\n            \"value\": \"Bodywear: Charro Suit\",\n            \"trait_type\": \"CryptoMexa\"\n          },\n          {\n            \"value\": \"Facewear: Red Shades\",\n            \"trait_type\": \"CryptoMexa\"\n          },\n          {\n            \"value\": \"Footwear: Black Shoes\",\n            \"trait_type\": \"CryptoMexa\"\n          },\n          {\n            \"value\": \"Headwear: White Cap\",\n            \"trait_type\": \"CryptoMexa\"\n          },\n          {\n            \"value\": \"Background: Avenida Álvaro Obregón\",\n            \"trait_type\": \"CryptoMexa\"\n          }\n        ]"
      },
      "rawMetadata": "{\"name\":\"Dreadfulz #0\",\"description\":\"7,777 Dreadfulz have inked their name in fealty to the Grand Inquisitor. Bound by avarice, lustful for $DREAD.\",\"image\":\"https://ipfs.io/ipfs/QmZbxmneJTMFfa8SXpv8QweHi34CUMU4LpuPH5UVNvrAbG/0.jpg\",\"external_url\":\"\",\"attributes\":[{\"value\":\"Legendary\",\"trait_type\":\"DIVISION\"}],\"properties\":{\"category\":\"image\",\"files\":[{\"type\":\"image/png\",\"uri\":\"0.png\"}],\"creators\":[]}}"
    }
  ],
  "cursor": "ALC_MHgyMzEyZjAwMTQ5ZDAxMDgwNmQ5ZWY2ZjNlYTMyMGViMWUxYTZiYzhlOjB4MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDFhYTpmYWxzZQ=="
}

Authorizations

x-api-key
string
header
required

Query Parameters

chainId
enum<string>
default:1
required

Unique identifier for a blockchain network.

Available options:
1,
10,
100,
10143,
10200,
10218,
11011,
11124,
11142220,
11155111,
11155420,
11155931,
11235,
11297108099,
11297108109,
1135,
1284,
1285,
130,
1301,
1313161554,
1315,
1328,
1329,
137,
14,
143,
146,
14601,
1514,
167000,
167009,
168587773,
1868,
1946,
2020,
2021,
2030232745,
204,
232,
2442,
25,
250,
252,
2522,
2741,
30,
300,
31,
321,
322,
324,
32769,
33101,
33111,
33139,
34443,
351243127,
360,
3636,
3637,
369,
36900,
37111,
4002,
4157,
4158,
4202,
42161,
421614,
42170,
42220,
42261,
42262,
43113,
43114,
4326,
44787,
480,
4801,
50,
5000,
5003,
51,
510,
5115,
5330,
53302,
534351,
534352,
5371,
5373,
54211,
545,
56,
560048,
5611,
57054,
57073,
59141,
59144,
60808,
61,
613419,
6343,
666666666,
685685,
6900,
69000,
6985385,
7000,
7001,
7080969,
7332,
747,
763373,
7777777,
80002,
80069,
80094,
808813,
843843,
8453,
84532,
869,
88882,
88888,
919,
97,
9745,
9746,
994873017,
998,
999,
999999999,
aptos,
bitcoin,
bitcoin-testnet,
eth-holesky-beacon,
eth-hoodi-beacon,
eth-mainnet-beacon,
eth-sepolia-beacon,
solana,
solana-devnet,
starknet,
starknet-sepolia,
sui,
toncoin
Example:

1

contractAddress
string
default:0x81Ae0bE3A8044772D04F32398bac1E1B4B215aa8

The address of the NFT collection to query.

Example:

"0x81Ae0bE3A8044772D04F32398bac1E1B4B215aa8"

collectionSlug
string
default:azuki

OpenSea collection slug to query.

Example:

"azuki"

cursor
string

Cursor from previous query to get next page of results.

includeRaw
boolean

Returns the raw data given by the provider. WARNING: removes backup feature, and raw data returned is not normalized which might make switching providers difficult

Example:

null

provider
enum<string>

Specify which provider to use. The project's provider priority list is used by default if no providers are selected. (Priority list can be managed on Uniblock's dashboard)

Available options:
Alchemy,
GoldRush,
Moralis,
Tatum,
,
Covalent

Response

200 - application/json
contractAddress
object
required
Example:

"0x81ae0be3a8044772d04f32398bac1e1b4b215aa8"

contractType
object
required
Example:

"ERC721"

contractName
object
required
Example:

"Dreadfulz"

contractSymbol
object
required
Example:

"Dreadfulz"

nfts
object[]
required
cursor
string
required
Example:

"ALC_MHgyMzEyZjAwMTQ5ZDAxMDgwNmQ5ZWY2ZjNlYTMyMGViMWUxYTZiYzhlOjB4MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDFhYTpmYWxzZQ=="