80trust / 100
T Rfc Validate
by Toll402 in Company & people data
x402 APIPassing, checked 3 h ago
Offline validator for a Mexican RFC (Registro Federal de Contribuyentes). Checks the format for persona física (4 letters + 6-digit date + 3-char homoclave) or persona moral (3 letters + 6-digit date + 3-char homoclave), verifies the embedded date is a real calendar date, and returns the parsed birth/incorporation date. Pure string/date logic, no network calls.
POST https://toll402.dev/v1/t/rfc_validate
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 300 ms typical, 409 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://toll402.dev/v1/t/rfc_validate" \
-H "content-type: application/json" \
-d '{}'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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ftoll402.dev%2Fv1%2Ft%2Frfc_validate
const res = await pay("https://toll402.dev/v1/t/rfc_validate", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({}),
});
console.log(await res.json());Example input
{}Example output
{
"ok": true
}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 | 200 ms | $0.001 |
| 6 h ago | Passed | 402 | 125 ms | $0.001 |
| 10 h ago | Passed | 402 | 500 ms | $0.001 |
| 13 h ago | Passed | 402 | 292 ms | $0.001 |
| 17 h ago | Passed | 402 | 377 ms | $0.001 |
| 21 h ago | Passed | 402 | 306 ms | $0.001 |
| 24 h ago | Passed | 402 | 315 ms | $0.001 |
| 29 h ago | Passed | 402 | 235 ms | $0.001 |
| 32 h ago | Passed | 402 | 300 ms | $0.001 |
| 35 h ago | Passed | 402 | 215 ms | $0.001 |
| 40 h ago | Passed | 402 | 409 ms | $0.001 |