Skip to content
SteamSets
Esc
↑↓navigate↵open⌘Jpreview

Download every app's card count and name

Every app with trading cards, as a JSON object keyed by app id. Each value is the app’s name and its number of cards in one set.

The format is the one of steam-badges-db, so a bot that reads that project’s badges.min.json only changes the URL.

Freshness and cost

The file is rebuilt every hour, and you can cache it for an hour. It needs no API key and is free. It holds no prices; use app.get for those.

Example

{ "220": { "name": "Half-Life 2", "size": 8 }, "440": { "name": "Team Fortress 2", "size": 9 } }
GET/v1/badges.json
Responses
200

Every app with trading cards, keyed by app id.

object
500

Internal Server Error

detailstring

A human-readable explanation specific to this occurrence of the problem.

errorsErrorDetail[] | null

Optional list of individual error details

Show properties
Array of ErrorDetail
locationstring

Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'

messagestring

Error message text

valueany

The value at the given location

instancestring<uri>

A URI reference that identifies the specific occurrence of the problem.

statusinteger<int64>

HTTP status code

titlestring

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

typestring<uri>

A URI reference to human-readable documentation for the error.

default: "about:blank"
503

Service Unavailable

detailstring

A human-readable explanation specific to this occurrence of the problem.

errorsErrorDetail[] | null

Optional list of individual error details

Show properties
Array of ErrorDetail
locationstring

Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'

messagestring

Error message text

valueany

The value at the given location

instancestring<uri>

A URI reference that identifies the specific occurrence of the problem.

statusinteger<int64>

HTTP status code

titlestring

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

typestring<uri>

A URI reference to human-readable documentation for the error.

default: "about:blank"
Try it
Server
Request
curl -X GET 'https://api.steamsets.com/v1/badges.json' \
  -H 'Accept: application/json'
Response
{
  "property1": {
    "name": "string",
    "size": 0
  },
  "property2": {
    "name": "string",
    "size": 0
  }
}