the402 endpoint detail

← All endpoints

api.x402node.dev image detect

https://api.x402node.dev/image/detect

payable

Detect image format from a URL using magic bytes (works even when extension or content-type lies). Returns format, content-type match flag, file size, dimensions. Use url param Built for AI agents validating untrusted image inputs. Accepts payment on Base or Solana — either network works.

We sent a real GET request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.005
Network
base
Pay to
0x4466d4A84b7c49a6A094ec6eef4a0712D6dd125e
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
GET
Response latency
49 ms
Payment options
2 usable of 2
Last checked
2026-08-10T09:19:11.767Z (1d ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.x402node.dev%2Fimage%2Fdetect"