{
  "x402Version": 2,
  "id": 3135,
  "slug": "3135",
  "resource": "https://api.kakerapetit.dev/v1/find-near-duplicate",
  "description": "Find near-duplicate images. Computes perceptual hash distance between two image URLs to detect crops, resizes, re-compressions, and slightly edited copies of the same photo. Use for content moderation, copyright checks, and cleaning image datasets.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x3a43FdF92B1596B22DDF719d5b528c537Da4237d",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "image_url_a": "https://picsum.photos/id/237/320/240",
            "image_url_b": "https://picsum.photos/id/237/240/180"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "dhash_distance": 2,
            "method": "phash+dhash",
            "model": "phash-v1",
            "phash_distance": 0,
            "same_image_likely": true,
            "similarity": 1
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "image_url_a": {
                    "description": "HTTPS URL of the first image (jpeg/png/webp/gif, max 10MB).",
                    "format": "uri",
                    "type": "string"
                  },
                  "image_url_b": {
                    "description": "HTTPS URL of the second image (jpeg/png/webp/gif, max 10MB).",
                    "format": "uri",
                    "type": "string"
                  }
                },
                "required": [
                  "image_url_a",
                  "image_url_b"
                ]
              },
              "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": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.kakerapetit.dev",
  "lastUpdated": "2026-09-14T00:30:34.651Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-14T00:30:34.448Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.kakerapetit.dev",
    "manifest_name": "api.kakerapetit.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}