finra-py is an unofficial, open-source Python client library for the FINRA API Platform. It is designed to be as thin and unopinionated as possible, offering an elegant programmatic interface to every endpoint and dataset.
Notable functionality includes:
- Authentication and client creation
- Equity, Fixed Income, FINRA, Firm, Registration and TRACE Report Card datasets via the Query API
- Notification datasets via the Notification API
- Submission of regulatory filings and other data to FINRA via the Submission API
- Support for the Mock API
- Support for the QA Test Environment API
- Support for all credential types
- Support for asynchronous requests (server-side)
- Support for
asyncio(client-side)
Python requirement: 3.11 or later
You can find a full description of the finra-py library's functionality in the documentation.
For detailed instructions on how to get started with finra-py, see Getting Started.
finra-py is designed to provide a few important pieces of functionality:
- Safe Authentication: The FINRA API Platform authentication and authorization scheme is based on OAuth 2.0. However, too many people online end up rolling their own implementation of the OAuth 2.0 authentication flow, which is both unnecessarily complex and dangerous.
finra-pyhandles the token fetch and management for you. - Minimal API Wrapping: Unlike some other API wrappers, which build in lots of opinionated logic and validation,
finra-pytakes raw values and returns raw responses, allowing you to interpret the complex API responses as you see fit. Anything you can do with raw HTTP requests you can do withfinra-py, only more easily. - All API Endpoints: The
finra-pylibrary is designed to provide thorough coverage of the FINRA API Platform. With this goal in mind,finra-pyimplements full functionality for every dataset and regulatory filing supported by the FINRA API and described in the documentation.
finra-py strives to provide comprehensive coverage of all documented datasets for the FINRA API. However, there are some datasets and services available through FINRA that may not be available through the FINRA API. See FINRA Data for information about all available FINRA datasets.
finra-pydoes not currently support FINRA's fileX API
For troubleshooting guidance and answers to common questions, see the Getting Help page.
Submit bug reports on the finra-py Issues Page on GitHub.
If you need a dataset or feature that is not currently supported by the client, please file a Feature Request. Pull requests are not currently accepted.
Need help implementing the FINRA API?
As the author and maintainer of finra-py, I provide consulting on FINRA API integrations, Web EFT migrations, compliance-related workflows, and market data systems.
See the consulting page for more information.
Disclaimer: finra-py is an unofficial, open-source client library for the FINRA API Platform. It is not endorsed by, affiliated with, or sponsored by FINRA or any associated organization. finra-py does not provide financial advice, investment recommendations, trading strategies, or financial analysis. Users are responsible for reviewing and complying with the terms of service and usage requirements of the underlying FINRA API. This software is provided under the terms of the LICENSE without warranty of any kind.