Create NFT collection
curl --location 'https://overlay.fun/nfts' \
--header 'api-key: ovl_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data '{
"network": "solana",
"name": "Overlay Pass",
"symbol": "OVLPASS",
"description": "this is test nft",
"images": ["https://overlay.fun/logo.png"],
"website": "https://overlay.fun",
"seller_fee": "3"
}'
{
"success": true,
"data": {
"mint_address": "example_nft_collection_address",
"metadata_uri": "https://example.com/metadata.json",
"tx": "example_transaction_signature",
"created_at": "2026-07-27T08:01:23.040Z"
},
"message": "NFT creation completed successfully"
}
Mint NFT
{mint_address} には、作成済みNFTコレクションの mint_address を指定します。
curl --location 'https://overlay.fun/nfts/{mint_address}/mint' \
--header 'api-key: ovl_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data '{
"network": "solana",
"name": "Overlay Pass #1",
"symbol": "OVLPASS",
"description": "this is test nft item",
"images": ["https://overlay.fun/logo.png"],
"website": "https://overlay.fun",
"seller_fee": "3"
}'
Transfer NFT
curl --location 'https://overlay.fun/nfts/{mint_address}/transfer' \
--header 'api-key: ovl_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data '{
"network": "solana",
"recipient": "example_recipient_address"
}'
token_id が必要になる場合があります。
Burn NFT
curl --location 'https://overlay.fun/nfts/{mint_address}/burn' \
--header 'api-key: ovl_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data '{
"network": "solana",
"tokenId": "1"
}'
Fetch NFT
curl --location 'https://overlay.fun/nfts/{mint_address}' \
--header 'api-key: ovl_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
Interactive reference
OpenAPIから生成されたPlaygroundで、NFT APIを直接確認できます。
