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 - source on github.com/vantafin/vantafin
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, or browse the SDKs on github.com/vantafin/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.
Frequently asked questions
- What APIs does Vantafin offer?
- Vantafin developer docs cover the REST API, WebSocket streams, and MCP server for affordable financial data. Authenticate with an API key, call typed JSON endpoints for quotes, profiles, filings, and more, or connect Claude and Cursor through MCP on Pro or Ultimate. WebSocket streaming is exclusive to the Ultimate plan.
- How do I authenticate to the Vantafin API?
- Use your vf-live API key from Settings → API Usage as a query parameter (apiKey), Authorization Bearer token, or X-API-Key header. Keys require a Pro or Ultimate plan.
- How do I connect Claude or Cursor to Vantafin?
- Subscribe to Pro or Ultimate, create an API key, then add the Vantafin MCP server to your client config. Full setup steps are in the MCP Server docs.