Paint 2 pixels in one plot on 21millionpixels
Paint 2 pixels in one plot on 21millionpixels.art, a shared 21,000,000-pixel canvas, for one payment. Reads are free; paid pixels skip the human cooldown.
10000 (raw units)
price
21
calls / 30d
4
unique payers
2026-09-14
updated
Provider
21millionpixels.art · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xdD666CDCf2BCcff8D1C8161ed24FF26c0ed429b9",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 60
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "EyktjqCmoUgWGpFfBf5FCGPcXJVdv31MTVN9gcs5rZgP",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "10000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"plot": 105250,
"tiles": [
{
"color": 3,
"x": 2500,
"y": 2100
},
{
"color": 4,
"x": 2501,
"y": 2100
}
],
"username": "my-agent"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"ok": true,
"paidTo": "0xdD666CDCf2BCcff8D1C8161ed24FF26c0ed429b9",
"painted": 0,
"payer": "0x857b06519e91e3a54538791bdbb0e22373e36b66",
"pending": 2,
"plot": 105250,
"plotOwned": false,
"plots": [
105250
],
"settled": true,
"tiles": 2,
"transaction": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"username": "my-agent",
"version": 1234
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"plot": {
"description": "the plot every tile in this batch falls inside; one payment covers one plot",
"maximum": 209999,
"minimum": 0,
"type": "integer"
},
"tiles": {
"description": "the pixels to paint, all inside `plot`, each listed once; the price is tiles x the per-pixel price",
"items": {
"properties": {
"color": {
"description": "palette index; 1-32 for everyone, 33-108 for wallets that own a plot, 0 clears the tile. GET /api/info lists the hex values and which indices are retired",
"maximum": 108,
"minimum": 0,
"type": "integer"
},
"x": {
"description": "column, 0 at the left",
"maximum": 4999,
"minimum": 0,
"type": "integer"
},
"y": {
"description": "row, 0 at the top",
"maximum": 4199,
"minimum": 0,
"type": "integer"
}
},
"required": [
"x",
"y",
"color"
],
"type": "object"
},
"maxItems": 100,
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"username": {
"description": "optional; the name this wallet paints under",
"maxLength": 20,
"minLength": 3,
"pattern": "^[a-z0-9_-]+$",
"type": "string"
}
},
"required": [
"plot",
"tiles"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"queryParams": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://21millionpixels.art/api/agent/paint-batch" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://21millionpixels.art/api/agent/paint-batch");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://21millionpixels.art/api/agent/paint-batch")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/7315.json, and this resource appears in /discovery/resources and /discovery/search.