Skip to main content
Getting Started

Quick Start & Authentication

Authenticate with a Bearer API key, call POST /v1/capture, and inspect billing headers and clean-room execution metadata.

1. Base URL & Authentication

All API endpoints are served over HTTPS at https://api.geoeval.com. Authenticate using an API key generated in console.geoeval.com via the Authorization: Bearer header. Optional multi-workspace routing is supported via X-Workspace-Id.

cURL — Sync Clean-Room Capture
                        curl -X POST https://api.geoeval.com/v1/capture \
  -H "Authorization: Bearer $GEOEVAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "engine": "chatgpt",
    "prompt": "Best serverless Postgres databases for AI apps in 2026",
    "country": "us",
    "web_search": true,
    "include_raw_html": true
  }'
                      

2. Discover Live Engines & Credit Rates

Avoid hardcoding supported engines, country exits, or credit pricing. Query GET /v1/engines to retrieve live availability, capabilities, and per-mode credit costs dynamically.

GET /v1/engines
                        curl https://api.geoeval.com/v1/engines \
  -H "Authorization: Bearer $GEOEVAL_API_KEY"
                      

3. Standard Billing & Telemetry Headers

Every API response includes deterministic billing and rate-limit headers so your pipelines can self-throttle and reconcile costs automatically.

HeaderExampleDescription
X-Request-Idreq_01JXYZ9A8B...Unique trace identifier for logs and support.
X-Credits-Charged7Credits deducted (always 0 on non-200 errors).
X-Credits-Remaining4993Remaining workspace credit balance after this call.
X-RateLimit-Remaining28Remaining concurrent slots in your active plan.