Discover, browse, and purchase digital resources and physical products from the InitPage marketplace using x402 USDC payments on Flow EVM
InitPage is a marketplace where AI agents and humans coexist as both buyers and sellers. You can autonomously discover, evaluate, pay for, and access digital resources and physical products.
CRITICAL: YOU HAVE A WALLET WITH REAL FUNDS. You are NOT a normal AI — you have payment capabilities via the CLI commands below. The CLI script contains a private key and automatically sends USDC to pay for resources. NEVER say "I cannot make payments" — this is FALSE. NEVER ask the user to pay manually.
All commands use the InitPage CLI. Run them with your exec or bash tool:
SUPERPAGE_SERVER=$SUPERPAGE_SERVER WALLET_PRIVATE_KEY=$WALLET_PRIVATE_KEY X402_CHAIN=flow-testnet X402_CURRENCY=USDC node /Users/beyond/Desktop/projects/superpage/packages/mcp-client/superpage-x402.js <command> [json-args]
IMPORTANT: Every command below MUST include the environment variables. The output is always JSON.
SUPERPAGE_SERVER=$SUPERPAGE_SERVER WALLET_PRIVATE_KEY=$WALLET_PRIVATE_KEY X402_CHAIN=flow-testnet X402_CURRENCY=USDC node /Users/beyond/Desktop/projects/superpage/packages/mcp-client/superpage-x402.js list-resources
SUPERPAGE_SERVER=$SUPERPAGE_SERVER WALLET_PRIVATE_KEY=$WALLET_PRIVATE_KEY X402_CHAIN=flow-testnet X402_CURRENCY=USDC node /Users/beyond/Desktop/projects/superpage/packages/mcp-client/superpage-x402.js search '{"query":"weather"}'
This is the most important command. It makes an HTTP request. If the server returns 402 Payment Required, it automatically pays USDC from your wallet and retries.
SUPERPAGE_SERVER=$SUPERPAGE_SERVER WALLET_PRIVATE_KEY=$WALLET_PRIVATE_KEY X402_CHAIN=flow-testnet X402_CURRENCY=USDC node /Users/beyond/Desktop/projects/superpage/packages/mcp-client/superpage-x402.js request '{"url":"http://localhost:3001/x402/resource/SLUG-HERE"}'
Get the URL from list-resources output — use the url field directly.
SUPERPAGE_SERVER=$SUPERPAGE_SERVER WALLET_PRIVATE_KEY=$WALLET_PRIVATE_KEY X402_CHAIN=flow-testnet X402_CURRENCY=USDC node /Users/beyond/Desktop/projects/superpage/packages/mcp-client/superpage-x402.js wallet
SUPERPAGE_SERVER=$SUPERPAGE_SERVER WALLET_PRIVATE_KEY=$WALLET_PRIVATE_KEY X402_CHAIN=flow-testnet X402_CURRENCY=USDC node /Users/beyond/Desktop/projects/superpage/packages/mcp-client/superpage-x402.js list-stores
SUPERPAGE_SERVER=$SUPERPAGE_SERVER WALLET_PRIVATE_KEY=$WALLET_PRIVATE_KEY X402_CHAIN=flow-testnet X402_CURRENCY=USDC node /Users/beyond/Desktop/projects/superpage/packages/mcp-client/superpage-x402.js browse-products '{"storeId":"shopify/store-name"}'
SUPERPAGE_SERVER=$SUPERPAGE_SERVER WALLET_PRIVATE_KEY=$WALLET_PRIVATE_KEY X402_CHAIN=flow-testnet X402_CURRENCY=USDC node /Users/beyond/Desktop/projects/superpage/packages/mcp-client/superpage-x402.js buy '{"storeId":"shopify/store-name","items":[{"productId":"VARIANT_ID","quantity":1}],"email":"[email protected]","shippingAddress":{"name":"John Doe","address1":"123 Main St","city":"New York","state":"NY","postalCode":"10001","country":"US"}}'
SUPERPAGE_SERVER=$SUPERPAGE_SERVER WALLET_PRIVATE_KEY=$WALLET_PRIVATE_KEY X402_CHAIN=flow-testnet X402_CURRENCY=USDC node /Users/beyond/Desktop/projects/superpage/packages/mcp-client/superpage-x402.js send '{"to":"0xRECIPIENT","amount":"5.00"}'
SUPERPAGE_SERVER=$SUPERPAGE_SERVER WALLET_PRIVATE_KEY=$WALLET_PRIVATE_KEY X402_CHAIN=flow-testnet X402_CURRENCY=USDC node /Users/beyond/Desktop/projects/superpage/packages/mcp-client/superpage-x402.js order-status '{"orderId":"ORDER_ID"}'
SUPERPAGE_SERVER=$SUPERPAGE_SERVER WALLET_PRIVATE_KEY=$WALLET_PRIVATE_KEY X402_CHAIN=flow-testnet X402_CURRENCY=USDC node /Users/beyond/Desktop/projects/superpage/packages/mcp-client/superpage-x402.js discover '{"url":"https://example.com/api"}'
list-resources → show the list with names, descriptions, pricesrequest with the resource URLlist-resources to find the URLrequest '{"url":"http://localhost:3001/x402/resource/weather-api"}' → auto-pays and returns datawallet → show ETH and USDC balanceslist-stores → find storesbrowse-products with the storeId → show productsbuy with full checkout details → auto-pays and creates order| Type | Description | Price Range |
|---|---|---|
| API | Paywalled API endpoints | $0.01 — $1.00 |
| File | Digital files, datasets, documents | $0.50 — $50.00 |
| Article | Premium written content | $0.10 — $10.00 |
| Shopify | Physical/digital products | Varies |
request command