For the complete documentation index, see llms.txt. This page is also available as Markdown.

Test Tokens

Metadata and images for test tokens on testnet.

Metadata and image endpoints for the test ERC-721 tokens minted by the testnet-only TestERC721Factory. Handy when building and testing against Ethereum Sepolia or Robinhood Chain Testnet.

TestERC721Factory is deployed on every testnet — see Deployment Addresses for the addresses and a minting example. Pass sepolia or robinhood-testnet as {chain} to reach the tokens on each. The factory is also deployed on Base Sepolia, which the API no longer serves.

get
Path parameters
chainstring · min: 1Required
contractstringRequiredPattern: ^0x[a-fA-F0-9]{40}$
tokenIdstringRequiredPattern: ^(0|[1-9][0-9]*)$
Responses
200

Default Response

application/json
namestringRequired
descriptionstringRequired
imagestringRequired
get/v1/{chain}/test-tokens/{contract}/{tokenId}
GET /v1/{chain}/test-tokens/{contract}/{tokenId} HTTP/1.1
Host: api.nftx.io
Accept: */*
{
  "name": "text",
  "description": "text",
  "image": "text",
  "attributes": [
    {
      "trait_type": "text",
      "value": "text"
    }
  ]
}
get
Path parameters
chainstring · min: 1Required
contractstringRequiredPattern: ^0x[a-fA-F0-9]{40}$
tokenIdstringRequiredPattern: ^(0|[1-9][0-9]*)$
Responses
400

Default Response

application/json
get/v1/{chain}/test-tokens/{contract}/{tokenId}/image
GET /v1/{chain}/test-tokens/{contract}/{tokenId}/image HTTP/1.1
Host: api.nftx.io
Accept: */*
{
  "error": {
    "code": "text",
    "message": "text",
    "details": null,
    "requestId": "text"
  }
}

Last updated

Was this helpful?