Equities
Equity Metrics History Export
/v2/equities/exportsReturns time-limited download links for this account's pre-materialized equity-metrics history export (Parquet, one part per metric) plus its manifest. The export is produced by a batch job and scoped to the caller's API key; no identifier is required. If no export has been materialized yet, the response contains an empty parts list and a warning.
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
This route takes no parameters.
GET /v2/equities/exports
Sent only to api.bavest.co for this request; not stored.
Response 200
Successful response · application/json
dataobjectclientIdstringThe account (API-key id) the export is scoped to
generatedAtstringWhen the export was materialized (ISO-8601)
formatstringExample
parquetschemaarray of stringColumn order of every part file
rowsintegerTotal rows across all parts
expiresInSecondsintegerLifetime of the returned presigned URLs
Example
3600manifestUrlstringPresigned URL for the manifest.json
partsarray of objectwarningstringPresent only when no export is materialized yet
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
- 401Missing or invalid API key.
- 429Rate limit exceeded. Retry after the `Retry-After` header interval.

