I

Imagcon · Routes Check Icon

by Imagcon

POSTBase

$0.01

per call · USD Coin on Base

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.

Endpoint

POST https://imagcon.app/routes/x402/check-icon

2

Calls / 30d

1

Unique payers / 30d

Aug 29

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://imagcon.app/routes/x402/check-icon", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "image_base64": "<base64>",
    "target": "maskable"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://imagcon.app/routes/x402/check-icon" \
  -H "Content-Type: application/json" \
  -d '{"image_base64":"<base64>","target":"maskable"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "checks": [
    {
      "check": "aspect-ratio",
      "outcome": "pass"
    }
  ],
  "compliant": true,
  "image": {
    "format": "PNG",
    "has_alpha": true,
    "height": 512,
    "width": 512
  },
  "target": "maskable"
}

Payment details

Pay to0x1f2a484ef654d49c58c625b09e78b538501d652d
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Onchain Data and the homepage with a featured placement.

Get featured →

More from Imagcon & similar services