{"uid":"cap_0SAZNTiOcQDy7AFWWPv66","slug":"x402-next-js-api-starter-kit-download-676fb251","name":"x402 Next.js API Starter Kit Download","description":"Paid deterministic utility APIs settled in native USDC on Base.","url":"https://x402-url-evidence.vercel.app/api/starter-download","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":{"properties":{},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"delivery":"Binary response body after settlement","filename":"x402-next-api-starter-kit.zip","contentType":"application/zip"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"5","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":"$5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cpLF4Udxymzc6SA_IylVL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Delivers a downloadable ZIP file containing the x402 Next.js API starter kit after payment of $5 USDC on Base.","exampleAgentPrompt":"Pay the $5 USDC fee and download the x402 Next.js API starter kit ZIP for me so I can start building payment-gated APIs.","exampleUseCases":[{"title":"Bootstrap x402-gated API project","prompt":"I want to start building a micropayment-gated API using x402 and Next.js — pay the 5 USDC and grab me the starter kit ZIP file."},{"title":"Acquire x402 boilerplate for hackathon","prompt":"We're at a hackathon and want to build a paid API on Base using x402. Can you purchase and download the official starter kit for us?"},{"title":"Onboard team to x402 protocol","prompt":"Onboard our dev team to the x402 payment protocol by purchasing and downloading the Next.js starter kit ZIP so everyone has the same starting point."}],"resultDescription":"A binary ZIP file (x402-next-api-starter-kit.zip, content-type: application/zip) containing the x402 Next.js API starter kit, delivered directly in the response body after successful $5 USDC payment settlement on Base.","failureModes":["Payment not settled — USDC transaction on Base fails or is rejected, no file returned","Insufficient wallet balance — agent has less than $5 USDC available on Base","Network timeout during ZIP delivery — binary download interrupted mid-transfer","Invalid request body — body must be empty JSON object but malformed payload sent","Payment facilitator unavailable — x402 settlement infrastructure temporarily down"],"whenToPreferThis":"Choose this endpoint when you specifically need the official x402 Next.js API starter kit and are willing to pay $5 USDC via the x402 protocol on Base. It is the canonical, Coinbase-curated source for this starter template. Prefer it over generic GitHub searches when you want an immediately payable, single-call download with guaranteed provenance.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:37:20.310Z","isFirstParty":false}