75trust / 100
Certify
by s2ar in Security & trust
x402 APIPassing, checked 18 min ago
Compress an image and verify a vision model still reads it — a signed record anyone can check. GET ?image_url=
GET https://api.s2ar.dev/x402/v1/certify
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 330 ms typical, 386 ms slowest 5%
- Last check
- 18 min ago
- Next check
- in 13 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.s2ar.dev/x402/v1/certify?image_url=https%3A%2F%2Fs2ar.dev%2Fexamples%2Fmedia%2Finvoice.png&probe=ocr"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%2Fapi.s2ar.dev%2Fx402%2Fv1%2Fcertify
const res = await pay("https://api.s2ar.dev/x402/v1/certify?image_url=https%3A%2F%2Fs2ar.dev%2Fexamples%2Fmedia%2Finvoice.png&probe=ocr");
console.log(await res.json());Example input
{
"image_url": "https://s2ar.dev/examples/media/invoice.png",
"probe": "ocr"
}Example output
{
"charged_usd": 0.01,
"issuer": "assay",
"kind": "compression",
"outcome": "pass",
"receipt": {
"charter": "https://api.s2ar.dev/charter",
"cost_usd": 0.01,
"determinism": "replayable",
"evidence_hash": "sha256:94abfed2…",
"issued_at": "2026-10-10T00:00:00Z",
"refund_rule": "failed calls are never charged",
"what": "…",
"witnesses": [
"sym"
]
},
"record_sha256": "924aed0a…",
"v": 2,
"verdict": "isomorphic"
}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 |
|---|---|---|---|---|
| 18 min ago | Passed | 402 | 374 ms | $0.01 |
| 4 h ago | Passed | 402 | 423 ms | $0.01 |
| 7 h ago | Passed | 402 | 116 ms | $0.01 |
| 11 h ago | Passed | 402 | 386 ms | $0.01 |
| 14 h ago | Passed | 402 | 117 ms | $0.01 |
| 18 h ago | Passed | 402 | 330 ms | $0.01 |
| 22 h ago | Passed | 402 | 104 ms | $0.01 |
| 25 h ago | Passed | 402 | 367 ms | $0.01 |
| 29 h ago | Passed | 402 | 361 ms | $0.01 |
| 32 h ago | Passed | 402 | 115 ms | $0.01 |
| 38 h ago | Passed | 402 | 161 ms | $0.01 |