Skip to content
OSINTtools.io

WasItAI API

AI image detector that combines C2PA credentials, metadata signatures and its own visual model into one verdict.

Base URL
https://api.wasitai.com/live
Sign-in
API key
Free tier
Free tier
Pricing
Subscription
Format
REST
Endpoints
2

Compiled by OSINTtools.io editors from wasitai.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

The WasItAI API classifies an image as made by a human or by AI. The response gives a result, a confidence score, and whether known C2PA or EXIF metadata claims from AI tools were found. finalVerdictWasItAI is a single yes/no that combines the metadata checks and the classifier.

Every call needs an api-key header; the key comes from a subscription. Production is https://api.wasitai.com/live and a sandbox is https://api.wasitai.com/sandbox. Images are sent by URL or as base64 in a JSON body. A multipart file-upload endpoint also exists and is not described here.

The pricing page lists a free plan with API access and 10 images a month, and paid plans with larger monthly image quotas.

Quick start

  1. Get a key

    Create an account with WasItAI and copy your api key (free tier). Where to get it

  2. Make your first request

    Current API usage and subscription details for your key.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.wasitai.com/live/api/accounts/v1/usage-info' \
      -H 'api-key: YOUR_API_KEY' \
      -H 'api-key: YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "numberOfTotalRequestsMade": 12,
      "numberOfImagesProcessedSuccessfully": 10,
      "totalUnitsAvailable": 10,
      "totalUnitsUsed": 10,
      "remainingUnits": 0,
      "activeSubscriptions": [],
      "hasActiveSubscription": true,
      "subscriptionStatus": "active"
    }

Authentication

Send your API key in the api-key header of every request.

Get a key from WasItAI

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Not stated in the docs

Free tier. Pricing: subscription.

Errors

StatusMeaning
404Not found
422Validation error

Classifiers

With deliveryMethod url, the service fetches the image from the given address. Custom headers prefixed passthrough- are sent on that fetch with the prefix removed. metaData is returned unchanged in the response.

Headers

api-keystringrequired

Your API key

Example: YOUR_API_KEY
Request body (JSON) · 3Show

deliveryMethodstringalways present

url or base64encoded

datastringalways present

Image URL, or the base64 image data

metaDatastring

Text returned unchanged in the response

Response fields · 11Show

requestIdstring

Request identifier

totalFetchingAndPreprocessingTimeInMsinteger

Time to fetch and prepare the image

totalClassificationTimeInMsinteger

Classification time

statusstring

ok or error

resultstring

Classifier result, for example human

confidenceScoreinteger

Confidence score

humanFriendlyDescriptionstring

Plain-language summary

knownC2paClaimsFoundstring

Whether C2PA metadata from a known AI tool was found

knownExifClaimsFoundstring

Whether EXIF metadata from a known AI tool was found

imageFormatstring

Detected image format

metaDatastring

Your metaData value

curl -X POST 'https://api.wasitai.com/live/api/classifiers/v1/image/classify' \
  -H 'api-key: YOUR_API_KEY' \
  -H 'api-key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"deliveryMethod":"url","imageToClassify":{"data":"https://example.com/photo.jpg","metaData":"case-42-image-1"}}'
Replace YOUR_API_KEY with your key
Response
{
  "requestId": "00000000-0000-0000-0000-000000000000",
  "totalFetchingAndPreprocessingTimeInMs": 244,
  "totalClassificationTimeInMs": 540,
  "classifiedImage": {
    "classifyResult": {
      "classificationDurationInMs": 540,
      "confidenceScore": 99,
      "humanFriendlyDescription": "We're quite confident that NO AI was used when producing this image.",
      "result": "human"
    },
    "imageInformation": {
      "imageFormat": "jpeg",
      "imageHeightInPx": 442,
      "imageWidthInPx": 330
    },
    "metaData": "case-42-image-1",
    "metaDataImageAnalysis": {
      "knownC2paClaimsFound": "false",
      "knownExifClaimsFound": "false"
    },
    "status": "ok"
  }
}

Account

  • Passive: the target is not contacted

Returns request counts, units used and remaining, and active subscriptions.

Headers

api-keystringrequired

Your API key

Example: YOUR_API_KEY
Response fields · 7Show

numberOfTotalRequestsMadeinteger

Requests made

numberOfImagesProcessedSuccessfullyinteger

Images processed successfully

totalUnitsAvailableinteger

Units available in total

totalUnitsUsedinteger

Units used

remainingUnitsinteger

Units remaining

hasActiveSubscriptionboolean

Whether a subscription is active

subscriptionStatusstring

Subscription status

curl 'https://api.wasitai.com/live/api/accounts/v1/usage-info' \
  -H 'api-key: YOUR_API_KEY' \
  -H 'api-key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "numberOfTotalRequestsMade": 12,
  "numberOfImagesProcessedSuccessfully": 10,
  "totalUnitsAvailable": 10,
  "totalUnitsUsed": 10,
  "remainingUnits": 0,
  "activeSubscriptions": [],
  "hasActiveSubscription": true,
  "subscriptionStatus": "active"
}