# brapi.dev stock API

Use brapi.dev to query Brazilian stock quotes, historical OHLCV prices, dividends, profiles, statistics, and financial statements.

## Start here

- [OpenAPI contract](https://brapi.dev/openapi.json)
- [Stock quote endpoint](https://brapi.dev/api/v2/stocks/quote?symbols=PETR4)
- [Stock historical endpoint](https://brapi.dev/api/v2/stocks/historical?symbols=PETR4)
- [Stock dividends endpoint](https://brapi.dev/api/v2/stocks/dividends?symbols=PETR4)
- [Authentication guide](https://brapi.dev/auth.md)

Use `symbols` as a comma-separated query parameter.
Use `Authorization: Bearer YOUR_TOKEN` for protected endpoints.
