Query assets, OHLCV history and news through a FastAPI REST interface.
Explore Fonrex
Jump straight to the area you are working on.
Stream live candles over WebSockets backed by Redis Pub/Sub.
DCF intrinsic value, fundamentals and technical indicators computed server-side.
Use Fonrex from Google Sheets, OpenBB Workspace or Zipline backtests.
Yahoo Finance, 13 scraped websites, SEC EDGAR and JustETF — validated, with their source.
Deploy with Docker, configure environments and run in production.
Get started in 3 steps
Run the stack with Docker Compose, set your provider keys, then make your first request.
Start the quickstart- cURL
- Python
- WebSocket
# End-of-day OHLCV history for Airbus SE
curl -s -H "X-API-KEY: $FONREX_API_KEY" \
"http://localhost:5000/eod/AIR.PA?period=1mo"
import os
import requests
resp = requests.get(
"http://localhost:5000/technical/AIR.PA",
params={"indicator": "rsi", "period": 14},
headers={"X-API-KEY": os.environ["FONREX_API_KEY"]},
)
latest = resp.json()["series"][0]["values"][-1]
print(f"AIR.PA RSI(14) on {latest['t']}: {latest['v']}")
const ws = new WebSocket(
`ws://localhost:5000/ws/realtime/AIR.PA?token=${FONREX_API_KEY}`
);
ws.onmessage = (event) => {
const message = JSON.parse(event.data);
console.log(message.type, message.data);
};
Use these docs with AI
Feed the whole documentation to your LLM or coding assistant using the llms.txt standard.
What's new
- mainSecure defaults & per-listing pricesAPI key required by default, read-only keys, prices stored per listing, verified Yahoo symbols.
- v1.6.0OpenBB Workspace integration19 widgets, 2 ready-made dashboards and X-API-KEY header authentication.
- v2.0.0Provider health monitoringValidation layer, Canary monitor and 7 /health endpoints.
Need help?
Fonrex is open source (AGPL-3.0). Report a bug, ask a question or improve these docs.