Skip to main content
https://github.com/hawkberry/finra-py/actions/workflows/run-tests.yml/badge.svg https://codecov.io/github/hawkberry/finra-py/coverage.svg?branch=main https://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 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

How do I use finra-py?

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 should I use finra-py?

finra-py is designed to provide a few important pieces of functionality:

  1. 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-py handles the token fetch and management for you.

  2. Minimal API Wrapping: Unlike some other API wrappers, which build in lots of opinionated logic and validation, finra-py takes 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 with finra-py, only more easily.

  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.0.1.tar.gz (108.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.0.1-py3-none-any.whl (88.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: finra_py-1.0.1.tar.gz
  • Upload date:
  • Size: 108.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.0.1.tar.gz
Algorithm Hash digest
SHA256 0bfc2db60ffc8a8d54167c536cf096fd787355bb46a6a42f4d4a1d236cfa5737
MD5 e356a22166280bf11491886016e23981
BLAKE2b-256 c9a600aad752d3c7cd7d184fc617a54add8343b8e66cb0c8a83b19d0add2e0a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for finra_py-1.0.1.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.0.1-py3-none-any.whl.

File metadata

  • Download URL: finra_py-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 88.2 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.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a33ba0d6dea548c9a051e750638033966d3df3db83178a1c2601b0f52446633a
MD5 dcecc633ab8954061a30e83592c017b8
BLAKE2b-256 23b194b5ca8da256b47ee16b6adb5f32ebd47a1eb363dd7b8ea0325b0c445550

See more details on using hashes here.

Provenance

The following attestation bundles were made for finra_py-1.0.1-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.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page