Fact-checking for agents
verity.basechainlabs.com/api/verify
Fact-checking for agents. Returns CURRENT/OUTDATED/DISPUTED/UNVERIFIABLE with quoted sources that VERITY re-fetched from each page, a confidence tier based on that evidence, and what changed when a claim is OUTDATED. Optional memory per caller_id. 0.10 USDC.
POST
https://verity.basechainlabs.com/api/verifyUptime100% of 1 check in 30 days
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
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://verity.basechainlabs.com/api/verify", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"caller_id":"YOUR-AGENT-OR-DOMAIN-ID","query":"Verify: Is GPT-4 still the most capable OpenAI model?"}),
});
console.log(await res.json());Example input
{
"caller_id": "YOUR-AGENT-OR-DOMAIN-ID",
"query": "Verify: Is GPT-4 still the most capable OpenAI model?"
}