Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Fahali Intelligence Public API
version: 1.0.0
description: Structured market intelligence endpoints for AI agents, MCP tools, and institutional consumers. All responses conform to the canonical Fahali Intelligence schema family. Observation, not financial advice — every surface carries this disclaimer.
servers:
- url: https://app.fahaliai.com
description: Production
- url: http://localhost:5000
description: Local development
tags:
- name: Public
paths:
/api/public/stats:
get:
summary: Live platform stats (public)
description: 'Real-time coverage: instruments monitored, detections in last 24h, last detection time. No authentication. Returns no engine count by design — the per-engine record is at /api/track-record/engines.'
operationId: getPublicStats
responses:
'200':
description: Live stats
content:
application/json:
schema:
type: object
properties:
instrumentsMonitored:
type: integer
detections24h:
type: integer
lastDetectionAt:
type: string
format: date-time
asOf:
type: string
format: date-time
tags:
- Public
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: Firebase ID token (logged-in user) for billing and portfolio endpoints.