84trust / 100
Ai Fact Check
by x402.asterpay.io in Search & web
x402 APIPassing, checked 3 h ago
Source-bounded fact-check. Verify a claim against provided source text. Returns verdict: supported, contradicted, or unverifiable. Does NOT search the web.
POST https://x402.asterpay.io/v2/x402/ai/fact-check
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 188 ms typical, 188 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://x402.asterpay.io/v2/x402/ai/fact-check" \
-H "content-type: application/json" \
-d '{"claim":"Apple reported revenue of $94.9 billion in Q1 2024","source":"Apple Inc. reported fiscal first-quarter revenue of $119.6 billion, a new record."}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.asterpay.io%2Fv2%2Fx402%2Fai%2Ffact-check
const res = await pay("https://x402.asterpay.io/v2/x402/ai/fact-check", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"claim":"Apple reported revenue of $94.9 billion in Q1 2024","source":"Apple Inc. reported fiscal first-quarter revenue of $119.6 billion, a new record."}),
});
console.log(await res.json());Example input
{
"claim": "Apple reported revenue of $94.9 billion in Q1 2024",
"source": "Apple Inc. reported fiscal first-quarter revenue of $119.6 billion, a new record."
}Example output
{
"claims_checked": 1,
"confidence": 0.98,
"evidence": "Source states $119.6B, not $94.9B as claimed.",
"latency_ms": 820,
"model": "llama-3.3-70b-versatile",
"summary": "Revenue figure directly contradicted by source.",
"verdict": "contradicted"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 188 ms | $0.01 |