{"uid":"cap_MRMcuQGu1im6nmyoKAoeb","slug":"treat-rocks-rock-minting-api-709ac372","name":"Treat.rocks Rock Minting API","description":"A Treat.rocks rock, $2.00 USDC. Fixed price, no refunds once minted, not an investment. Terms: https://treat.rocks/terms - Verify: https://treat.rocks/verify/<id> - Security: https://treat.rocks/SECURITY.md","url":"https://treat.rocks/api/rock?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"queryParams":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"2","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":"$2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vDF9aOrZ-YiC63VyGAzhM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"2","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Mints a digital 'rock' NFT-like collectible on treat.rocks for $2.00 USDC, returning a unique verifiable rock ID","exampleAgentPrompt":"Mint me a rock on treat.rocks — I want to buy one of those $2 USDC digital rock collectibles right now.","exampleUseCases":[{"title":"Collecting a digital rock as a gift","prompt":"Buy me a treat.rocks rock as a digital gift — spend the $2 USDC and give me the verification link so I can share it."},{"title":"Automated rock minting for a collector bot","prompt":"I want to mint a new treat.rocks rock right now using my wallet — go ahead and purchase one for $2 USDC and return the rock ID so I can verify it."},{"title":"First-time treat.rocks purchase","prompt":"Can you get me one of those treat.rocks digital rocks? I heard they're $2 USDC each and I want to try it out — mint one for me and show me where to verify it."}],"resultDescription":"Returns a minted rock record including a unique rock ID and a verification URL (https://treat.rocks/verify/<id>) that confirms ownership of the newly created digital rock collectible.","failureModes":["Payment of exactly $2 USDC not provided via x402 protocol — results in 402 Payment Required","Malformed request body or incorrect bodyType — results in 400 Bad Request","Network or blockchain congestion causing delayed minting","Rock already minted for a given input — may return conflict or duplicate error","Terms of service not accepted — potential rejection of request"],"whenToPreferThis":"Choose this endpoint when a user explicitly wants to mint or purchase a treat.rocks digital rock collectible. This is the only endpoint for creating a treat.rocks rock. It is not suitable for lookups, refunds, or general NFT minting on other platforms.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T06:36:49.463Z","isFirstParty":false,"canonicalSlug":"treat-rocks-rock-minting-api-709ac372"}