What I built
A REST API that gives developers access to real-time stock
quotes, historical data, technical indicators, and crypto
prices. Built with FastAPI and deployed on Railway.
Endpoints
-
GET /stocks/quote/{symbol}— live price, volume, change -
GET /stocks/history/{symbol}— OHLCV going back years -
GET /stocks/indicators/{symbol}— RSI, MACD, SMA, EMA -
GET /stocks/info/{symbol}— market cap, P/E, sector -
GET /crypto/quote/{symbol}— crypto prices -
GET /market/movers— top gainers and losers -
POST /stocks/batch— multiple symbols at once
Tech stack
- FastAPI (Python)
- yfinance for data
- PostgreSQL on Railway
- Stripe for billing
- slowapi for rate limiting
Try it free
100 requests/day, no credit card required.
Top comments (1)
Update - March 2026
Since posting this, the API has grown quite a bit. Here's what's new:
3 new endpoints:
/v1/stocks/analyst/{symbol}- analyst price targets, buy/hold/sell ratings, and recent upgrades/downgrades (Pro+)/v1/stocks/options/{symbol}- full options chain with calls and puts for the nearest expiry (Business)/v1/forex/quote/{pair}- real-time exchange rates for 15 major currency pairs (Free)Docs improvements:
Free tier still gets you 100 requests/day with no credit card.