x402 Creative Tim

Payment-gated content and API endpoints powered by x402 protocol on Base network. Access premium content via browser or integrate with AI agents through our API endpoints.

Open Source on GitHub

How It Works

Two ways to access our premium content

Browser Access

Visit presentation pages, connect your wallet via OnchainKit, and access beautiful UI pages with your purchased content.

Beautiful user interface
Wallet connection via OnchainKit
Direct download links

API Access

Integrate with AI agents and custom applications. API endpoints return JSON data after payment verification.

JSON response format
AI agent integration
Programmatic access

Available Content

Three premium content offerings with dual access methods

Message Content

$0.10

Simple message content for demonstration purposes

Browser Access:
/message → /message/user-payment
API Access:
GET /api/message

UI/UX Design Book

$10.00

Premium UI/UX book content, templates, and design resources

Browser Access:
/ui-ux-book → /ui-ux-book/user-payment
API Access:
GET /api/ui-ux-book

shadcn/ui Component Blocks

$0.01

shadcn/ui component blocks and ready-to-use templates

Browser Access:
/shadcn-blocks → /shadcn-blocks/user-payment
API Access:
GET /api/shadcn-block

Payment Flow

Seamless payment experience powered by x402 protocol

1Browser Flow

  1. Visit presentation page
  2. Click purchase button
  3. Connect wallet via OnchainKit
  4. Complete USDC payment
  5. Access beautiful payment success page

2API Flow

  1. Make API request to endpoint
  2. Receive 402 Payment Required response
  3. Complete payment with Web3 wallet
  4. Retry request with payment proof
  5. Receive JSON response with content

Technical Details

  • Protocol: x402 payment protocol with official @coinbase/x402 facilitator
  • Network: Base (mainnet) and Base Sepolia (testnet)
  • Currency: USDC stablecoin for all payments
  • Middleware: Next.js middleware protecting both pages and API routes
  • UI Kit: OnchainKit for wallet connection and payment interface

Powered by X402 Protocol on Base Network • Built with Creative Tim UI