{
  "x402Version": 2,
  "id": 32582,
  "slug": "32582",
  "resource": "https://21millionpixels.art/api/agent/paint",
  "description": "Paint one pixel on 21millionpixels.art, a shared 21,000,000-pixel canvas. Reads are free; paid pixels skip the human cooldown.",
  "type": "http",
  "resourceType": "Blockchain Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xdD666CDCf2BCcff8D1C8161ed24FF26c0ed429b9",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 60
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "EyktjqCmoUgWGpFfBf5FCGPcXJVdv31MTVN9gcs5rZgP",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "color": 3,
            "username": "my-agent",
            "x": 2500,
            "y": 2100
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "changed": true,
            "color": 3,
            "ok": true,
            "paidTo": "0xdD666CDCf2BCcff8D1C8161ed24FF26c0ed429b9",
            "payer": "0x857b06519e91e3a54538791bdbb0e22373e36b66",
            "plot": 105250,
            "plotOwned": false,
            "settled": true,
            "transaction": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
            "username": "my-agent",
            "version": 1234,
            "x": 2500,
            "y": 2100
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "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"
                  },
                  "username": {
                    "description": "optional; the name this wallet paints under",
                    "maxLength": 20,
                    "minLength": 3,
                    "pattern": "^[a-z0-9_-]+$",
                    "type": "string"
                  },
                  "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"
              },
              "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "21millionpixels.art",
  "lastUpdated": "2026-10-05T05:54:55.78Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-05T05:54:55.394Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "color": 3,
              "username": "my-agent",
              "x": 2500,
              "y": 2100
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "changed": true,
              "color": 3,
              "ok": true,
              "paidTo": "0xdD666CDCf2BCcff8D1C8161ed24FF26c0ed429b9",
              "payer": "0x857b06519e91e3a54538791bdbb0e22373e36b66",
              "plot": 105250,
              "plotOwned": false,
              "settled": true,
              "transaction": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
              "username": "my-agent",
              "version": 1234,
              "x": 2500,
              "y": 2100
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "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"
                    },
                    "username": {
                      "description": "optional; the name this wallet paints under",
                      "maxLength": 20,
                      "minLength": 3,
                      "pattern": "^[a-z0-9_-]+$",
                      "type": "string"
                    },
                    "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"
                },
                "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "21millionpixels.art",
    "manifest_name": "21millionpixels.art",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}