Skip to content
Fourohtwo

Check if two images are duplicates or near-duplicates

api.kakerapetit.dev/v1/check-duplicate-image

Check if two images are duplicates or near-duplicates. Compares two image URLs with perceptual hashing and returns a distance score and a same-image verdict. Use to deduplicate photos, detect reposted or copied images, and verify whether two files show the same picture.

BaseAnswering
POSThttps://api.kakerapetit.dev/v1/check-duplicate-image

Uptime100% of 5 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.kakerapetit.dev/v1/check-duplicate-image", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"image_url_a":"https://picsum.photos/id/237/320/240","image_url_b":"https://picsum.photos/id/237/240/180"}),
});
console.log(await res.json());

Example input

{
  "image_url_a": "https://picsum.photos/id/237/320/240",
  "image_url_b": "https://picsum.photos/id/237/240/180"
}

More from KakerapetitProvider status