RelAI Integration with OnFinality: AI Agent Coordination for Web3 Infrastructure

OnFinalityRelAI Team
Feb 24, 2026 · 5 min read
RelAI Integration with OnFinality: AI Agent Coordination for Web3 Infrastructure

AI agents are becoming core participants in Web3 ecosystems. They monitor markets, execute transactions, analyze on-chain data, and support communities in real time. But for AI to operate effectively on-chain, it needs more than RPC access. It needs coordination, payment logic, and a standardized way to access external services.

That’s where RelAI comes in.

RelAI acts as the coordination and payment layer for AI-driven infrastructure. It enables agents to discover APIs and services, pay per request via x402, verify execution, and receive receipts in a trust-minimized way. Instead of relying on fixed subscriptions or fragmented integrations, agents can programmatically access infrastructure and services on demand, with usage-based settlement built in.

By integrating RelAI, OnFinality is strengthening AI-driven infrastructure with native pay-per-use flows, automated settlement, and standardized service access. This allows intelligent agents to coordinate, validate, and execute actions across blockchain networks with greater reliability, scalability, and economic autonomy.

What Is RelAI?

RelAI is a coordination and payment layer that turns any OpenAPI-defined service into a true pay-per-call product.

Built on the open x402 protocol and leveraging HTTP 402 “Payment Required” responses, RelAI enables APIs to enforce payment directly at the endpoint level. When a request is made, RelAI verifies the micropayment on supported blockchains, authorizes access, and settles funds automatically without requiring providers to modify their core backend logic.

RelAI standardizes how services are priced, accessed, and paid for in real time, making usage-based infrastructure native to Web3.

At its core, RelAI serves two primary audiences:

* API Providers: Those looking to monetize existing services by setting per-endpoint pricing in USD or native tokens.
* Developers and Consumers: Users who can discover, test, and consume APIs from the RelAI marketplace on a pay-per-use basis.

Key features include:

* OpenAPI Integration: Automatically parses JSON/YAML specs to extract endpoints, parameters, and documentation.
* Flexible Pricing: Per-endpoint costs, with options for exact or maximum amounts, and support for facilitators like PayAI, Dexter, or RelAI itself.
* Multi-Chain Support: Compatible with blockchains such as Solana, Base, SKALE, and Avalanche for low-fee transactions.
* Security and Tools: HTTPS enforcement, on-chain verification, rate limiting, webhooks for real-time notifications, and a comprehensive dashboard for management.

RelAI eliminates the complexities of payment processing, making it ideal for micro-services, AI models, or developer tools where users pay only for what they use.

How RelAI Can be Used?

RelAI's workflow is straightforward, enabling quick setup and deployment. Here's a step-by-step guide on how it can be integrated and utilized:

  1. Uploading Your API:
* Log into the RelAI Dashboard and upload your OpenAPI specification file. * The platform automatically detects and configures endpoints.
  1. Configuring Pricing:
* Set prices per endpoint, choose the blockchain network, and select a payment facilitator.
  1. Publishing and Consumption:
* Publish your API to the marketplace (public or private). * Consumers call the endpoint; if payment is required, RelAI responds with HTTP 402, prompting an on-chain transaction. * Upon verification, the request proceeds seamlessly.
  1. Advanced Usage with Webhooks:
* Set up a secure HTTPS endpoint to receive POST notifications for payment events. * Sample Node.js handler:
const express = require('express');
const app = express();
app.use(express.json());

app.post('/webhook', (req, res) => {
if (req.headers['x-webhook-event'] === 'payment.completed') {
const { amount, payer, transaction, network } = req.body;
console.log(Payment of ${amount} USD from ${payer} (tx ${transaction} on ${network}));
// Process accordingly
}
res.status(200).json({ received: true });
});

app.listen(3000);

Whether you are an API provider looking to monetize services or a developer seeking pay-per-use APIs, RelAI makes it simple and secure.

How OnFinality is Using RelAI?

OnFinality has integrated RelAI to make our Ethereum Mainnet RPC publicly accessible through the RelAI Marketplace using a pure pay per use model
Developers can now access high performance Ethereum RPC endpoints without:

* Creating an OnFinality account
* Registering or subscribing
* Managing API keys
* Committing to monthly plans

Instead, access is handled entirely through RelAI’s x402 payment flow. Each request is paid for individually and verified on-chain before execution.
This means developers can immediately:

* Send JSON-RPC calls to Ethereum Mainnet
* Pay only for the exact number of requests made
* Integrate usage directly into their applications
* Avoid long term infrastructure commitments

There is no onboarding friction. No dashboard setup. No billing configuration. Just direct access to production grade Ethereum RPC.

Start using the API here: https://relai.fi/market/1770085947584

Ethereum Mainnet is the first step. OnFinality plans to expand additional RPC endpoints to RelAI, enabling pay per use access across more EVM and non-EVM networks supported by our infrastructure.
This will allow developers to access multiple chains using the same frictionless model without onboarding into separate dashboards.

Frequently Asked Questions

What is OnFinality offering on RelAI right now?

OnFinality has made its Ethereum Mainnet RPC available on the RelAI Marketplace. Developers can send Ethereum JSON-RPC requests and pay per request without creating an OnFinality account.

Do I need to create an OnFinality account to use the RPC?

No. You do not need to register, create an account, or subscribe to a plan. Access is handled directly through RelAI using on-chain payment verification per request.

What is the x402 protocol?

x402 is an open payment protocol that uses the HTTP 402 Payment Required status code to trigger blockchain based micropayments before an API call is processed. It allows endpoints to enforce payment at the request level without modifying backend business logic.

Moving Forward

Agentic commerce is going to grow and a lot more AI agents would be launched which will communicate with each other and fetch data for their operations. RelAI with their platform makes it easier for AI agents to monetise the use of their data.
Looking ahead, OnFinality plans to explore further integrations with RelAI, potentially expanding to additional networks like Polkadot or other EVM-compatible chains. This will help developers get access to production grade API without having to create an account. We encourage developers to check out the RelAI Marketplace and start using our Ethereum RPC APIs today.

About OnFinality

OnFinality is a blockchain infrastructure platform that serves hundreds of billions of API requests monthly across more than 130 networks, including Avalanche, BNB Chain, Cosmos, Polkadot, Ethereum, and Polygon. It provides scalable APIs, RPC endpoints, node hosting, and indexing tools to help developers launch and grow blockchain networks efficiently. OnFinality’s mission is to make Web3 infrastructure effortless so developers can focus on building the future of decentralised applications.

App | Website | Twitter | Telegram | LinkedIn | YouTube

Understand x402 before you implement

This guide uses payment primitives from the x402 standard. Read the protocol overview for a complete flow, terminology, and integration FAQ.