402
APIHub
MarketplaceDemoDocumentationPricingTokenomics
Sign InList Your API

Get Started as a Consumer

Learn how to integrate and use APIs from the APIHub 402 marketplace

1

Connect Your Wallet

To use APIs on APIHub 402, you'll need a Web3 wallet with cryptocurrency. We support:

  • MetaMask, WalletConnect, Coinbase Wallet
  • Ethereum, Base, Polygon, and Solana networks
  • Ensure you have sufficient balance for API calls
2

Browse the Marketplace

Explore our marketplace to find the perfect API for your needs:

  • Filter by category, pricing, and popularity
  • Read detailed documentation and endpoint specs
  • Try APIs in the playground before integrating
Browse APIs
3

Integrate the API

Integration is simple with our x402 client library:

import { X402Client } from '@apihub402/client'

const client = new X402Client({
  walletAddress: '0x...',
  privateKey: process.env.PRIVATE_KEY
})

const response = await client.call({
  apiId: 'weather-api-123',
  endpoint: '/forecast',
  params: { city: 'San Francisco' }
})

console.log(response.data)
View Full Documentation
4

Make Your First Call

When you make an API call, the x402 protocol automatically:

  • Calculates the cost based on the API's pricing
  • Processes the micropayment via blockchain
  • Returns the API response instantly
  • Records the transaction for your records
Try the Demo

Why Use APIHub 402?

No Subscriptions

Pay only for the API calls you make. No monthly fees, no unused credits.

Instant Access

No signup forms or approval processes. Connect your wallet and start using APIs immediately.

Transparent Pricing

See exactly what each API call costs before you make it. No hidden fees or surprises.

Secure Payments

All payments are processed on-chain with cryptographic verification for maximum security.

Ready to Start?

Explore our marketplace and find the perfect API for your project

Browse APIs Try Demo