Verify that an image matches a reference image
Verify that an image matches a reference image. Compares a candidate image URL against a trusted reference and returns whether they show the same content. Use for verifying logos, profile pictures, KYC document photos, or that an uploaded image matches an expected original.
5000 (raw units)
price
3
calls / 30d
1
unique payers
2026-09-14
updated
Provider
api.kakerapetit.dev · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x3a43FdF92B1596B22DDF719d5b528c537Da4237d",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"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"
}
}
}Use it
curl
curl "https://api.kakerapetit.dev/v1/verify-reference-image" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.kakerapetit.dev/v1/verify-reference-image");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.kakerapetit.dev/v1/verify-reference-image")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/3136.json, and this resource appears in /discovery/resources and /discovery/search.