Skip to main content

skinapi (Python)

Python client for SkinAPI - real-time CS2 / Dota 2 / Rust / TF2 skin prices, float values, Steam inventories & profiles, and multi-marketplace data through one REST API.

  • Real-time prices aggregated across marketplaces
  • CS2 float values, paint seed and wear
  • Steam inventories, profiles and price history
  • Automatic retries, timeouts and rate-limit tracking
  • Free tier - get a key in ~2 minutes

Install

pip install skinapi

Get a key

  1. Sign in with Steam: https://skinapi.skinvaults.online/api/auth/steam
  2. Create a key in your dashboard

Usage

from skinapi import SkinAPI

api = SkinAPI("sk_live_your_key")

# Aggregated price for one item
price = api.item_price("AK-47 | Redline (Field-Tested)", game="cs2", currency="USD")

# Compare across marketplaces
markets = api.markets("AK-47 | Redline (Field-Tested)", game="cs2")

# Float value, paint seed and wear from a Steam inspect link
fl = api.float("STEAM_INSPECT_LINK")

# Steam profile and bans
profile = api.profile("STEAM_ID_OR_VANITY")

# Priced Steam inventory
inv = api.inventory("STEAM_ID", game="cs2", prices=True)

# Many items at once
batch = api.markets_batch(["AK-47 | Redline (Field-Tested)", "AWP | Asiimov (Field-Tested)"])

# Remaining quota after any call
print(api.rate_limit)  # {'remaining_minute': ..., 'remaining_day': ..., 'reset': ...}

Errors raise SkinAPIError with .status and .code:

from skinapi import SkinAPIError

try:
    api.item_price("Nonexistent Item")
except SkinAPIError as e:
    print(e.status, e.code, e)

Methods

item_price, item_meta, search, catalog, history, markets, markets_batch, deals, float, float_leaderboard, profile, friendlist, inventory, inventory_history, inventory_batch, tradeup, status.

Authentication uses the x-api-key header. Games: cs2, dota2, rust, tf2.

Links

License

MIT

Metadata

Release files for skinapi-sdk 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for skinapi-sdk 0.1.0
File Size Uploaded
skinapi_sdk-0.1.0.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for skinapi-sdk 0.1.0
File Interpreter ABI Platform
skinapi_sdk-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.0 kB

Release files / skinapi_sdk-0.1.0.tar.gz

Download URL skinapi_sdk-0.1.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
face7708984746a3ff532c37234c19e9ebeb836d0380ff6b38374c4fc8265190
BLAKE2b-256 checksum
How to use checksums
32389104eeeeda2e8a6e7d7766ea4203659c9e74835a5155adb1f86da03e5976
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release files / skinapi_sdk-0.1.0-py3-none-any.whl

Download URL skinapi_sdk-0.1.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
168dbe84487def2fd762a75e0722425aaedcb1aed86025515b34ae10f1dffd02
BLAKE2b-256 checksum
How to use checksums
fdf30438177949e7c663b3e5d76ff142ebda3a8af639bfa74fd52d81c4c19358
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page