Conduit
GitHub ↗← App
LIVE ON ARC TESTNET

Build with Conduit

Conduit is the first public x402 facilitator on Arc Network. Gate any API, content, or data behind USDC micropayments — paid automatically by AI agents and HTTP clients.

Facilitator URL

conduit-pay.vercel.app/api/x402

Demo endpoint

/api/arc-stats

Network

Arc Testnet · eip155:5042002

How It Works

01

Client hits your API

Gets 402 Payment Required with payment details — amount, token, network, recipient.

02

Client pays on Arc

Signs a USDC transferWithAuthorization (EIP-3009) on Arc Testnet and retries with PAYMENT-SIGNATURE header.

03

Conduit verifies

Your server calls Conduit's /verify endpoint. Conduit checks the signature, amount, recipient, and nonce.

04

Serve the resource

Verification passed — serve your API response. Call /settle async to submit the transaction on-chain.

Test it now

Hit the live demo endpoint and see the 402 response:

# Returns 402 with payment details

curl -i https://conduit-pay.vercel.app/api/arc-stats

# Expected response

HTTP/1.1 402 Payment Required

Payment-Required: eyJhY2NlcHRzIjpbeyJzY2hlb...

Content-Type: application/json

Protect any API route

Add a USDC payment gate to any Next.js API route in minutes:

// app/api/your-endpoint/route.ts

import { NextRequest, NextResponse } from "next/server";


const PAYMENT_ADDRESS = "0xYOUR_WALLET";

const PRICE = "1000"; // 0.001 USDC

const FACILITATOR = "https://conduit-pay.vercel.app/api/x402";


export async function GET(req: NextRequest) {

const sig = req.headers.get("PAYMENT-SIGNATURE");

if (!sig) return payment402(); // returns 402


const valid = await verifyWithConduit(sig);

if (!valid) return payment402();


// Payment verified — serve your content

return NextResponse.json({ data: "your content" });

}

Endpoints

GET

/api/x402

Discovery — returns facilitator info and supported networks

POST

/api/x402/verify

Verify a payment payload before serving a resource

POST

/api/x402/settle

Submit payment on-chain and wait for confirmation

GET

/api/arc-stats

Live demo endpoint — pays 0.001 USDC to access Arc + Conduit stats

Network Details

NetworkArc Testnet
Chain ID5042002
CAIP-2eip155:5042002
USDC Address0x3600000000000000000000000000000000000000
USDC Decimals6
RPChttps://rpc.testnet.arc.network
Explorerhttps://testnet.arcscan.app
Gas tokenUSDC (native)

Ready to build?

Start accepting USDC micropayments on Arc in minutes.

View on GitHub ↗@conduit_pay ↗
Built on Arc Network · Powered by CircleConduit v0.1.0