81trust / 100
Tools Statute Verify
by x402 tools in Security & trust
x402 APIPassing, checked 3 h ago
Use to catch hallucinated or repealed statute citations in a brief, memo or AI answer. Finds up to 25 US statute citations in text, checks each exists and is in force, and checks quoted passages against the section. Not charged if none are found. Data: Open US Law v2026.08 (CC BY 4.0). Not legal advice.
POST https://x402-tools-production-2755.up.railway.app/tools/statute-verify
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 177 ms typical, 177 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-tools-production-2755.up.railway.app/tools/statute-verify" \
-H "content-type: application/json" \
-d '{"text":"Under Cal. Penal Code § 187, murder is \"the unlawful killing of a human being with malice aforethought.\" See also 42 U.S.C. § 1983."}'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-tools-production-2755.up.railway.app%2Ftools%2Fstatute-verify
const res = await pay("https://x402-tools-production-2755.up.railway.app/tools/statute-verify", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"text":"Under Cal. Penal Code § 187, murder is \"the unlawful killing of a human being with malice aforethought.\" See also 42 U.S.C. § 1983."}),
});
console.log(await res.json());Example input
{
"text": "Under Cal. Penal Code § 187, murder is \"the unlawful killing of a human being with malice aforethought.\" See also 42 U.S.C. § 1983."
}Example output
{
"citations": [
{
"citation": "Cal. Penal Code § 187",
"normalized": "Cal. Penal Code § 187",
"offset": 6,
"quotes": [
{
"closest_passage": "the unlawful killing of a human being, or a fetus, with malice aforethought",
"quote": "the unlawful killing of a human being with malice aforethought.",
"result": "differs",
"similarity": 0.77,
"words_added": [],
"words_missing": [
"or",
"a",
"fetus"
]
}
],
"status": "verified"
},
{
"citation": "42 U.S.C. § 1983",
"heading": "Civil action for deprivation of rights",
"normalized": "42 U.S.C. § 1983",
"offset": 110,
"status": "verified"
}
],
"count": 2,
"snapshot": "v2026.08",
"summary": {
"verified": 2
},
"truncated": false
}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 | 177 ms | $0.01 |