# Flow API

VandaXasset investor flows and positions by investor type (foreign, institutional, retail, systematic) in each market, with CTA forecasts and a searchable catalog.

Version: 1.0.0

## Servers

Development server
```
https://dev.api.vanda-analytics.com
```

## Security

### HTTPBearer

Type: http
Scheme: bearer

### ApiKeyAuth

Type: apiKey
In: header
Name: x-api-key

## Download OpenAPI description

 - [Flow API](https://docs.vanda-analytics.com/_bundle/apis/flow/vanda-msvc-flow.yaml)

## Timeseries

 - [GET /flow/timeseries](https://docs.vanda-analytics.com/apis/flow/vanda-msvc-flow/timeseries/get_timeseries_flow_timeseries_get.md): Observations for one or more series over a date range. **Units vary by series.** A multi-series response can mix USDmn, shares, contracts and index points, so `metric`, `frequency` and `unit` are on e
 - [GET /flow/latest](https://docs.vanda-analytics.com/apis/flow/vanda-msvc-flow/timeseries/get_latest_flow_latest_get.md): The newest observation for each series. Read `staleness_days` alongside the value: coverage is uneven and many series stopped publishing years ago.
 - [GET /flow/availability](https://docs.vanda-analytics.com/apis/flow/vanda-msvc-flow/timeseries/get_availability_flow_availability_get.md): First and last observation per series. `row_count` is distinct observations, not stored rows.
 - [GET /flow/timeseries/export](https://docs.vanda-analytics.com/apis/flow/vanda-msvc-flow/timeseries/export_timeseries_flow_timeseries_export_get.md): Full history as CSV or JSON, unpaginated. Each row carries slug, metric and unit.
 - [GET /flow/forecast/runs](https://docs.vanda-analytics.com/apis/flow/vanda-msvc-flow/timeseries/get_forecast_axes_flow_forecast_runs_get.md): What a forecast series can be asked for. A forecast dataset publishes a **cube**: every combination of a horizon and a z-score scenario for each run date. This returns the axes of that cube — the run
 - [GET /flow/forecast](https://docs.vanda-analytics.com/apis/flow/vanda-msvc-flow/timeseries/get_forecast_flow_forecast_get.md): One z-score scenario across the requested horizons, for the most recent run unless `run_date` says otherwise. Rows are grouped **one object per horizon**, with every metric nested inside it — a foreca
## Catalog

 - [GET /flow/catalog](https://docs.vanda-analytics.com/apis/flow/vanda-msvc-flow/catalog/list_catalog_flow_catalog_get.md): Every published series, with its identifiers, classification, measure and coverage. Filter by any dimension from `/flow/catalog/facets`, or search with `q`. Store `identity.slug`: `series_id` changes
 - [GET /flow/catalog/facets](https://docs.vanda-analytics.com/apis/flow/vanda-msvc-flow/catalog/get_facets_flow_catalog_facets_get.md): Distinct values per filterable dimension. Read these rather than hard-coding a list; `metric` grows as the pipeline publishes more.
 - [GET /flow/catalog/{identifier}](https://docs.vanda-analytics.com/apis/flow/vanda-msvc-flow/catalog/get_catalog_entry_flow_catalog__identifier__get.md): Accepts the same identifiers as `series_ids`. Where one matches several series the first is returned.
## Users

 - [GET /flow/users/me](https://docs.vanda-analytics.com/apis/flow/vanda-msvc-flow/users/get_me_flow_users_me_get.md): The caller's tier and the request limits that follow from it.
## Utility

 - [GET /flow/health](https://docs.vanda-analytics.com/apis/flow/vanda-msvc-flow/utility/health_check_flow_health_get.md)
## Testing

 - [POST /flow/test/token](https://docs.vanda-analytics.com/apis/flow/vanda-msvc-flow/testing/get_test_token_flow_test_token_post.md): Generate access token for testing protected endpoints. Available in local and development environments only.
 - [GET /](https://docs.vanda-analytics.com/apis/flow/vanda-msvc-flow/other/root__get.md): Root endpoint providing service metadata.
