API
Simple REST API. One endpoint.
POST an image, get a confidence score. No SDK required. Base URL: https://api.airegco.com
Authentication
X-API-Key header.
All /v1/* endpoints require an API key. Create one in the Dashboard, then pass it as the X-API-Key request header. Keys start with airegco_.
Never expose your API key client-side
Call /v1/predict from your backend. If you need browser-side detection, use the /try endpoint (10 free checks, no key required) or proxy through your own server.
Endpoints
All available routes.
Code examples
Check a receipt.
curl -X POST https://api.airegco.com/check \
-H "X-API-Key: airegco_your_key" \
-H "Content-Type: application/json" \
-d '{"image": "'"$(base64 -w0 receipt.jpg)"'"}'{
"receipt_id": "rcpt_a1b2c3d4",
"external_id": null,
"verdict": { "flagged": true, "reason": "ai_generated_probability", "confidence": 0.91 },
"signals": {
"image": { "ai_generated_probability": 0.91, "model_version": "efficientnet_b4_fft_receipts_v1" },
"ocr": { "math_consistent": true, "fields": { "subtotal": 47.5, "tax": 3.8, "total": 51.3 }, "extraction_method": "regex" }
},
"metadata": { "processing_time_ms": 847 }
}Pricing
Pay as you go.
Per receipt check$0.0015
Per 1,000 images$1.50
$5 → 3,334 detections
$25 → 16,667 detections
$100 → 66,667 detections
Credits never expire. No subscription. Contact us for volume pricing.