A fast and simple API to retrieve token information, metadata, global prices, and market data for cryptocurrencies! 📊
✅ Get detailed token information
✅ Real-time global prices
✅ Complete token metadata
✅ Fast, lightweight, and scalable
Ensure you have Python and pip installed, then run:
pip install -r requirements.txtTo start the API, simply run:
uvicorn network_api:app --reloadBy default, the API will be available at http://127.0.0.1:8000.
GET /v1/prodict/{symbol}Example:
GET /v1/prodict/BTC{
"symbol": "BTC",
"name": "Bitcoin",
"price_usd": 45000.23,
"market_cap": 850000000000,
"volume_24h": 32000000000
}GET /api/global{
"total_market_cap": 2200000000000,
"total_volume_24h": 150000000000,
"btc_dominance": 47.5
}You can modify the port and other settings in the .env file:
PORT=5000
DEBUG=True
API_KEY=your_api_keyIf you have ideas to improve this project, feel free to submit a Pull Request or open an Issue.
📧 Contact Us: [email protected]
This project is licensed under the MIT License.
Feel free to use it, but please give credit! 🚀