Skip to main content
https://github.com/hawkberry/finra-py/actions/workflows/run-tests.yml/badge.svg https://codecov.io/gh/hawkberry/finra-py/branch/main/graph/badge.svg https://app.readthedocs.org/projects/finra-py/badge/?version=latest https://badge.fury.io/py/finra-py.svg https://img.shields.io/pypi/pyversions/finra-py.svg https://img.shields.io/pypi/l/finra-py.svg https://img.shields.io/badge/Support-blue

What is finra-py?

finra-py is an unofficial, open-source Python client library for the FINRA API Platform. It is designed to be a lightweight, unopinionated interface that supports 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 event 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)

Quick Start

finra-py requires Python 3.11 or later.

To install the latest stable PyPI package using pip:

python -m pip install finra-py

To install the unstable version from GitHub:

git clone https://github.com/hawkberry/finra-py
cd python finra-py
python -m pip install .

To import the package in Python:

import finra

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.

Why use finra-py?

finra-py focuses on a few key areas:

  1. OAuth 2.0 Authentication: The FINRA API uses OAuth 2.0 for authentication and authorization. Implementing the OAuth 2.0 authentication flow yourself can introduce unnecessary complexity and security risks. finra-py handles token acquisition and lifecycle management for you.

  2. Direct API Access: finra-py keeps the client layer deliberately thin. It accepts the values expected by the API and returns the responses directly to you, without adding layers of application-specific logic. finra-py enables you to access the FINRA API with ease, without having to build and maintain the HTTP requests yourself.

  3. All API Endpoints: The finra-py library is designed to provide thorough coverage of the FINRA API Platform. With this goal in mind, finra-py implements full functionality for every dataset and regulatory filing supported by the FINRA API and described in the documentation.

Limitations

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-py does not currently support FINRA’s fileX API

Help and Development

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.

FINRA API Consulting

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

finra_py-1.1.0.tar.gz (106.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

finra_py-1.1.0-py3-none-any.whl (86.0 kB view details)

Uploaded Python 3

File details

Details for the file finra_py-1.1.0.tar.gz.

File metadata

  • Download URL: finra_py-1.1.0.tar.gz
  • Upload date:
  • Size: 106.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for finra_py-1.1.0.tar.gz
Algorithm Hash digest
SHA256 4ec6727d564934da9cac25d93b0fa618e3d0dc0d35fd595a251cff4a10c3d092
MD5 967bcb109d7e53069f09bfc200f1043d
BLAKE2b-256 5c1945e464b3e86f896a98327026b3ff24b7843e2024cb9c658e277dbeef68fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for finra_py-1.1.0.tar.gz:

Publisher: release.yml on hawkberry/finra-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file finra_py-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: finra_py-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 86.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for finra_py-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 be428da95254d2432f814c7b48cd479c7e3a8cf11bb38f0b830fa4b77f98c5fa
MD5 f0566a711d0eae13de6e1fd959a2c944
BLAKE2b-256 106b28b51d049cca1e914538c32460b3731c1134ff05b07975d31e6b87ee8ee8

See more details on using hashes here.

Provenance

The following attestation bundles were made for finra_py-1.1.0-py3-none-any.whl:

Publisher: release.yml on hawkberry/finra-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

1.2.0

2 files

This release

1.1.0 This release

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page