# WasItAI API reference

> 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…

Source: https://osinttools.io/apis/wasitai/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/wasitai/

- Base URL: https://api.wasitai.com/live
- Authentication: API key in the `api-key` header. Get a key: https://wasitai.com/api
- Free tier: yes
- Pricing: Subscription
- Rate limits: Not stated in the docs
- Vendor docs: https://wasitai.com/api/documentation
- OpenAPI spec: https://api.wasitai.com/openapi.json

## Overview

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.

## Errors

| Status | Meaning |
| --- | --- |
| 404 | Not found |
| 422 | Validation error |

## Classifiers

### Classify an image as human-made or AI-generated, from a URL or base64 data.

`POST /api/classifiers/v1/image/classify`

- Takes: Image
- Footprint: active (contacts the target)

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.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `api-key` | header | string | yes | Your API key Example: YOUR_API_KEY |

Response fields:

- `requestId` (string): Request identifier
- `totalFetchingAndPreprocessingTimeInMs` (integer): Time to fetch and prepare the image
- `totalClassificationTimeInMs` (integer): Classification time
- `classifiedImage.status` (string): ok or error
- `classifiedImage.classifyResult.result` (string): Classifier result, for example human
- `classifiedImage.classifyResult.confidenceScore` (integer): Confidence score
- `classifiedImage.classifyResult.humanFriendlyDescription` (string): Plain-language summary
- `classifiedImage.metaDataImageAnalysis.knownC2paClaimsFound` (string): Whether C2PA metadata from a known AI tool was found
- `classifiedImage.metaDataImageAnalysis.knownExifClaimsFound` (string): Whether EXIF metadata from a known AI tool was found
- `classifiedImage.imageInformation.imageFormat` (string): Detected image format
- `classifiedImage.metaData` (string): Your metaData value

```bash
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"}}'
```

Example response (200):

```json
{
  "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

### Current API usage and subscription details for your key.

`GET /api/accounts/v1/usage-info`

- Footprint: passive (the target is not contacted)

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

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `api-key` | header | string | yes | Your API key Example: YOUR_API_KEY |

Response fields:

- `numberOfTotalRequestsMade` (integer): Requests made
- `numberOfImagesProcessedSuccessfully` (integer): Images processed successfully
- `totalUnitsAvailable` (integer): Units available in total
- `totalUnitsUsed` (integer): Units used
- `remainingUnits` (integer): Units remaining
- `hasActiveSubscription` (boolean): Whether a subscription is active
- `subscriptionStatus` (string): Subscription status

```bash
curl 'https://api.wasitai.com/live/api/accounts/v1/usage-info' \
  -H 'api-key: YOUR_API_KEY' \
  -H 'api-key: YOUR_API_KEY'
```

Example response (200):

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

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
