Home/SKU Service

SKU Service

Resolve TF2 item names to SKUs and download the full TF2 item schema.

General Information

Base URL:https://sku.pricedb.io

Resolves TF2 item names to SKUs and vice versa. Provides the canonical TF2 item schema as a downloadable resource.

Base URL:https://sku.pricedb.io

Rate Limiting:Standard rate limiting applies — 360 requests per minute per IP.

CORS:Cross-origin requests are fully supported.

Authentication:No authentication required.

Resolution

GET/api/sku/{sku}Resolve SKU to item name

Looks up a TF2 SKU string and returns the corresponding human-readable item name and parsed attributes.

Parameters

NameInTypeDescription
skupathstringTF2 item SKU string (e.g. `5021;6`)

Response

Resolved item details

{
  "success": true,
  "data": {
    "sku": "5021;6",
    "name": "Mann Co. Supply Crate Key",
    "defindex": 5021,
    "quality": 6,
    "craftable": true,
    "tradable": true,
    "killstreak": 0,
    "australium": false,
    "effect": null,
    "festive": false,
    "paintkit": null,
    "wear": null,
    "quality2": null,
    "craftnumber": null,
    "crateseries": null,
    "target": null,
    "output": null,
    "outputQuality": null,
    "paint": null
  }
}
GET/api/name/{name}Resolve item name to SKU

Looks up a TF2 item name and returns the corresponding SKU string and parsed item attributes.

The name must be URL-encoded when it contains special characters (e.g. `L%27Inspecteur` for `L'Inspecteur`).

Parameters

NameInTypeDescription
namepathstringTF2 item name, URL-encoded (e.g. `Mann%20Co.%20Supply%20Crate%20Key`)

Response

Resolved item details

{
  "success": true,
  "data": {
    "sku": "622;6",
    "name": "L'Inspecteur",
    "defindex": 622,
    "quality": 6,
    "craftable": true,
    "tradable": true,
    "killstreak": 0,
    "australium": false,
    "effect": null,
    "festive": false,
    "paintkit": null,
    "wear": null,
    "quality2": null,
    "craftnumber": null,
    "crateseries": null,
    "target": null,
    "output": null,
    "outputQuality": null,
    "paint": null
  }
}

Schema

GET/api/schemaGet TF2 item schema

Returns the full TF2 item schema as a JSON object. Cached and refreshed periodically. The schema contains all item definitions, qualities, effects, killstreaks, and attributes recognised by TF2Autobot.

Response

Full TF2 item schema object

GET/api/downloadDownload TF2 item schema

Returns the TF2 item schema as a downloadable JSON file. Sets `Content-Disposition` to trigger a browser download.

Response

Downloadable JSON schema file