Skip to content

Authentication

FairCrawl uses bearer API keys on the public API surface.

Authorization: Bearer fc_live_xxx

Important behavior

  • API keys are org-scoped, not just user-scoped
  • billing, rate limits, and job history attach to the authenticated org
  • API key creation requires a payment method on file
  • the same key works across the crawl, freshness, and docs discovery routes

Smoke test your auth

List the live endpoint catalog

```bash curl https://api.faircompany.ai/v1/crawl/endpoints \ -H "Authorization: Bearer fc_live_xxx" ```

API key hygiene

  • keep keys in env vars, not source files
  • rotate keys per environment or workload
  • use dedicated keys for agents, cron jobs, and production apps
  • revoke keys from the FairCrawl app when a workload is retired
  • GET /v1/crawl/endpoints
  • GET /v1/crawl/jobs
  • GET /v1/crawl/usage