# Vanda API documentation > Data on investor positioning, capital flows, retail activity and macroeconomics across global markets, available through a REST API, the vanda-api Python SDK, an MCP connector for AI assistants and Snowflake Marketplace. - Base URL: https://api.vanda-analytics.com. Authenticate with an API key in the `x-api-key` header, or a bearer token from POST /auth/basic. - Python SDK: `pip install vanda-api`, then `VandaClient()` reads VANDA_SDK_KEY (or VANDA_LOGIN_EMAIL and VANDA_PASSWORD) from the environment. - Find series through each API's /catalog endpoint first. Use series_label for Positioning, slug for Flow and series_id for Macro. - Positioning values are z-scores against each series' own history; crowded_long at +1.5 sigma or above, crowded_short at -1.5 sigma or below. - Flow units differ between series; read `unit` on every value and never combine different units. - Normalisation and transformations apply to one series per request. ## Get started Products, quickstart, authentication and the concepts needed to read the data correctly. - [Authentication](https://docs.vanda-analytics.com/guides/authentication.md): Authenticate to the Vanda API with an API key or a bearer token, configure the Python SDK, check your tier limits and handle error codes. - [Use the docs with AI](https://docs.vanda-analytics.com/guides/ai.md): Give AI assistants accurate context on the Vanda API through llms.txt, Markdown pages and the docs MCP server, with a starter prompt for coding assistants. - [Start here](https://docs.vanda-analytics.com/guides.md): What Vanda data covers, the products it comes in, and how to choose between the platform, AI assistants, the Python SDK and REST API, and Snowflake. - [Key concepts](https://docs.vanda-analytics.com/guides/concepts.md): How Vanda data is organised and how to read it correctly - products, identifiers, combined positioning and crowding, revisions, model versions, cadence, units, transformations, forecasts and paging. - [Quickstart](https://docs.vanda-analytics.com/guides/quickstart.md): Get from sign-in to your first Vanda data pull in about ten minutes, using the REST API or the vanda-api Python SDK. ## API reference Every endpoint, parameter and response field of the public Vanda APIs. - [Aggregates API](https://docs.vanda-analytics.com/apis/aggregates/vanda-msvc-aggregates.md): VandaTrack retail flow rolled up to sectors, industries, indices and baskets, with timeseries, leaderboards, constituents and reference data. - [Auth API](https://docs.vanda-analytics.com/apis/auth/vanda-msvc-auth.md): Exchange your Vanda Analytics login for a short-lived bearer token, and manage your API keys. Not needed for requests that send an API key. - [Flow API](https://docs.vanda-analytics.com/apis/flow/vanda-msvc-flow.md): VandaXasset investor flows and positions by investor type (foreign, institutional, retail, systematic) in each market, with CTA forecasts and a searchable catalog. - [Macro API](https://docs.vanda-analytics.com/apis/macro/vanda-msvc-macro.md): VandaMacro macroeconomic series - inflation, growth, labour, capital flows, CTA positioning and Vanda's macro models - with timeseries, latest values, coverage and a searchable catalog. - [Positioning API](https://docs.vanda-analytics.com/apis/positioning/vanda-msvc-positioning.md): VandaXasset combined positioning scores - how crowded investors are in each market across equities, rates, FX and commodities - with crowding signals, history, point-in-time values and a searchable catalog. - [Series API](https://docs.vanda-analytics.com/apis/series/vanda-msvc-series.md): VandaTrack retail buying and selling in single US-listed securities (equities, ETFs and ADRs), with timeseries, leaderboards, snapshots and bulk exports. ## AI assistants (Vanda MCP) Connect Claude, ChatGPT or another assistant to Vanda data and research. - [VandaInsights in your AI assistant](https://docs.vanda-analytics.com/ai-assistants/vandainsights.md): Ask an AI assistant what Vanda's published research says - search by topic, period, series or author, list publications and read them in full, with links to the source. - [Vanda MCP](https://docs.vanda-analytics.com/ai-assistants.md): Connect Vanda to Claude, ChatGPT or another AI assistant with one MCP connector, sign in with your Vanda account, and ask about VandaTrack, VandaXasset, VandaInsights and VandaMacro in plain English. - [VandaMacro in your AI assistant](https://docs.vanda-analytics.com/ai-assistants/vandamacro.md): Ask an AI assistant to find and draw VandaMacro charts and tables by title, over the dates you choose - what you can ask, how charts are drawn, and troubleshooting. - [VandaTrack in your AI assistant](https://docs.vanda-analytics.com/ai-assistants/vandatrack.md): Ask an AI assistant about VandaTrack retail order flow in US stocks, ETFs, sectors, indices and baskets - what you can ask, how dates and data are interpreted, and troubleshooting. - [VandaXasset in your AI assistant](https://docs.vanda-analytics.com/ai-assistants/vandaxasset.md): Ask an AI assistant about VandaXasset crowded positioning and investor flows across equities, rates, FX and commodities - what you can ask, how the data is interpreted, and troubleshooting. ## Snowflake Vanda datasets on Snowflake Marketplace, with views, metrics and example SQL. - [US Equities Daily Retail Flow](https://docs.vanda-analytics.com/snowflake/us-equities-daily.md): Daily estimates of retail buy, sell, net and total turnover across US-listed equities since 2012, in Snowflake - coverage, metrics, interpretation and example SQL. - [Snowflake Marketplace](https://docs.vanda-analytics.com/snowflake.md): Query Vanda's US equities retail flow and VandaXasset cross-asset positioning datasets with SQL inside your own Snowflake account, delivered through Snowflake Marketplace. - [US Equities Intraday Retail Flow](https://docs.vanda-analytics.com/snowflake/us-equities-intraday.md): Retail buy, sell, net and total turnover across US-listed equities, updated every 10 minutes during US market hours, in Snowflake - coverage, metrics, interpretation and example SQL. - [VandaXasset Cross-Asset Flows & Positioning](https://docs.vanda-analytics.com/snowflake/vandaxasset.md): Combined positioning scores and investor flows across equities, fixed income, FX and commodities in Snowflake - views, metrics, point-in-time data, interpretation and example SQL. ## About - [Policy of Independence](https://docs.vanda-analytics.com/policy-of-independence.md): How Vanda Research keeps its investment research and data independent, impartial and objective, including analyst conduct and research sign-off. - [Release notes](https://docs.vanda-analytics.com/release-notes.md): New features, improvements and fixes in the Vanda Analytics platform, newest first.