x402-kit icon indicating copy to clipboard operation
x402-kit copied to clipboard

40+ production APIs with x402 support for testing/examples

Open Robocular opened this issue 9 months ago • 1 comments

Production x402 deployment

Hey! I maintain an API gateway with 40+ services that all support x402 payments natively. Could be useful as a real-world test target or example integration for x402-kit.

Quick test

# This will return 402 with payment requirements
curl -I https://agent-gateway-kappa.vercel.app/api/scraper/scrape

# With x402 payment header, the request goes through

Integration example

import { createPaymentClient } from '@x402/kit';

const client = createPaymentClient({ wallet: yourWallet });
const GATEWAY = 'https://agent-gateway-kappa.vercel.app';

// Any of these 40+ endpoints work with x402
const endpoints = [
  { path: '/api/scraper/scrape', method: 'POST', body: { url: 'https://example.com' } },
  { path: '/api/screenshot/capture', method: 'POST', body: { url: 'https://github.com' } },
  { path: '/api/code/run', method: 'POST', body: { code: 'print(42)', language: 'python' } },
  { path: '/api/crypto/price/BTC', method: 'GET' },
  { path: '/api/search/query?q=typescript+tips', method: 'GET' },
  { path: '/api/geo/lookup/8.8.8.8', method: 'GET' },
];

What's available

Web scraping, screenshots, code execution, web search, crypto prices, on-chain analytics, agent memory (vector search), file storage, PDF generation, image processing, DNS lookup, URL shortener, email sending, and more.

Full catalog: https://api-catalog-three.vercel.app Pricing: ~$0.002/request via x402 (USDC on Base)

Happy to help add our gateway as an example integration in the x402-kit docs!

Robocular avatar Mar 04 '26 09:03 Robocular

@Robocular Thank you for sharing this, but x402-kit is an SDK for building x402-gated APIs, not for clients.

FrozenArcher404 avatar Mar 12 '26 06:03 FrozenArcher404