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.
POST
https://pay.omnidev.tech/x402/briefUptimeNot 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
- pay.omnidev.tech/x402/chat-nanoPay-per-call chat completion on the nano tier. One request returns one assistant message, limited to 1000 input and 256 output tokens, at 0.006 USDC per call on Base. Payment settles after the response is produced. A client nonce header makes a retry free of a second charge.0.006
- pay.omnidev.tech/x402/chat-smallPay-per-call chat completion on the small tier. One request returns one assistant message, limited to 8000 input and 1024 output tokens, at 0.008 USDC per call on Base. Payment settles after the response is produced. A client nonce header makes a retry free of a second charge.0.008
