{
  "x402Version": 2,
  "id": 30539,
  "slug": "30539",
  "resource": "https://imagcon.app/routes/x402/check-icon",
  "description": "Check whether an icon you already have meets real platform rules — W3C maskable safe zone (40%/50% circle), Android adaptive 108dp layer (66dp safe / 18dp margin), or iOS square+opaque+1024px guidance. One image, one target, structured pass/warn/fail/undetermined report. Pure local pixel inspection — no AI, no account. Distinct from icons-from-image, which generates a full icon set.",
  "type": "http",
  "serviceName": "Imagcon",
  "resourceType": "Developer Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x1f2A484ef654d49c58c625b09e78B538501D652D",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "image_base64": "<base64>",
            "target": "maskable"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "checks": [
              {
                "check": "aspect-ratio",
                "outcome": "pass"
              }
            ],
            "compliant": true,
            "image": {
              "format": "PNG",
              "has_alpha": true,
              "height": 512,
              "width": 512
            },
            "target": "maskable"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "image": {
                    "description": "Source icon file",
                    "format": "binary",
                    "type": "string"
                  },
                  "image_base64": {
                    "description": "Base64-encoded icon (JSON body alternative to multipart)",
                    "type": "string"
                  },
                  "target": {
                    "description": "Platform check: maskable, android-adaptive, or ios",
                    "enum": [
                      "android-adaptive",
                      "ios",
                      "maskable"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "target"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "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": [
    "pwa-icon-validator",
    "maskable-icon-check",
    "icon-compliance",
    "app-icon-checker",
    "android-adaptive-icon",
    "bazaar"
  ],
  "sourceHost": "imagcon.app",
  "lastUpdated": "2026-09-27T14:56:51.51Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-27T14:56:51.252Z"
  },
  "metadata": {
    "serviceName": "Imagcon",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "image_base64": "<base64>",
              "target": "maskable"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "checks": [
                {
                  "check": "aspect-ratio",
                  "outcome": "pass"
                }
              ],
              "compliant": true,
              "image": {
                "format": "PNG",
                "has_alpha": true,
                "height": 512,
                "width": 512
              },
              "target": "maskable"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "image": {
                      "description": "Source icon file",
                      "format": "binary",
                      "type": "string"
                    },
                    "image_base64": {
                      "description": "Base64-encoded icon (JSON body alternative to multipart)",
                      "type": "string"
                    },
                    "target": {
                      "description": "Platform check: maskable, android-adaptive, or ios",
                      "enum": [
                        "android-adaptive",
                        "ios",
                        "maskable"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "target"
                  ]
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "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": "imagcon.app",
    "manifest_name": "imagcon.app",
    "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": {
    "checks": [
      {
        "check": "aspect-ratio",
        "outcome": "pass"
      }
    ],
    "compliant": true,
    "image": {
      "format": "PNG",
      "has_alpha": true,
      "height": 512,
      "width": 512
    },
    "target": "maskable"
  }
}