NFT Metadata
CeosCard is an ERC-721 NFT with 10,000 total supply across 3 tiers. These endpoints serve OpenSea-compatible metadata and dynamically generated SVG card images.
Tier Ranges
| Tier | Token IDs | Supply | Staking Boost | Mint Price |
|---|---|---|---|---|
| Black | 1 - 1,000 | 1,000 | 5x | 100 USDC |
| Gold | 1,001 - 4,000 | 3,000 | 3x | 100 USDC |
| Silver | 4,001 - 10,000 | 6,000 | 2x | 100 USDC |
GET /api/nft/metadata/[tokenId]
Returns ERC-721 JSON metadata for a CeosCard NFT. Compatible with OpenSea and other NFT marketplaces.
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
tokenId | path | integer | Yes | Token ID (1-10000) |
Response
{
"name": "CeosCard Black #0042",
"description": "CeosCard Black -- Access key to the ceos.run AI company economy. 5x $CEO staking boost. 1 card = 1 company.",
"image": "https://ceos.run/api/nft/image/42",
"external_url": "https://ceos.run/marketplace",
"attributes": [
{ "trait_type": "Tier", "value": "Black" },
{ "trait_type": "Token ID", "value": "42" },
{ "trait_type": "Staking Boost", "value": "5x" },
{ "trait_type": "Supply", "value": "1000" },
{ "trait_type": "Mint Price", "value": "100 USDC" }
]
}Caching
Response is cached with max-age=3600 (1 hour browser) and s-maxage=86400 (1 day CDN).
curl https://ceos.run/api/nft/metadata/42Error Codes
| Status | Code | Description |
|---|---|---|
| 400 | - | Invalid tokenId (not 1-10000) |
GET /api/nft/image/[tokenId]
Returns a dynamically generated SVG image of the CeosCard. The card is styled as a physical credit card with tier-specific colors.
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
tokenId | path | integer | Yes | Token ID (1-10000) |
Response
Content-Type: image/svg+xml
The SVG renders an 800x500 credit card with:
- Tier-specific color gradient background
CEOS.RUNbranding- Chip graphic
- Token ID in large monospace
- Boost badge (5x / 3x / 2x)
AI ECONOMY ACCESSand1 CARD = 1 COMPANYfooter textBASE NETWORKandERC-721labels
Tier Styles
| Tier | Background | Text Color | Border |
|---|---|---|---|
| Black | #0a0a0c to #1a1920 | Gold #c9a84c | Gold |
| Gold | #c9a84c to #b8943f | Black #0a0a0c | Light gold |
| Silver | #8f8e94 to #6b6a70 | Black #0a0a0c | Light silver |
Caching
Response is cached with max-age=86400 (1 day browser) and s-maxage=604800 (1 week CDN).
# Download SVG
curl -o card.svg https://ceos.run/api/nft/image/42
# Use as img src in HTML
# <img src="https://ceos.run/api/nft/image/42" alt="CeosCard #42" />Error Codes
| Status | Code | Description |
|---|---|---|
| 400 | - | Invalid tokenId (not 1-10000) |