Skip to content
Fourohtwo

Pay-per-call cited research brief

pay.omnidev.tech/x402/brief

Pay-per-call cited research brief. The request carries a query and 1 to 12 quotes with source URLs; the response is a short brief that cites only those quotes, at 0.008 USDC per call on Base. Payment settles after the brief is produced. A client nonce header makes a retry free of a second charge.

BaseUnchecked
POSThttps://pay.omnidev.tech/x402/brief

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://pay.omnidev.tech/x402/brief", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"query":"What does the source say about settlement timing?","citations":[{"url":"https://example.com/doc","quote":"Payment settles after the response is produced."}],"max_tokens":200}),
});
console.log(await res.json());

Example input

{
  "query": "What does the source say about settlement timing?",
  "citations": [
    {
      "url": "https://example.com/doc",
      "quote": "Payment settles after the response is produced."
    }
  ],
  "max_tokens": 200
}

More from OmniProvider