{"uid":"cap_g902Ecklzev_es-B9kxY3","slug":"x402-swag-custom-design-api-e21dfece","name":"x402 Swag Custom Design API","description":"Shirts, mugs, and stickers for the x402 protocol era. Pay in USDC on Base via x402 — no accounts, no cards — or standard checkout. Ships worldwide.","url":"https://x402swag.com/api/custom/designs?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"object"},"example":{"type":"string"}}},"responseSchema":{"type":"json","example":{"dpi":300,"status":"ready","design_id":"a1b2c3d4e5","expires_at":"2026-09-08T21:00:00.000Z","mockup_urls":[],"preview_url":"https://x402swag.com/custom-files/a1b2c3d4e5/preview.png"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.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":"$0.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SrejD80kyFN2v7GElzhAd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves custom merchandise design assets including preview URLs, mockup images, and design metadata for the x402 Swag print-on-demand store","exampleAgentPrompt":"Can you pull up a custom design preview from x402 Swag — I want to see what the mockup looks like for a design before I pay for it in USDC?","exampleUseCases":[{"title":"AI agent ordering branded merch","prompt":"I want to order a custom x402 protocol t-shirt — can you fetch the design preview and mockup images from x402 Swag so I can approve it before checking out with USDC?"},{"title":"Builder previewing sticker design","prompt":"I'm building on the x402 protocol and want to give out stickers at a hackathon — can you pull the custom design assets from x402 Swag so I can see the preview URL and confirm the resolution is 300 DPI?"},{"title":"Agent verifying design readiness","prompt":"Before I complete my USDC payment on x402 Swag, can you check if the design status is 'ready' and grab the mockup URLs so I know what I'm actually buying?"}],"resultDescription":"Returns a JSON object containing a unique design_id, a preview_url pointing to a PNG of the design, an array of mockup_urls showing the design on products, the print resolution in DPI (e.g. 300), a status field (e.g. 'ready'), and an expires_at timestamp indicating how long the design assets are valid.","failureModes":["Invalid or missing schema/example input returns an error or empty response","Design assets may expire after the expires_at timestamp, requiring a new request","Empty mockup_urls array if mockups have not yet been generated","Service unavailable if x402 payment gateway is not reachable","Rate limiting or payment failure if USDC balance is insufficient for the $0.50 per-call fee"],"whenToPreferThis":"Choose this endpoint when an AI agent or human builder needs to programmatically retrieve custom merchandise design previews and mockup assets from x402 Swag before committing to a purchase. Ideal for agents operating in the x402 protocol ecosystem that handle USDC payments on Base and need to inspect design quality, resolution, and readiness prior to fulfillment. Prefer this over generic print-on-demand APIs when the use case specifically involves x402-native payment flows or x402 protocol branded merchandise.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T00:37:10.503Z","isFirstParty":false,"canonicalSlug":"x402-swag-custom-design-api-e21dfece"}