GET /api/nft/collection/{id}
NFT collection details
GET collection data from nft service
Endpoint​
GET https://api.web3identity.com/api/nft/collection/{id}
Parameters​
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | âś… | Unique identifier |
chain | query | string | ❌ | Blockchain (ethereum, polygon, base) |
limit | query | integer | ❌ | Max items to return |
Example Request​
curl -s "https://api.web3identity.com/api/nft/collection/:id" | jq
Responses​
200 Collection​
{
"name": "CryptoPunks",
"symbol": "PUNK",
"totalSupply": 10000,
"floorPrice": 45.67,
"volume24h": 234.56,
"owners": 3456
}
400 Bad request - invalid parameters​
{
"example": "response"
}
402 Payment required - free tier exhausted​
{
"example": "response"
}
404 Resource not found​
{
"example": "response"
}
429 Rate Limited​
{
"example": "response"
}
500 Internal Server Error - Something went wrong on our end​
{
"error": "Internal server error",
"code": "INTERNAL_ERROR"
}
Auto-generated from OpenAPI spec