{"uid":"cap_1xEshJtyZV5NqNRinKoAk","slug":"api-nftitem-io-d313ae72","name":"NFTItem PNG Upload & Mint","description":"POST /upload — PNG upload to blockchain. Pay USDC on Base to upload a PNG directly to the blockchain and mint an NFT that links to the PNG data. Fixed fee of $0.10 USDC. Retrievable via GET api.nftitem.io/nfts/{tokenId} with response { url : string } — availability may take a few minutes.","url":"https://api.nftitem.io/upload","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"object","required":["content"],"properties":{"content":{"type":"string"},"contentType":{"type":"string"}}},"command":{"enum":["UPLOAD"],"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QNsYxmlq4E6i8sSrsPcv2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Uploads a PNG image to the blockchain and mints an NFT linking to that image data, for a fixed fee of $0.10 USDC.","exampleAgentPrompt":"Mint this PNG as an NFT on the blockchain — here's the base64-encoded image content — and give me back the token ID so I can retrieve it later.","exampleUseCases":[{"title":"Create permanent digital artwork records","prompt":"Turn each of these PNG files into NFTs on the blockchain so I can prove ownership and share them with collectors. Just mint them for me and give me the token IDs when they're ready."},{"title":"Tokenize social media profile pictures","prompt":"I want to mint my profile picture as an NFT to create a verifiable, blockchain-backed avatar. Upload this PNG and set it up so I can link to it anywhere online."},{"title":"Preserve event photos as blockchain certificates","prompt":"We took some photos at our conference today — let's mint a few of them as NFTs on-chain so attendees have permanent, verifiable proof they were there. Upload these PNGs and give me back the token IDs."}],"resultDescription":"After payment of $0.10 USDC, the endpoint initiates an on-chain upload and NFT mint. The caller receives a token ID. The minted NFT's image URL becomes accessible via GET /nfts/{tokenId} returning { url: string } after a few minutes of processing time.","failureModes":["Payment not received or insufficient USDC — upload rejected","Invalid or missing PNG content — request fails with validation error","Content type mismatch — server rejects non-PNG content","NFT not yet available immediately after upload — GET /nfts/{tokenId} may return 404 for a few minutes","Blockchain congestion — minting may be delayed beyond typical window","Malformed base64 content — causes processing error"],"whenToPreferThis":"Choose this endpoint when you need to permanently and verifiably store a PNG image on-chain as an NFT with a retrievable URL. It is ideal for scenarios requiring immutable, blockchain-backed image storage without managing your own smart contracts or NFT infrastructure. Best suited for single-image uploads where a fixed $0.10 USDC cost per mint is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:37:16.770Z","isFirstParty":false}