Skip to main content
GET
/
apechain
/
v1
/
nft
/
collections
/
{address}
/
tokens
Get NFT tokens by address
curl --request GET \
  --url https://data-api.cloud.ormi.dev/apechain/v1/nft/collections/{address}/tokens
{
  "cursor": null,
  "resultCount": 2,
  "tokens": [
    {
      "address": "0xcf9a9600d50874244ed6085773379a75cd60d72c",
      "ercType": "ERC-721",
      "metadata": {
        "attributes": "[{\"trait_type\":\"Background\",\"value\":\"1\"},{\"trait_type\":\"Fur\",\"value\":\"10\"},{\"trait_type\":\"Earring\",\"value\":\"0\"},{\"trait_type\":\"Hat\",\"value\":\"0\"},{\"trait_type\":\"Eyes\",\"value\":\"0\"},{\"trait_type\":\"Clothes\",\"value\":\"33\"},{\"trait_type\":\"Mouth\",\"value\":\"0\"}]",
        "imageUri": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy...C9zdmc+",
        "mintedBlockNumber": 915726,
        "mintedTimestamp": "2024-10-22T22:58:26Z",
        "name": "OnChain Monkey #1",
        "symbol": "OCAPE"
      },
      "tokenId": "1",
      "tokenUri": "data:application/json;base64,eyJuYW1lIjogIk9uQ2h...EM5emRtYysifQ=="
    },
    {
      "address": "0xcf9a9600d50874244ed6085773379a75cd60d72c",
      "ercType": "ERC-721",
      "metadata": {
        "attributes": "[{\"trait_type\":\"Background\",\"value\":\"7\"},{\"trait_type\":\"Fur\",\"value\":\"12\"},{\"trait_type\":\"Earring\",\"value\":\"0\"},{\"trait_type\":\"Hat\",\"value\":\"12\"},{\"trait_type\":\"Eyes\",\"value\":\"6\"},{\"trait_type\":\"Clothes\",\"value\":\"24\"},{\"trait_type\":\"Mouth\",\"value\":\"21\"}]",
        "imageUri": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy...IjQzMCIgc3R5bGU9ImZpbGw6IzkwZiIvPjwvc3ZnPg==",
        "mintedBlockNumber": 915988,
        "mintedTimestamp": "2024-10-22T22:59:38Z",
        "name": "OnChain Monkey #2",
        "symbol": "OCAPE"
      },
      "tokenId": "2",
      "tokenUri": "data:application/json;base64,eyJuYW1lIjogIk9uQ2h...Ul2UGp3dmMzWm5QZz09In0="
    },
    "..."
  ]
}

Documentation Index

Fetch the complete documentation index at: https://ormilabs.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

address
string
required

Contract address.

Query Parameters

cursor
string

The cursor returned in previous response (for getting the next page).

limit
integer | null
default:100

Number of records to fetch

Required range: 1 <= x <= 100

Response

200 - application/json

A list of NFT tokens for an address.

resultCount
integer
required

amount of nfts equal to page size.

tokens
object[]
required
cursor
string | null