Equities
Submit Equity Data Export
/v2/equities/exportsSubmit an asynchronous export job for this account. Choose symbols and/or isins (at least one, at most 100 together), optional metrics and a from/to window; a batch worker materialises the Parquet export, then poll GET /equities/exports/{exportId} for signed download links. symbols and isins union. A request with neither is a 400. Scoped to the caller's API key.
Included in: Startup, Pro, Growth.
Authentication
Send your API key in the x-api-key header on every request to https://api.bavest.co. The samples read it from the BAVEST_API_KEY environment variable. Get an API key · Authentication guide
Parameters
This route takes no path or query parameters.
Try it
Draft from the schema. Review and fill in required fields before sending.
POST /v2/equities/exports
Sent only to api.bavest.co for this request; not stored.
Request body
metricsarray of stringsymbolsarray of stringisinsarray of stringfromstring (date)tostring (date)
Response 200
Job accepted · application/json
dataobjectexportIdstringassetClassstringExample
equitystatusstringExample
pendingpollstringPoll this path for status and links
metaResponseMetaResponse envelope metadata. Always present on a 200:
timeis set bycore/response.pyon every successful response. Errors carry the same block, built by the same code, so a client parses one meta shape whether the call succeeded or failed.timeintegerServer-side processing time in milliseconds
Example
17parametersobjectEcho of the request parameters the endpoint resolved
Errors
- 400Invalid request parameters. Returned when required query parameters are missing, have invalid types, or violate constraints (e.g., providing both symbol and isin when they are mutually exclusive).
- 401Missing or invalid API key.
- 429Rate limit exceeded. Retry after the `Retry-After` header interval.

