Learn how to list and monetize your APIs on the APIHub 402 platform
Sign up as a provider to start monetizing your APIs:
Add your API to the marketplace with detailed information:
Configure flexible pricing for your API endpoints:
Example: If you charge $0.01 per call and receive 1,000 calls, you earn $9.75 (after 2.5% platform fee).
Track your API performance with our comprehensive dashboard:
Add our lightweight middleware to your existing API to enable x402 payments:
import { x402Middleware } from '@apihub402/middleware'
const middleware = new x402Middleware({
apiKey: process.env.APIHUB_API_KEY,
pricing: {
'/forecast': 0.01,
'/historical': 0.02
}
})
app.use(middleware.verify())
app.get('/forecast', (req, res) => {
// Your API logic here
res.json({ temperature: 72, conditions: 'sunny' })
})The middleware automatically handles payment verification, request forwarding, and revenue distribution.
Start earning from your first API call. Payments are processed instantly via blockchain.
Access a worldwide marketplace of developers looking for quality APIs.
We handle all payment processing, fraud prevention, and customer billing automatically.
Keep 97.5% of your revenue. Our 2.5% fee covers infrastructure and payment processing.
Join hundreds of providers earning passive income on APIHub 402