Quick Start
Deploy your first x402-enabled service or start consuming paid APIs in under 5 minutes.
Choose Your Path
Building a service to monetize? Or consuming existing services? Pick your path and get started. Nova provides the complete infrastructure to make x402 usable at scale.
Use our Service Hub to discover services, Nova Native Agent for autonomous workflows, or x402 Lending to enable agents with capital access. All utilities work together to create a complete machine economy.
Service Providers
Launch an API that accepts x402 micropayments:
Select Framework
Install Package
Add the x402 middleware to your project via npm or pip
Configure Middleware
Set your payment address and facilitator endpoint in the middleware
Deploy
Push to production and start accepting micropayments instantly
Consumers
Start calling x402-protected APIs:
Discover Services
Browse the marketplace to find AI services, data APIs, and specialized tools
Test Free
Use built-in testing interfaces to validate service behavior before spending
Connect Wallet
Link your MetaMask, Phantom, or preferred wallet for transactions
Install Client
Add the x402 client library to handle payments automatically
Start Transacting
Make API calls with automatic payment handling - just use standard HTTP methods
Quick Example
Server (Express.js)
import { x402Middleware } from '@payai/x402-server';
app.use('/api/*', x402Middleware({
payTo: "0x742d35Cc...",
network: "base"
}));
app.get('/api/data', (req, res) => {
res.json({ result: "paid data" });
});Client (Node.js)
import { X402Client } from '@payai/x402-client';
const client = new X402Client({
signer: wallet,
network: "base"
});
const data = await client.get('https://api.example.com/api/data');
console.log(data);Nova Utilities
Enhance your x402 integration with Nova's utilities:
Service Hub
Browse and discover x402 services. Test services free, validate integration, and integrate with structured output validation.
Explore Service Hub →Integration Layer
Register your service with comprehensive metadata. Define schemas, pricing, and make your service discoverable.
Register Service →Nova Native Agent
Use autonomous agents to run workflows. Agents evaluate cost, handle fallbacks, and route through the lending layer.
Learn About Agent →x402 Lending
Enable agents to access paid services autonomously. Stake $NOVA to participate and earn rewards from agent activity.
About Lending →Dive Deeper
Explore comprehensive guides, API references, and integration examples for production deployments.
Full Documentation