This is an unofficial Python wrapper for the Tradera API, Sweden’s largest online marketplace. It simplifies interaction with Tradera's services, such as searching and filtering listings in all categories, returning all data in raw json format.
Tradera is Sweden's largest online marketplace, offering a platform for buying and selling new and second-hand items through auctions and fixed-price listings. It hosts millions of listings across categories like fashion, electronics, home goods, and collectibles, serving both private individuals and professional sellers.
- Make searches across all of Tradera
- Filters for region, categories, price range, and more.
TraderaAPI is available on PyPI.
pip install tradera-apiThis will search for term "ESP32" across all categories using AuctionType.all and Sorting.best_hit, which is the default Tradera search behavior.
>>> from tradera_api import TraderaAPI
>>> api = TraderaAPI()
>>> api.search("ESP32")
...Use Sorting, AuctionType, Category and price to filter your search. For all available options, see each Enum respectively.
>>> from TraderaAPI import Sorting, AuctionType, Category
>>> api = TraderaAPI()
>>> api.search(
query="ESP32",
category=Category.hobby,
price=(50, 200), # from 50 SEK to 200 SEK
auction_type=AuctionType.buy_now,
sorting=Sorting.time_left
)- Source repo: https://github.com/dunderrrrrr/tradera_api
- PyPI: https://pypi.org/project/tradera-api/