Introduction
One API for US equities and ETFs - company profiles, live quotes, fundamentals, SEC filings, news, earnings transcripts, and real-time WebSocket streams. Authenticate with your Vantafin API key and call https://api.vantafin.com/v1 from any language, or plug the MCP server into Claude, Cursor, and other agent tools. REST for request/response workflows; WebSocket for sub-second market data; MCP for tool-using agents.
What is the Vantafin API?
The Vantafin API is a hosted data platform for US-listed stocks, ETFs, and funds. It exposes the same datasets that power the Vantafin web app - reference data, market snapshots, corporate actions, ownership, fundamentals, regulatory filings, and news - through a stable REST surface, optional real-time WebSocket channels, and an MCP server for AI agents.
Who is it for? Developers building trading tools, research dashboards, alerting systems, and agent workflows who want institutional-grade market data without operating their own ingestion pipelines.
- REST-first: predictable JSON, cursor pagination, OpenAPI schema
- Real-time: per-second and per-minute quote streams, live filings and news
- Agent-ready: MCP tools map directly to the same datasets as the REST API
- Official clients: Python, JavaScript, Go, Java, and Ruby SDKs on PyPI and npm
What do you need? A Vantafin account, an API key, and your HTTP client of choice. The Python client is the fastest path: pip install vantafin.
How it works
Your application or agent calls the Vantafin API over HTTPS (or opens a WebSocket for streams). Vantafin handles authentication, rate limits, and routing to the underlying quote store, company profiles index, filing corpus, and sync jobs - you work with clean JSON responses.
Key capabilities
Quick start
- Install the Python client
pip install vantafin - Copy your API key
Open Settings → API Usage and copy your vf-live-… key.
- Fetch a quote
from vantafin import RESTClient client = RESTClient("vf-live-your_api_key") print(client.get_quote("AAPL"))Prefer curl? See the Quote endpoint for a ready-made sample.
- Stream live data (optional)
Connect to wss://socket.vantafin.com/v1/stocks, authenticate with your API key, and subscribe to a channel such as LS.AAPL for per-second quotes. See Live Quotes (Per Second).
Reference
Start here
Jump to the guides and endpoints most teams reach for first.