Apex API Reference

Integrate AI-detection and post-quantum certificate generation into your apps.

Base URL: https://apex.app/api/v1v1 Stable

Authentication

All API requests must include your API key in the Authorization header.

Authorization: Bearer ax_live_your_api_key_here

Get your API key at /dashboard/api-keys

Rate Limits

Free
25 scans/month
$0
Pro
500 scans/month
$29/mo
Enterprise
Unlimited
$99/mo

Exceeding your limit returns HTTP 429. Scan count resets on the 1st of each month (UTC).

POST/api/v1/analyze

Analyze an image for AI generation or manipulation. Returns a score, verdict, and post-quantum certificate.

Request Body

FieldTypeDescription
image_urlstringPublicly accessible image URL (max 10 MB)
imagestringBase64 data URI (data:image/jpeg;base64,...)

Provide either image_url or image, not both.

Example Request

curl -X POST https://apex.app/api/v1/analyze \
  -H "Authorization: Bearer ax_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{"image_url": "https://example.com/photo.jpg"}'

Response

{
  "success": true,
  "certificate_id": "cert_abc123",
  "verify_url": "https://apex.app/verify/sha256_hash",
  "media_hash": "sha256:abc123...",
  "ai_probability": 87,
  "authenticity_score": 13,
  "confidence": "high",
  "verdict": "likely_synthetic",
  "indicators": [
    "Unnatural skin texture",
    "Inconsistent lighting direction"
  ],
  "manipulation_areas": ["Face region", "Background blur"],
  "signature_algorithm": "ML-DSA-65",
  "analyzed_at": "2026-03-18T07:00:00.000Z",
  "api_version": "v1"
}
200Success
400Bad request (missing/invalid image)
401Invalid or missing API key
429Rate limit exceeded
500Analysis failed

Verdict Reference

authentic0-20% AIHigh confidence this is real media
likely_authentic20-40% AIMinor artifacts, likely authentic
inconclusive40-60% AICannot determine with confidence
likely_synthetic60-80% AISignificant AI indicators present
synthetic80-100% AIHigh confidence this is AI-generated

Ready to integrate?

Get your API key and start analyzing media in minutes.

Get API Key →