Vantafin
Pricing
Log InView plans
Help Center/Developers & API
Developers & APILast updated Aug 4, 2026

How to create and use a Vantafin API key

Generate a Vantafin API key in Settings and authenticate requests to the REST API, WebSocket, and MCP server. Includes examples.

How to create and use a Vantafin API key - API keys (Vantafin Help Center)
Vantafin Team

On this page

  • Create your API key
  • Authenticate a request
  • Example: a REST request with curl
  • Example: setting the key as an environment variable
  • Rate limits and usage
  • Keep your key secure
  • Where to go next

An API key authenticates your requests to Vantafin's developer surfaces: the REST API, WebSocket streams, and the MCP server. Keys look like vf-live-... and are created in Settings. API access is available on the Pro and Ultimate plans. This guide shows how to generate a key and use it.

Create your API key

  1. Open Settings.
  2. Go to the API keys section.
  3. Generate a new key and copy it immediately - treat it like a password.
  4. Store it somewhere safe (a secret manager or environment variable), not in client-side code.

If a key is ever exposed, revoke it in the same section and generate a new one.

Authenticate a request

Try it

Generate a key in Settings

Open Settings, create a new API key, and copy it into an environment variable before you call REST, WebSocket, or MCP.

Open settings→API docs

You can pass your key three ways. Choose whichever fits your client:

MethodHowBest for
Bearer tokenAuthorization: Bearer vf-live-...Most HTTP clients
HeaderX-API-Key: vf-live-...Simple header-based auth
Query string?apiKey=vf-live-...Quick tests, WebSocket URLs

Example: a REST request with curl

curl "https://api.vantafin.com/v1/..." \
  -H "Authorization: Bearer vf-live-YOUR_KEY"

Example: setting the key as an environment variable

REST

Authenticate your first REST request

With the key saved, follow the REST overview and send a Bearer token request against the versioned API.

REST overview→Query with REST
export VANTAFIN_API_KEY="vf-live-YOUR_KEY"

Then reference VANTAFIN_API_KEY from your code instead of hard-coding the key.

Rate limits and usage

Each plan has a per-minute request limit and requests are logged. You can monitor your usage and rate limits in Settings. Ultimate offers the highest limits. The exact numbers are on the pricing page.

Usage

Watch rate limits after you start calling

Check plan request caps on pricing, then monitor API usage in Settings so you know when to back off or upgrade.

View pricing→Track usage

Keep your key secure

  • Never commit keys to source control or ship them in frontend code.
  • Prefer environment variables or a secrets manager.
  • Rotate keys periodically and revoke unused ones.

Where to go next

  • Query data with the REST API
  • Stream real-time data over WebSocket
  • Connect the MCP server
  • Full reference: API docs

Frequently asked questions

Important Disclaimer

This article is for informational and educational purposes only and does not constitute investment advice, financial advice, trading advice, tax advice, legal advice, or any other form of professional advice. DTS Analytics LLC (operating as Vantafin) is not a registered investment adviser, broker-dealer, or fiduciary. Market data, figures, and other information on Vantafin may be delayed, incomplete, or incorrect and are provided without warranty. Nothing herein should be construed as a solicitation, recommendation, endorsement, or offer to buy, sell, hold, or trade any security or other financial instrument. Past performance is not indicative of future results. You should independently verify all information and consult a qualified and licensed financial professional before making any investment or financial decision. You are solely responsible for your own investment, trading, and financial decisions, and DTS Analytics LLC is not liable for any losses arising from your use of or reliance on this content.

Related articles

  • How to query data with the Vantafin REST API - REST API (Vantafin Help Center)
    Developers

    How to query data with the Vantafin REST API

  • How to stream real-time data over WebSocket - WebSocket (Vantafin Help Center)
    Developers

    How to stream real-time data over WebSocket

  • How to connect the Vantafin MCP server - MCP (Vantafin Help Center)
    Developers

    How to connect the Vantafin MCP server

  • What is Vantafin? A complete overview - Overview (Vantafin Help Center)
    Get Started

    What is Vantafin? A complete overview

Overview
  • Home
  • Docs
  • Pricing
Platform
  • Markets Hub
  • Stock Screener
  • Market Calendar
  • AI Chat
About
  • About
  • Contact Us
Resources
  • Blog
  • Changelog
  • Help Center
Legal
  • Terms of Service
  • Privacy Policy
  • AI Policy
Log In
© 2026 DTS Analytics LLC. All Rights Reserved.

Vantafin provides market data and research tools for informational purposes only and does not constitute investment advice. Data may be delayed, incomplete, or incorrect. You are solely responsible for your investment decisions. See our Terms of Service.