Inkrata is a free API for identifying scam images shared across Discord, Telegram, and other messaging platforms. It can be integrated into bots, moderation tools, or any application that needs to detect known scam images. The database contains identifiers of scam campaigns, allowing you to quickly check whether an image has been seen and reported before. Inkrata also uses VLMs and OCR detection for unknown images. This means that even if we don't have an image identifier in our DB, we can still tell if it's a scam. (Hopefully)
Why does Inkrata exist?
Screenshots of fake Twitter posts by Mr Beast or Elon Musk are becoming increasingly
common on Discord. In fact, you probably see them every day, especially if you run a
large community. They claim to either double your bitcoin or give you money with a coupon code.
It's obvious that it's a scam, and probably nobody is falling for it, but it's still extremely
annoying when someone spams all the channels with scam images.
How can I use Inkrata?
We have a very simple API that you can use to query for known images. Each known image is
assigned an SHA-256 and a PDQ hash. Although SHA-256 sounds like it would be simple to implement,
we don't recommend it at all. The reason is that if even a single pixel in an image is changed,
or if the image is compressed in transit (e.g. when sent via Discord or Telegram), the resulting hash
will not be the same.
This is not the case with a PDQ hash, because it checks for similarities in an image instead of checking raw bytes.
You can read more about PDQ here: https://github.com/darwinium-com/pdqhash
The best way to implement our API is to upload the whole image. This will enable the VLM model and the OCR check to run on the image and recognize the characteristics of scam images, even those that were not previously known about. By doing this, you will also help us to grow the SHA-256 and PDQ hash database.
TLDR: Use PDQ hash if you don't want to upload the entire image. Otherwise, use the upload endpoint, which is much more effective at detecting scam images.
If you are sceptical, please only use the PDQ hash endpoint. If you want to help us grow our database but don't
want to upload every image sent to your discord channels, application, etc. That's fine. However, if you do encounter any scam images
in your community, please submit them to our Discord server in the contribute - #submit channel, so we can add it manually to our DB.
Get your free API key by joining our Discord server.
Join the Inkrata Discord