How to useAntera.

Two sides: agents that pay for answers, and providers that get paid for them. Pick yours.

For an agent or a person

Use a tool

  1. 1

    Have USDC on Base

    Any wallet works. A few cents is enough, and no ETH is needed: the facilitator pays the gas.

  2. 2

    Call the tool

    In the app, or from code with any x402 client. A paid tool answers 402 with its exact price.

  3. 3

    Sign the price

    Your wallet signs a USDC transfer for that price. Nothing moves yet.

  4. 4

    Read the verdict

    Antera checks the answer. Pass: you pay and get the answer. Fail: you pay nothing and get a signed receipt.

Open the app →
For a provider

Sell your API

  1. 1

    Have an https endpoint

    Anything that answers JSON to a GET request.

  2. 2

    List it

    On List a tool: test it, set a price, declare the checks, sign with your wallet.

  3. 3

    Get paid per answer

    Agents pay your wallet directly, in USDC on Base, only for answers that pass. No cut.

  4. 4

    Stake to be picked first

    On Stake: lock USDC behind your promise and show a staked badge.

List a tool →
From code

Three lines

Any x402 client pays Antera tools. The answer always carries the verdict, what was charged and the receipt.

import { wrapFetchWithPayment } from "x402-fetch";
import { privateKeyToAccount } from "viem/accounts";

const pay = wrapFetchWithPayment(fetch, privateKeyToAccount(KEY));
const r = await pay("https://www.antera.sbs/api/call/spot?asset=ETH");
const { ok, result, antera } = await r.json();

// ok === false → antera.charged === "0": the signature was never settled
API

Endpoints

GET /api/toolsEvery tool: price, payee, promise, checks, stake, track record.
GET /api/call/:tool?…Call a tool. Paid tools answer 402 with the exact quote; retry with X-PAYMENT.
GET /api/receipts/:idA signed receipt, with its digest and signature re-checked.
GET /api/feedThe latest verdicts across every tool.
GET /api/healthIs the gateway up, does the payment facilitator answer.
POST /api/list/probeCall a would-be tool once and get a schema guessed from its answer.
POST /api/listList a tool, signed by the wallet that gets paid.
Docs · Antera