# Cite-Finance API
**Production-grade financial data API with AI-powered synthesis**
## Overview
Cite-Finance provides SEC EDGAR data, market data, and financial calculations through a clean REST API with built-in AI synthesis capabilities.
## What Makes Cite-Finance Different
### β
Zero Hallucination
Pure structured JSON responses - no LLM inference, no made-up numbers.
### β‘ Lightning Fast
Sub-300ms p95 latency with 99.9% SLA (Pro tier).
### π Consistency Scores
Cross-source validation gives you a 0-1 confidence metric on every response.
### π SEC Citations
Every data point includes direct links to source filings - perfect for compliance.
### π€ LLM-Ready Format
`format=llm` option returns prompt-ready text snippets with metadata.
### π‘οΈ Production Grade
Sentry monitoring, Stripe billing, Redis caching, full observability.
## Architecture
```
cite-finance-api/
βββ src/
β βββ api/ # API routes (FastAPI)
β βββ core/ # Business logic (calculations, metrics)
β βββ data_sources/ # Plugin-based data source adapters
β βββ auth/ # API key management
β βββ billing/ # Stripe integration, usage tracking
β βββ middleware/ # Rate limiting, auth
β βββ models/ # Pydantic models
β βββ utils/ # Shared utilities
βββ tests/ # Test suite
βββ docs/ # API documentation
βββ config/ # Configuration files
```
## Quick Start
### Installation
```bash
pip install -r requirements.txt
```
### Configuration
```bash
cp .env.example .env
# Edit .env with your API keys
```
### Run
```bash
uvicorn src.main:app --reload
```
### API Documentation
Once running, visit: http://localhost:8000/docs
## Pricing
| Tier | Price | Calls/Month | Key Features |
|------|-------|-------------|--------------|
| **Free** | $0 | 50 | Basic metrics, testing |
| **Starter** | $49 | 2,000 | **LLM answers**, citations, consistency |
| **Professional** | $199 | 10,000 | All features, **99.9% SLA** |
| **Enterprise** | $999 | Unlimited | Custom metrics, dedicated support |
## Quick Start
### 1. Get Your API Key
```bash
curl -X POST https://api.cite-finance.io/api/v1/auth/register \
-H "Content-Type: application/json" \
-d '{"email": "you@company.com"}'
```
### 2. Make Your First Request
```bash
curl -H "X-API-Key: your_key" \
"https://api.cite-finance.io/api/v1/answers?ticker=AAPL&metric=revenue_ttm&format=json"
```
### 3. Get Structured, Cited Data
```json
{
"ticker": "AAPL",
"metric": "revenue_ttm",
"value": 383285000000,
"unit": "USD",
"period": "TTM",
"as_of": "2024-09-30",
"sources": [
{
"type": "sec_filing",
"filing": "10-K",
"url": "https://www.sec.gov/...",
"excerpt": "Total net sales: $383,285 million"
}
],
"consistency_score": 0.96,
"retrieved_at": "2025-11-24T12:00:00Z"
}
```
**Key Benefits:**
- β
Structured JSON (no hallucination)
- β
SEC citations with URLs
- β
96% consistency score
- β
Sub-300ms response time
## Use Cases
- **AI Chatbots**: Financial Q&A with verified sources
- **Trading Bots**: High-confidence data for algorithmic trading
- **Dashboards**: Real-time financial metrics with citations
- **Research Tools**: Compliance-ready data with SEC links
## Documentation
- [API Docs](https://api.cite-finance.io/docs)
- [Monetization Guide](./MONETIZATION_GUIDE.md)
- [Deployment Guide](./DEPLOYMENT_CHECKLIST.md)
- [Integration Examples](./MONETIZATION_GUIDE.md#integration-examples)
## Built For
LLM-first financial applications that need:
- Structured data (no hallucination)
- Verified sources (SEC citations)
- High confidence (consistency scores)
- Production speed (<300ms)
---
**Ready to launch?** See [DEPLOYMENT_CHECKLIST.md](./DEPLOYMENT_CHECKLIST.md)
## License
Proprietary - All Rights Reserved