{
  "x402Version": 2,
  "id": 35786,
  "slug": "35786",
  "resource": "https://tanod.dev/v1/image/hash",
  "description": "imagepeek (Tanod) perceptual hashes: aHash, dHash, pHash, wHash, optionally compared.",
  "type": "http",
  "serviceName": "Tanod imagepeek",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791364949/bazaar-icons/d8143c9bc952f5cd.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "bits": {
            "type": "integer"
          },
          "compare": {
            "properties": {
              "distance": {
                "type": "object"
              },
              "likely_same": {
                "type": "boolean"
              },
              "similarity": {
                "type": "object"
              }
            },
            "type": "object"
          },
          "final_url": {
            "type": "string"
          },
          "hashes": {
            "type": "object"
          },
          "input": {
            "properties": {
              "animated": {
                "type": "boolean"
              },
              "bytes": {
                "type": "integer"
              },
              "format": {
                "type": "string"
              },
              "frames": {
                "type": "integer"
              },
              "has_alpha": {
                "type": "boolean"
              },
              "height": {
                "type": "integer"
              },
              "width": {
                "type": "integer"
              }
            },
            "type": "object"
          },
          "notes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "operation": {
            "type": "string"
          },
          "source": {
            "type": "object"
          },
          "source_url": {
            "type": "string"
          }
        },
        "required": [
          "operation",
          "input",
          "notes",
          "bits",
          "hashes"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "compare_url": "https://raw.githubusercontent.com/ianare/exif-samples/master/jpg/gps/DSCN0012.jpg",
            "url": "https://raw.githubusercontent.com/ianare/exif-samples/master/jpg/gps/DSCN0010.jpg"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "bits": 64,
            "compare": {
              "distance": {
                "ahash": 19,
                "dhash": 34,
                "phash": 34,
                "whash": 20
              },
              "final_url": "https://raw.githubusercontent.com/ianare/exif-samples/master/jpg/gps/DSCN0012.jpg",
              "hashes": {
                "ahash": "e4fae8c01e0e0000",
                "dhash": "0c168a9174dce2be",
                "phash": "f1f136161a62d393",
                "whash": "eefaf8d03e1e1202"
              },
              "input": {
                "animated": false,
                "bytes": 159137,
                "format": "jpeg",
                "frames": 1,
                "has_alpha": false,
                "height": 480,
                "width": 640
              },
              "likely_same": false,
              "similarity": {
                "ahash": 0.7031,
                "dhash": 0.4688,
                "phash": 0.4688,
                "whash": 0.6875
              },
              "source_url": "https://raw.githubusercontent.com/ianare/exif-samples/master/jpg/gps/DSCN0012.jpg"
            },
            "final_url": "https://raw.githubusercontent.com/ianare/exif-samples/master/jpg/gps/DSCN0010.jpg",
            "hashes": {
              "ahash": "fcffffb310160040",
              "dhash": "313c1d66e2e4e595",
              "phash": "cedbd88c49eaf808",
              "whash": "fcfffff310340000"
            },
            "input": {
              "animated": false,
              "bytes": 161713,
              "format": "jpeg",
              "frames": 1,
              "has_alpha": false,
              "height": 480,
              "width": 640
            },
            "notes": [],
            "operation": "hash",
            "source": {
              "library": "Pillow",
              "license": "MIT-CMU (HPND)",
              "url": "https://python-pillow.org"
            },
            "source_url": "https://raw.githubusercontent.com/ianare/exif-samples/master/jpg/gps/DSCN0010.jpg"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "algorithms": {
                    "anyOf": [
                      {
                        "items": {
                          "enum": [
                            "ahash",
                            "dhash",
                            "phash",
                            "whash"
                          ],
                          "type": "string"
                        },
                        "maxItems": 4,
                        "minItems": 1,
                        "type": "array"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Default: all four."
                  },
                  "auto_orient": {
                    "default": true,
                    "description": "Apply the EXIF orientation first (default true).",
                    "type": "boolean"
                  },
                  "compare_base64": {
                    "anyOf": [
                      {
                        "maxLength": 13333464,
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "A second image as base64 (at most 10 MB decoded; or compare_url)."
                  },
                  "compare_url": {
                    "anyOf": [
                      {
                        "maxLength": 2048,
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "A second image to compare (or compare_base64)."
                  },
                  "hash_size": {
                    "default": 8,
                    "description": "Hash grid: 8 (64-bit hashes, default) or 16 (256-bit).",
                    "enum": [
                      8,
                      16
                    ],
                    "type": "integer"
                  },
                  "image_base64": {
                    "anyOf": [
                      {
                        "maxLength": 13333464,
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "The image as standard or url-safe base64 (at most 10 MB decoded; a data:image/...;base64, prefix is fine); or use url."
                  },
                  "url": {
                    "anyOf": [
                      {
                        "maxLength": 2048,
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Public http(s) URL of the image (at most 10 MB; private, internal and IP-literal hosts are refused); or use image_base64."
                  }
                },
                "type": "object"
              },
              "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": {
            "properties": {
              "example": {
                "properties": {
                  "bits": {
                    "type": "integer"
                  },
                  "compare": {
                    "properties": {
                      "distance": {
                        "type": "object"
                      },
                      "likely_same": {
                        "type": "boolean"
                      },
                      "similarity": {
                        "type": "object"
                      }
                    },
                    "type": "object"
                  },
                  "final_url": {
                    "type": "string"
                  },
                  "hashes": {
                    "type": "object"
                  },
                  "input": {
                    "properties": {
                      "animated": {
                        "type": "boolean"
                      },
                      "bytes": {
                        "type": "integer"
                      },
                      "format": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "integer"
                      },
                      "has_alpha": {
                        "type": "boolean"
                      },
                      "height": {
                        "type": "integer"
                      },
                      "width": {
                        "type": "integer"
                      }
                    },
                    "type": "object"
                  },
                  "notes": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "operation": {
                    "type": "string"
                  },
                  "source": {
                    "type": "object"
                  },
                  "source_url": {
                    "type": "string"
                  }
                },
                "required": [
                  "operation",
                  "input",
                  "notes",
                  "bits",
                  "hashes"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_h7pxv14u"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "imagepeek",
    "image",
    "image-resize",
    "exif",
    "favicon",
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "tanod.dev",
  "lastUpdated": "2026-10-08T21:27:27.186Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T21:27:26.101Z"
  },
  "metadata": {
    "serviceName": "Tanod imagepeek",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791364949/bazaar-icons/d8143c9bc952f5cd.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "compare_url": "https://raw.githubusercontent.com/ianare/exif-samples/master/jpg/gps/DSCN0012.jpg",
              "url": "https://raw.githubusercontent.com/ianare/exif-samples/master/jpg/gps/DSCN0010.jpg"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "bits": 64,
              "compare": {
                "distance": {
                  "ahash": 19,
                  "dhash": 34,
                  "phash": 34,
                  "whash": 20
                },
                "final_url": "https://raw.githubusercontent.com/ianare/exif-samples/master/jpg/gps/DSCN0012.jpg",
                "hashes": {
                  "ahash": "e4fae8c01e0e0000",
                  "dhash": "0c168a9174dce2be",
                  "phash": "f1f136161a62d393",
                  "whash": "eefaf8d03e1e1202"
                },
                "input": {
                  "animated": false,
                  "bytes": 159137,
                  "format": "jpeg",
                  "frames": 1,
                  "has_alpha": false,
                  "height": 480,
                  "width": 640
                },
                "likely_same": false,
                "similarity": {
                  "ahash": 0.7031,
                  "dhash": 0.4688,
                  "phash": 0.4688,
                  "whash": 0.6875
                },
                "source_url": "https://raw.githubusercontent.com/ianare/exif-samples/master/jpg/gps/DSCN0012.jpg"
              },
              "final_url": "https://raw.githubusercontent.com/ianare/exif-samples/master/jpg/gps/DSCN0010.jpg",
              "hashes": {
                "ahash": "fcffffb310160040",
                "dhash": "313c1d66e2e4e595",
                "phash": "cedbd88c49eaf808",
                "whash": "fcfffff310340000"
              },
              "input": {
                "animated": false,
                "bytes": 161713,
                "format": "jpeg",
                "frames": 1,
                "has_alpha": false,
                "height": 480,
                "width": 640
              },
              "notes": [],
              "operation": "hash",
              "source": {
                "library": "Pillow",
                "license": "MIT-CMU (HPND)",
                "url": "https://python-pillow.org"
              },
              "source_url": "https://raw.githubusercontent.com/ianare/exif-samples/master/jpg/gps/DSCN0010.jpg"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "algorithms": {
                      "anyOf": [
                        {
                          "items": {
                            "enum": [
                              "ahash",
                              "dhash",
                              "phash",
                              "whash"
                            ],
                            "type": "string"
                          },
                          "maxItems": 4,
                          "minItems": 1,
                          "type": "array"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "Default: all four."
                    },
                    "auto_orient": {
                      "default": true,
                      "description": "Apply the EXIF orientation first (default true).",
                      "type": "boolean"
                    },
                    "compare_base64": {
                      "anyOf": [
                        {
                          "maxLength": 13333464,
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "A second image as base64 (at most 10 MB decoded; or compare_url)."
                    },
                    "compare_url": {
                      "anyOf": [
                        {
                          "maxLength": 2048,
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "A second image to compare (or compare_base64)."
                    },
                    "hash_size": {
                      "default": 8,
                      "description": "Hash grid: 8 (64-bit hashes, default) or 16 (256-bit).",
                      "enum": [
                        8,
                        16
                      ],
                      "type": "integer"
                    },
                    "image_base64": {
                      "anyOf": [
                        {
                          "maxLength": 13333464,
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "The image as standard or url-safe base64 (at most 10 MB decoded; a data:image/...;base64, prefix is fine); or use url."
                    },
                    "url": {
                      "anyOf": [
                        {
                          "maxLength": 2048,
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "Public http(s) URL of the image (at most 10 MB; private, internal and IP-literal hosts are refused); or use image_base64."
                    }
                  },
                  "type": "object"
                },
                "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": {
              "properties": {
                "example": {
                  "properties": {
                    "bits": {
                      "type": "integer"
                    },
                    "compare": {
                      "properties": {
                        "distance": {
                          "type": "object"
                        },
                        "likely_same": {
                          "type": "boolean"
                        },
                        "similarity": {
                          "type": "object"
                        }
                      },
                      "type": "object"
                    },
                    "final_url": {
                      "type": "string"
                    },
                    "hashes": {
                      "type": "object"
                    },
                    "input": {
                      "properties": {
                        "animated": {
                          "type": "boolean"
                        },
                        "bytes": {
                          "type": "integer"
                        },
                        "format": {
                          "type": "string"
                        },
                        "frames": {
                          "type": "integer"
                        },
                        "has_alpha": {
                          "type": "boolean"
                        },
                        "height": {
                          "type": "integer"
                        },
                        "width": {
                          "type": "integer"
                        }
                      },
                      "type": "object"
                    },
                    "notes": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "operation": {
                      "type": "string"
                    },
                    "source": {
                      "type": "object"
                    },
                    "source_url": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "operation",
                    "input",
                    "notes",
                    "bits",
                    "hashes"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_h7pxv14u"
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "a": {
              "description": "App builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "s": {
              "description": "Service builder codes",
              "items": {
                "pattern": "^[a-z0-9_]{1,32}$",
                "type": "string"
              },
              "maxItems": 11,
              "type": "array"
            },
            "w": {
              "description": "Wallet builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            }
          },
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "tanod.dev",
    "manifest_name": "tanod.dev",
    "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": {
      "bits": 0,
      "compare": {
        "distance": {},
        "likely_same": true,
        "similarity": {}
      },
      "final_url": "string",
      "hashes": {},
      "input": {
        "animated": true,
        "bytes": 0,
        "format": "string",
        "frames": 0,
        "has_alpha": true,
        "height": 0,
        "width": 0
      },
      "notes": [
        "string"
      ],
      "operation": "string",
      "source": {},
      "source_url": "string"
    },
    "type": "string"
  }
}