Developer API

FaceSeek API

Run a premium multi-source face search — or an AI-generated / deepfake check — from your own product with one authenticated REST call.

Get an API key →Base URLhttps://api.faceseek.online

Endpoints at a glance

Getting started

Every request authenticates with a secret API key. To get one, buy an API Token pack — your key and a prepaid API Token balance are emailed instantly. Keys look like fsk_… and must be kept secret (server-side only). Need a bigger pack or custom SLA? Email contact@faceseek.online.

A key carries one prepaid api_tokens balance that covers both products: a face search costs 10 API Tokens and an AI/deepfake check costs 1. Buy API Tokens in packs on the pricing page.

Prefer to generate a client or import into Postman? Grab the OpenAPI 3 spec — it describes every endpoint, auth, and response schema.

Authentication

Pass your key in the X-API-Key request header. Requests without a valid key return 401 Unauthorized.

http
X-API-Key: fsk_your_api_key_here
POST/v1/api/detect-ai1 API Token

Upload an image (multipart form field file) and get an AI-generated / deepfake verdict. Each successful call costs 1 API Token (the same balance as face search); failed checks are not charged.

Request

cURL
curl -X POST https://api.faceseek.online/v1/api/detect-ai \
  -H "X-API-Key: fsk_your_api_key_here" \
  -F "file=@/path/to/photo.jpg"

Response

json
{
  "status": 200,
  "label": "deepfake",
  "verdict": "Likely a deepfake or face-swap",
  "ai_generated": 0.0123,
  "deepfake": 0.8742,
  "confidence": 0.8742,
  "top_generator": null,
  "top_generator_score": 0.0,
  "api_tokens_remaining": 1489
}

label is one of authentic, ai, deepfake, or uncertain. ai_generated and deepfake are 0–1 likelihoods; confidence is the headline score. top_generator names the closest AI generator when the image looks AI-made (else null). Detection is probabilistic — a strong signal, not proof.

GET/v1/api/accountfree

Check the calling key's email and remaining balance of both products.

Request

cURL
curl https://api.faceseek.online/v1/api/account \
  -H "X-API-Key: fsk_your_api_key_here"

Response

json
{
  "email": "you@company.com",
  "api_tokens_remaining": 1489
}

Errors

401Missing or invalid X-API-Key.
402Out of credits — top up or contact us.
502Transient backend error (not charged; retry).

Pricing is simple — buy API Tokens (a search costs 10, a detect costs 1) and your key is emailed instantly.

See API Token packs →