← All endpoints
img402.dev api upload
https://img402.dev/api/upload
answers 402
Upload an image with payment and get a public URL. Accepts multipart form-data (field 'image') or JSON {"file": "<base64>"}. 10MB max, permanent hosting (no expiration). PNG, JPEG, GIF, WebP.
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
- 146 ms
- Payment options
- 2 usable of 2
- Last checked
- 2026-08-15T14:28:00.195Z (1h ago)
- Category
- media
Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fimg402.dev%2Fapi%2Fupload"