Features

Everything You Need

From simple API monetization to advanced agent payments — all in one platform.

Payments & Monetization

Micropayments

Charge from $0.01 per API call with instant settlement

Instant Settlement

Payments settle in under 2 seconds on Solana blockchain

Flexible Pricing

Per-call, per-token, multiply fields, or client-quoted

Free Tier

Offer free calls before payment — zero backend changes

Multiple Facilitators

PayAI, RelAI, AutoIncentive, 0xGasless, and custom support

x402 Protocol

Industry-standard HTTP 402 with v1/v2 compatibility

Integration & Developer Tools

Multi-Chain

Solana, Base, SKALE, Avalanche, Ethereum, Polygon, and more

OpenAPI Support

Upload spec and auto-generate paywalled endpoints

MCP Integration

Native Model Context Protocol support for AI agents

Payment Links

Share a paywall link — no extra integration needed

Management API

Full REST & MCP interface for programmatic API management

Platform & Customization

Custom Domains

Dedicated custom domain per API with white-label branding

Custom Paywall

Fully customizable x402 paywall with your branding

Built-in Wallets

Custodial Solana & EVM wallets — no browser extension needed

Teams

Invite members and manage APIs with role-based access control

Simple Process

How It Works

Get started in minutes, not months

1

Upload Your API

Upload your OpenAPI spec or define endpoints manually with custom pricing

2

Configure & Test

Set pricing models, custom domains, paywall branding, and enable MCP or direct API access

3

Publish & Earn

Publish to marketplace, enable paywall, and receive instant payments

Paid request flow

How a paid request works

relai-flow.sh

[1] POST /api/your-endpoint

→ Client sends a request

x402 intercept

[2] VERIFY payment signature

→ Validate micro-payment (e.g., $0.01)

✓ Confirmed in ~200ms

x402 execute

[3] RETURN { data: ... }

→ Response sent to the client

→ Revenue credited to your wallet

Total overhead: ~300msFrom $0.01 per call
Weather API
api.relai.fi/weather
Price per call$0.001 USDC
Network
SolanaSolana
Endpoints5 active
Total Earnings$847.50
Status
Live
API Monetization

Register Your API & Earn Per Request

Turn your API into a revenue stream with x402 micropayments. Set your price per call and get paid instantly for every request.

  • Upload OpenAPI spec or define endpoints manually
  • Flexible pricing: per-call, per-token, or dynamic
  • Proxy mode or integrate x402 directly
  • MCP support for AI agents integration
Register Your API
Payment Links

Monetize Any URL with Payment Links

Create shareable payment links that paywall any URL. Perfect for content, downloads, webhooks, or any resource you want to monetize.

  • No coding required - just paste your URL and set a price
  • Customizable paywall with your branding
  • Configurable access duration after payment
  • Works with all supported networks and facilitators
Create Payment Link
My Premium Content
pay.relai.fi/abc123
Price$0.50 USDC
Network
SolanaSolana
Access Duration24 hours
Status
Active
Free Tier

Let Users Try Before They Pay

Add a free trial to any monetised API in seconds. RelAI tracks usage per caller and enforces limits transparently — no changes to your backend.

  • Per-user call limit — each caller gets their own counter
  • Global cap — limit total free calls across all users
  • Reset periods — never, daily, or monthly
  • AI agents see free tier info in MCP tool descriptions
Free Tier Config
Inference API · all endpoints
Per-user limit5 calls
Global cap500 calls
Global remaining312 / 500
Reset periodnever
Status
Active
Ticket Event
5 payment links
Network
SolanaSolana
Facilitator
RelAIRelAI
DurationNov 25 - Nov 30
Total Revenue$1,250.00
Status
Active
Campaigns

Organize Links into Campaigns

Group multiple payment links together with shared settings. Perfect for promotions, product bundles, or time-limited offers.

  • One network & facilitator for all links in campaign
  • Schedule campaigns with start and end dates
  • Aggregated stats and revenue tracking
  • Bulk management of multiple payment links
Create Campaign
Metered API Access

Pay for x402 APIs with a Simple API Key

No wallets, no signing, no crypto in your code. Just an API key and a funded account. RelAI handles all payment signing and settlement automatically.

  • Dedicated custodial wallets (Solana + EVM) per API key
  • Works with any x402-compliant API — Base, SKALE, Avalanche, Solana
  • Usage tracking, spending limits, and full payment history
  • One line of code — works with any HTTP client
Get API Key
app.js
// Before: wallet setup, signing, gas...
const wallet = new Wallet(key);
const permit = await signPermit(...);
const proof = encodePayment(permit);

// After: one line with Metered API Access
const res = await fetch(
  `https://api.relai.fi/metered/x
    ?url=${targetUrl}`,
  { headers: { "X-API-Key": key } }
);

// ✓ Payment handled automatically
// ✓ Works with any x402 API
SDK Plugins

Extend Your API with Plugins

Drop-in plugins for the @relai-fi/x402 SDK. Add free tiers, cross-chain payments, endpoint protection, and custom logic — all in one line.

Free Tier
Built-in

Give buyers free API calls before payment kicks in. Per-user limits, global caps, daily/monthly resets — all managed server-side.

freeTier({ perBuyerLimit: 5, resetPeriod: 'daily' })
  • Per-buyer call limits
  • Global cap across all users
  • Dashboard management
Bridge
Built-in

Accept payments from any chain. Buyers on Solana can pay your SKALE API — the SDK handles bridging automatically. Zero config.

bridge()
  • Solana, SKALE Base, Base
  • Auto-discovery, no API key needed
  • 1% bridge fee, instant payout
Shield
Built-in

Protect buyers from paying for dead endpoints. Shield runs a health check before requesting payment — if unhealthy, returns 503.

shield({ healthUrl: '…/health' })
  • URL probe or custom function
  • Cached results, configurable TTL
  • Retry-After header for clients
Preflight
Built-in

Probes the actual endpoint before payment. Sends HEAD with X-Preflight header — if the endpoint is down, buyers get 503.

preflight({ baseUrl: '…' })
  • Per-endpoint probing
  • Cached per path
  • Zero config beyond baseUrl
Circuit Breaker
Built-in

Tracks failure history and opens the circuit after repeated errors. Zero-latency — no extra HTTP requests.

circuitBreaker({ failureThreshold: 5, resetTimeMs: 30000 })
  • Closed → Open → Half-open states
  • Per-path or global scope
  • Retry-After headers
Refund
Built-in

Auto-credit buyers when paid requests fail. Credits are applied on the next request — or use a custom callback.

refund({ triggerCodes: [500, 502], mode: 'credit' })
  • Credit or log mode
  • onRefund callback
  • RefundEvent with full context
Custom Plugins
Extensible

Build your own plugins with the RelaiPlugin interface. Rate limits, analytics, webhooks — hook into any point.

{ name: 'my-plugin', beforePaymentCheck, afterSettled }
  • beforePaymentCheck hook
  • afterSettled hook
  • Non-blocking, error-safe
Partners & Ecosystem

Built with Leading Technologies

Powered by trusted partners in the x402 ecosystem

Multi-Chain Support

Supported Networks

Deploy your APIs across multiple blockchain networks

Solana
Solana
Base
Base
SKALE Base
SKALE Base
Avalanche
Avalanche
Ethereum
Ethereum
Polygon
Polygon
Sei
Sei
peaq
peaq
$REL Token

Tokenomics

Deflationary tokenomics with auto buybacks, burns, and real utility

Contract Address
5AgHPy5UojpGq6TdtQCNobCZ2tkYmZz4d5p1cqr6pump
Team: 180M (18%)
Marketing & Partnerships: 90M (9%)
Operations & Infrastructure: 100M (10%)
Ecosystem Growth Fund: 40M (4%)
Advisors: 20M (2%)
Community Incentives (Airdrops, Holder Rewards): 30M (3%)
Reserve / Miscellaneous: 40M (4%)
500M Treasury (50% of Total Supply)
36.0%18.0%20.0%8.0%4.0%6.0%8.0%