the402 endpoint detail

← All endpoints

img402.dev upload token

https://img402.dev/api/upload/token

answers 402

Pay $0.01 USDC to get an upload token for a PERMANENT image (no expiration). Use the returned token to upload via: curl -X POST https://img402.dev/api/upload -H 'X-Upload-Token: TOKEN' -F image=@file.png — The upload returns {url, id, contentType, sizeBytes, expiresAt: null}. Permanent images are retained for the life of the service; if we ever shut down, we will give at least 90 days notice. Supp

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.01
Network
base
Pay to
0x77f3c9bCb898Ad1d30e9a336E2cC3108d88D6c09
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
120 ms
Payment options
2 usable of 2
Last checked
2026-08-15T14:31:11.529Z (1h ago)
Category
finance-crypto

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