img402.dev
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.
Offering
- Provider
- img402.dev
- Method
- POST
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Creative
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://img402.dev/api/upload- MIME type
- Not provided
- First seen
- 2026-10-16T01:52:40.118Z
- Last seen
- Tags
- None supplied
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact - Payment option 2
- 0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"payTo": "0x77f3c9bCb898Ad1d30e9a336E2cC3108d88D6c09"
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "10000",
"payTo": "9xuipz9Y13v6Z1FnLR3XkrknoBLngwUSstjxcqK6deYX"
}
]Observed health
- Status
- Healthy
- Latest latency
- 32 ms
- Average latency
- 514 ms
- HTTP status
- 200
- Last checked
- Reachability
- 100% over 14 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"file": {
"description": "Base64-encoded image data",
"type": "string"
}
},
"required": [
"file"
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}Output schema
{
"properties": {
"example": {
"properties": {
"contentType": {
"description": "Detected MIME type",
"type": "string"
},
"expiresAt": {
"description": "ISO 8601 expiration timestamp, or null for permanent images",
"type": [
"string",
"null"
]
},
"id": {
"description": "Unique image ID",
"type": "string"
},
"sizeBytes": {
"description": "File size in bytes",
"type": "number"
},
"url": {
"description": "Public CDN URL of the hosted image",
"type": "string"
}
},
"required": [
"url",
"id",
"contentType",
"sizeBytes",
"expiresAt"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}