coinalyze
This is an unofficial Python client for coinalyze.net REST API.
Features
- Implementation of all endpoints.
- Uses httpx for making HTTP requests
- Uses pyrate-limiter for maintaining 40 API calls per minute.
- Uses httpx-retries for handling retries.
- Provides convenience functions to get results as pandas DataFrames
Installation
pip install coinalyze
Usage
- Add your API key from coinalyze.net to your environment variables as
COINALYZE_API_KEY. - Then use the client as shown in the example below.
See more examples in the coinalyze_client notebook.
import os
from coinalyze import CoinalyzeClient, HistoryEndpoint, Interval, response_to_df
client = CoinalyzeClient(api_key=os.getenv("COINALYZE_API_KEY"))
# Get exchange information as a list of dictionaries
client.get_exchanges()
# Get the supported future markets as a DataFrame
future_markets_df = response_to_df(client.get_future_markets())
# Get the current predicted funding rate
response = client.get_current_predicted_funding_rate("BTCUSDT_PERP.A")
# Get the open interest history as a DataFrame for a symbol
oi_df = client.get_history_df(
endpoint=HistoryEndpoint.OI,
symbols="BTCUSDT_PERP.A",
interval=Interval.H4,
start="2025-06-01",
end="2025-06-20",
)
Release files for coinalyze 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| coinalyze-0.1.1.tar.gz | 10.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| coinalyze-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.8 kB
Release files / coinalyze-0.1.1.tar.gz
| Download URL | coinalyze-0.1.1.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95beecd064aed101456652a85cfe4458a278b9d203f37b35275ff93237e9d052
|
|
BLAKE2b-256 checksum How to use checksums |
972cf4f40ce8650c84afc9db4f01b797636a203eed57bba23cd552232ba75962
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 23, 2025.
Transparency logRelease files / coinalyze-0.1.1-py3-none-any.whl
| Download URL | coinalyze-0.1.1-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aa90beb5ad34b68acc233c16c7e394e136f94cb0d5b37d757bb1c8d0864c120c
|
|
BLAKE2b-256 checksum How to use checksums |
25c1b79a005ed3550ea378eaacb0faca7e8e11faae9caabbb80545e50b1851ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 23, 2025.
Transparency log