Metadata-Version: 2.4
Name: telegram-gifts-price
Version: 0.1.0
Summary: Floor price of every Telegram NFT gift (Plush Pepe, Durov's Cap...) in GRAM, USD and EUR from a free JSON API. No key, no dependencies.
Author: Atlan
License: MIT License
        
        Copyright (c) 2026 Atlan
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://balticassets.eu/en/crypto/telegram-gifts/
Project-URL: Repository, https://github.com/Atlannn/telegram-gifts-price-api
Project-URL: Data, https://github.com/Atlannn/telegram-gifts-floor-price
Project-URL: API, https://atlannn.github.io/telegram-gifts-floor-price/
Keywords: telegram,telegram-gifts,telegram-nft,nft,ton,fragment,floor-price,price-tracker,api,crypto
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# telegram-gifts-price: Telegram gift floor prices in Python

Get the floor price of any Telegram NFT gift (Plush Pepe, Durov's Cap, Lol Pop and 120 more collections)
in **GRAM, USD or EUR** with one function call. No API key, no dependencies.

Data comes from a free static [JSON API](https://atlannn.github.io/telegram-gifts-floor-price/) built from
[fragment.com](https://fragment.com/gifts) once a day by the open dataset
[telegram-gifts-floor-price](https://github.com/Atlannn/telegram-gifts-floor-price).

## Install

```bash
pip install telegram-gifts-price
```

## Use

```python
import telegram_gifts_price as tgp

tgp.get_floor("plushpepe")                  # 7500.0   (GRAM)
tgp.get_floor("plushpepe", "usd")           # 8817.0   (at the latest day's rate)
tgp.get_floor("lolpop", fixed_only=True)    # ignore auctions
tgp.collections()                           # ['algorithmcup', 'artisanbrick', ...]
tgp.history("plushpepe")                    # daily points, oldest first
tgp.latest()                                # the whole latest snapshot
```

Values from 4 Nov 2026. `get_floor` returns `None` when there is nothing to report (no fixed-price lot,
no stored rate) and raises `GiftsError` for an unknown collection or when the API is unreachable.

Command line:

```bash
gift-floor plushpepe            # 7500.0 GRAM
gift-floor plushpepe -c usd     # 8817.0 USD
gift-floor                      # list collections
```

## What the numbers are

- A floor is the cheapest lot on Fragment, an **asking price, not a sale price**. Fees are not included.
- `floor_gram` can be an auction price; use `fixed_only=True` for the cheapest fixed-price lot.
- GRAM is the coin formerly called TON. USD and EUR use that day's rate from tonapi.io.
- History starts on 4 Nov 2026 and grows by one point a day.

Field definitions and raw CSV: [telegram-gifts-floor-price](https://github.com/Atlannn/telegram-gifts-floor-price).
Live tool with rarity and a net-profit calculator: [Telegram Gifts checker on Baltic Assets](https://balticassets.eu/en/crypto/telegram-gifts/).

## FAQ

**Is it free?** Yes. It reads static files from GitHub Pages.

**How fresh is it?** Updated once a day around 06:17 UTC.

**Can I use the data in my bot or site?** Yes. Data licence CC BY 4.0: credit
"Telegram gifts floor prices, Baltic Assets" with a link to https://balticassets.eu. Code is MIT.

## License

MIT (code). Data: CC BY 4.0.
