https://github.com/javadtorabikh/coinprice
The Crypto Token Info API is a fast and straightforward application programming interface designed to provide users with essential information about cryptocurrencies and tokens.
https://github.com/javadtorabikh/coinprice
coinmarketcap cryptocurrency prices token
Last synced: 15 days ago
JSON representation
The Crypto Token Info API is a fast and straightforward application programming interface designed to provide users with essential information about cryptocurrencies and tokens.
- Host: GitHub
- URL: https://github.com/javadtorabikh/coinprice
- Owner: JavadTorabiKh
- License: mit
- Created: 2025-02-03T07:27:20.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-09-03T13:00:33.000Z (about 1 month ago)
- Last Synced: 2025-09-03T15:06:19.521Z (about 1 month ago)
- Topics: coinmarketcap, cryptocurrency, prices, token
- Language: Python
- Homepage: https://coinmarketcap.com/
- Size: 28.3 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🌍 Crypto Token Info API 🚀
A fast and simple API to retrieve token information, metadata, global prices, and market data for cryptocurrencies! 📊
## ✨ Features
✅ Get detailed token information
✅ Real-time global prices
✅ Complete token metadata
✅ Fast, lightweight, and scalable---
## 🚀 How to Use
### 1️⃣ Install Dependencies
Ensure you have Python and `pip` installed, then run:```bash
pip install -r requirements.txt
```### 2️⃣ Run the API
To start the API, simply run:```bash
uvicorn network_api:app --reload
```
By default, the API will be available at http://127.0.0.1:8000.---
## 🔗 Example Requests
### 📌 Get Token Information
```bash
GET /v1/prodict/{symbol}
```Example:
```bash
GET /v1/prodict/BTC
```
### 📤 Response:```json
{
"symbol": "BTC",
"name": "Bitcoin",
"price_usd": 45000.23,
"market_cap": 850000000000,
"volume_24h": 32000000000
}
```---
## 🌎 Get Global Market Data
```bash
GET /api/global
```
### 📤 Response:```json
{
"total_market_cap": 2200000000000,
"total_volume_24h": 150000000000,
"btc_dominance": 47.5
}
```---
## 🛠️ Configuration
You can modify the port and other settings in the .env file:
```env
PORT=5000
DEBUG=True
API_KEY=your_api_key
```---
## 📌 Contribute ❤️
If you have ideas to improve this project, feel free to submit a Pull Request or open an Issue.
📧 Contact Us: j.2528840@gmail.com
---
## 📜 License
This project is licensed under the MIT License.
Feel free to use it, but please give credit! 🚀