x402 v2 · Multi-chain · Gasless

RelAI Facilitator

Accept payments in your API
with one line of code

Turn any endpoint into a paid resource using x402.
No wallets, no gas, no billing logic.

https://facilitator.x402.fi
server.ts
$ npm install @relai-fi/x402
import { relai } from "@relai-fi/x402"

app.use(relai({
  price: "0.001",
  wallet: "your-address"
}))
Every request to your API now requires payment

How it works

From HTTP request to on-chain payment

Payments settle automatically in seconds.

01

Client sends request

Client hits your API endpoint

02

SDK verifies payment

x402 header is validated

03

Facilitator executes

On-chain transfer fires

04

API returns response

Your handler runs normally

What the facilitator does

Handles everything behind the scenes

You don't need to manage wallets, gas or blockchain logic.

Verifies paymentsValidates x402 headers and signatures
Executes on-chain transfersSigns and broadcasts USDC transactions
Sponsors gas feesRelAI pays gas — users pay zero
Confirms settlementWaits for on-chain confirmation
Your API
Express / Fastify / any framework
RelAI Facilitator
verify · execute · confirm
Blockchain
Solana · Base · Avalanche · SKALE

Why use RelAI

Built for developers

No billing infrastructure

No subscriptions, invoices or usage tracking.

One line integration

Add payments to any endpoint instantly.

Gasless for users

RelAI sponsors all transaction costs.

Multi-chain by default

Works across Solana and EVM networks.

Quick example

Protect a paid endpoint

Three lines. That's it.

api.ts
app.get("/premium-data",
  relai({ price: "0.002" }),
  (req, res) => {
    res.json({ data: "paid response" })
  }
)

API endpoints

Base URL

https://facilitator.x402.fi
POST/verify

Checks if the request includes a valid payment.

POST/settle

Executes on-chain transfer.

GET/activity

Real-time payment events.

GET/live-settlements

Recent on-chain transactions.

Live data

Real-time settlement

Payments are executed instantly on-chain.

Settles (24h)

0
Active chains0
Last update

Volume (24h)

$0.00

USDC settled via RelAI

Active chains

No data yet

Live feed

Auto-refresh 30s

Activity Trends

Hourly · last 24h

Volume
$0.00
$0$0$0$0
Time (UTC)0 settles in window

Settlement cadence

0 settles across window

Last refresh

LIVE
No recent settlements

Supported networks

Works across multiple chains

All transactions settle in USDC.

Solana (SPL)

Mainnet & Devnet

SPL Token

Base · Avalanche · Polygon

EVM-compatible chains

EIP-3009

SKALE (zero gas)

SKALE Base & BITE

Zero gas

Security model

Secure by design

No private keys for agents
Capped spending via budgets
Server never stores secrets
Deterministic payment verification

Start accepting payments in your API

Integrate x402 in minutes and turn any endpoint into a paid resource.

Powered by RelAI — the payment layer for AI agents