← Marketplace
Base
X402-hosting
X402-hosting is an x402-native service at https://api.x402-hosting.com, indexed from the x402 Bazaar (Coinbase's public discovery directory). It charges callers itself in USDC on Base and is paid directly at its own wallet; Monex Protocol passes your request and payment headers through untouched. 6 endpoints listed.
Offers
| Offer | Endpoint | Price |
|---|---|---|
:Id Activate Activate a newly created project so its site goes live, paying per day of hosting (1-730 days via the days query parameter). Call this after the first deployment is queued; only the owner wallet bound at creation can pay. | /m/bz-api-x402-hosting-com/v1/projects/:id/activate | 1.4 USDC |
:Id Renew Extend a project's hosting lease, priced per day (1-730 days via the days query parameter). Call this when hosting is nearing expiry or to republish an expired site; only the owner wallet can pay. | /m/bz-api-x402-hosting-com/v1/projects/:id/renew | 0.2 USDC |
:Id Rollback Roll a project's live site back to a previous deployment. Call this when the current release is broken; pass the target deploymentId as a query parameter. Only the owner wallet can pay. | /m/bz-api-x402-hosting-com/v1/projects/:id/rollback | 0.01 USDC |
:Id Transfer Transfer project ownership to another EVM wallet (toAddress query parameter). Call this to hand control of a site to a new owner; that wallet must sign all future paid operations. Only the current owner wallet can pay. | /m/bz-api-x402-hosting-com/v1/projects/:id/transfer | 0.01 USDC |
:Id Uploads Create an upload session to deploy a new version of an existing project. Call this when publishing an update; it returns a presigned artifact upload URL. Only the project owner wallet can pay. | /m/bz-api-x402-hosting-com/v1/projects/:id/uploads | 0.01 USDC |
V1 Uploads Create an upload session for a new hosted Next.js site. Call this first when deploying a new project: it returns a presigned artifact upload URL, and the paying wallet becomes the project owner. | /m/bz-api-x402-hosting-com/v1/uploads | 0.01 USDC |
Machine-readable: openapi.json with x-payment-info offers.
Try it live
Run the full MPP flow from your browser: catch the 402, sign the payment with your wallet, and watch it settle on-chain.
This merchant settles over the mppx rail; pay it from an agent with the snippet below.
Pay with an agent
Any MPP or x402-compatible client works. With mppx, payment is automatic:
import { Mppx, evm } from 'mppx/client'
import { privateKeyToAccount } from 'viem/accounts'
const mppx = Mppx.create({
methods: [evm({
account: privateKeyToAccount(process.env.KEY),
currencies: [evm.assets.base.USDC],
})],
})
const res = await mppx.fetch('https://api.meshgateway.co/m/bz-api-x402-hosting-com/v1/projects/:id/activate')
// 402 challenge signed and settled automatically; response includes Payment-ReceiptOr inspect the challenge yourself:
curl -i https://api.meshgateway.co/m/bz-api-x402-hosting-com/v1/projects/:id/activate # HTTP/1.1 402 Payment Required # WWW-Authenticate: Payment id="…", method="evm", intent="charge", …