{"uid":"cap_8xw0JYhw5FCoG2gQ9QitX","slug":"creative-tim-shadcn-block-code-viewer-x402-pay-per-view-d2139e03","name":"Creative Tim ShadCN Block Code Viewer (x402 Pay-per-View)","description":"View component code after payment","url":"https://x402.creative-tim.com/shadcn-blocks/user-payment","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"block_name":{"type":"string","description":"Name of the block to fetch (e.g., testimonials-02, cruds-01). Defaults to testimonials-02 if not provided."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jfybgw9yWfMccbuRddjli","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the source code for a named ShadCN UI component block after a $0.01 USDC micropayment via x402","exampleAgentPrompt":"Can you fetch the source code for the 'testimonials-02' ShadCN block from Creative Tim — I want to see the component HTML/JSX for it.","exampleUseCases":[{"title":"Unlock premium UI component templates","prompt":"I need to grab the source code for the 'cruds-01' ShadCN block from Creative Tim — can you fetch it for me and I'll cover the micropayment?"},{"title":"Bootstrap frontend with payment-gated blocks","prompt":"Pull the 'testimonials-02' component code from Creative Tim's ShadCN library so I can drop it into our design system. Happy to pay the small fee."},{"title":"Access exclusive shadcn component variations","prompt":"Can you get the source code for the 'user-payment' ShadCN block? I want to see how Creative Tim structured the payment form component."}],"resultDescription":"The agent receives the full source code or content of the specified ShadCN UI block (e.g. testimonials-02, cruds-01), gated behind a $0.01 USDC x402 micropayment. If no block_name is provided, it defaults to testimonials-02.","failureModes":["Payment not processed or x402 header missing — returns HTTP 402 Payment Required","Invalid or unknown block_name — may return 404 or empty result","No block_name provided defaults to testimonials-02, potentially returning unexpected content","Network timeout or server error returns 5xx"],"whenToPreferThis":"Use this endpoint when you need the source code for a specific named ShadCN UI block from Creative Tim and are willing to pay $0.01 USDC per fetch. Ideal for agents automating frontend scaffolding or retrieving premium UI templates programmatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:31:33.025Z","isFirstParty":false}