Unofficial Tabdeal API
🛑 Project No Longer Maintained
As of 28/07/2025, development on this project has been discontinued. Despite multiple attempts to contact the Tabdeal platform for collaboration and feedback, I have not received any response. Therefore, no further updates or maintenance will be provided.
Package |
|
|---|---|
Quality Assurance |
|
Stats |
|
Tests |
|
Security |
|
Linters |
|
Activity |
|
Misc |
|
Documentation |
|
License |
🧭 Project overview
Unofficial Tabdeal API is a modern, fully asynchronous Python wrapper for the Tabdeal cryptocurrency trading platform. Built from the ground up to replace the outdated and limited official package, this library leverages Tabdeal’s new backend API to offer safer and developer-friendly access to all available features.
This package supports both public and private endpoints ( such as placing orders, fetching balances, and managing trades ) and is designed with clarity, security, and performance in mind, therefore, ideal for developers and algo traders who need reliable, complete, and secure access to Tabdeal’s trading features.
✅ Key features
🚀 Async-first: Designed to work efficiently in modern Python async environments.
🛡️ Safer interface: Raises clear, informative exceptions instead of vague errors.
🔧 Complete coverage: Aims to support all endpoints exposed by the new Tabdeal API.
🧪 Fully typed: Clean type hints across the codebase for better IDE support and readability.
✔️ Unit tested: Each function is tested to ensure reliability and correct behavior.
🧹 Linted and secure: Codebase follows modern Python best practices with multiple linters and security checks.
🛠️ Technical overview
This package uses the website backend to communicate with the Tabdeal platform (https://api-web.tabdeal.org) rather than the original API at (https://api1.tabdeal.org/api/v1).
This enables more stable and reliable access to Tabdeal’s features, as the new backend is designed to be more robust and feature-rich.
There are also exclusive features that aren’t available in the original API, such as setting stop loss/take profit points and 60x margin leverage.
🧰 Tech stack
🏁 Getting started
📋 Prerequisites
You need Authorization key and user-hash to use this package.
To obtain these credentials, follow these steps:
On a computer, open your internet browser and log-in to Tabdeal website
Navigate to settings page
Press F12 to open Developer tools
Navigate to Network panel
Refresh the website page and the network section should populate with many entries
Find the entry with wallet/ name
Select it and in Headers section, under Request Headers, you should find them
📦 Installation
You can install unofficial tabdeal api via pip from PyPI, requirements will be met automatically:
pip install unofficial-tabdeal-api
⚙️ Usage
Import TabdealClient from the package.
Initialize the TabdealClient with your Authorization key and user-hash information
Run your desired commands
# Import TabdealClient
from unofficial_tabdeal_api import TabdealClient
async def main():
# Initialize a TabdealClient object
my_client: TabdealClient = TabdealClient(USER_HASH, USER_AUTHORIZATION_KEY)
# Run your desired commands, remember to `await` the methods as all of them (except a few) are asynchronous
bomeusdt_asset_id = await my_client.get_margin_asset_id("BOMEUSDT")
Learn more in the Documentation.
🐛 Issues
If you encounter any problems, please file an issue along with a detailed description.
⚖️ License
Distributed under the terms of the MIT license, unofficial tabdeal api is free and open source software.
🤝 Contributing
Any contributions to this project are highly valued and appreciated. For detailed guidelines on how to contribute, please refer to the Contributor Guide.
🌟 Credits
This project was created with the help of @cjolowicz’s Hypermodern Python Cookiecutter template and @fpgmaas’s Cookiecutter Poetry template.
Metadata
Release files for unofficial-tabdeal-api 0.3.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| unofficial_tabdeal_api-0.3.9.tar.gz | 31.8 kB | With provenance | Details for unofficial_tabdeal_api-0.3.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| unofficial_tabdeal_api-0.3.9-py3-none-any.whl | Python 3 | none | any | Details for unofficial_tabdeal_api-0.3.9-py3-none-any.whl |
Total release size: 62.5 kB
Release files / unofficial_tabdeal_api-0.3.9.tar.gz
| Download URL | unofficial_tabdeal_api-0.3.9.tar.gz |
|---|---|
| Size | 31.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
12995e1ee1a4571154f7e57234de9a981cd63e506338d3ff67f66fb7e8fcd2fd
|
|
BLAKE2b-256 checksum How to use checksums |
6752628095a57b72fe3ecc9450e6d4ef9932c0a0b82d4c18e974a4a7c74bb017
|
| 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 Jul 28, 2025.
Transparency logRelease files / unofficial_tabdeal_api-0.3.9-py3-none-any.whl
| Download URL | unofficial_tabdeal_api-0.3.9-py3-none-any.whl |
|---|---|
| Size | 30.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff6558ea4114c83c1bbb73bf345f28fc8ed78dba70438f58bc5d0d49479998ed
|
|
BLAKE2b-256 checksum How to use checksums |
b545c34253c2a2ef1bff836267fc56d220649581a21177b663462ea6c434f5d3
|
| 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 Jul 28, 2025.
Transparency logSecurity for unofficial-tabdeal-api 0.3.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for unofficial_tabdeal_api-0.3.9.tar.gz
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 Jul 28, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.