the402 endpoint detail

← All endpoints

api.delx.ai x402 pdf-header-sniff

https://api.delx.ai/api/v1/x402/pdf-header-sniff

answers 402

Sniff PDF magic and approximate size from base64 prefix. Call when rejecting non-PDF uploads before heavy OCR. Returns is_pdf and decoded_prefix_len as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.001
Network
base
Pay to
0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
166 ms
Payment options
3 usable of 3
Last checked
2026-09-06T01:17:36.582Z (2h ago)
Category
ai-inference

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.delx.ai%2Fapi%2Fv1%2Fx402%2Fpdf-header-sniff"