Get Cheap Games Steam API

The steam API from Get Cheap Games — 8 operation(s) for steam.

GitHub OpenAPI

Operations 9

GET /api/admin/steam State #
DELETE /api/admin/steam Sign Out #
POST /api/admin/steam/sign-in Sign In #
POST /api/admin/steam/sign-in/code Sign In Code #
POST /api/admin/steam/sign-in/wait Sign In Wait #
POST /api/admin/steam/qr Sign In Qr #
POST /api/admin/steam/qr/wait Sign In Qr Wait #
GET /api/steam/public/owned Get Owned #
GET /api/steam/public/friends Get Friends #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/getcheapgames-com:getcheapgames-com-steam-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

getcheapgames-com-steam-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: getcheapgames Steam API
  description: Game key price comparison. All money is integer cents; rankings are on the price each store lists, without the service fee a marketplace adds at checkout.
  version: 0.1.0
tags:
- name: steam
paths:
  /api/admin/steam:
    get:
      tags:
      - steam
      summary: State
      description: The signed-in account, or none.
      operationId: state_api_admin_steam_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/gcg__routers__steam_account__StateOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - steam
      summary: Sign Out
      description: Forget the account, and have Steam revoke its sign-in.
      operationId: sign_out_api_admin_steam_delete
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SignOutOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/steam/sign-in:
    post:
      tags:
      - steam
      summary: Sign In
      description: 'Start a sign-in: `{"username": ..., "password": ...}`. Read by hand; see the module.'
      operationId: sign_in_api_admin_steam_sign_in_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/gcg__routers__steam_account__SignInOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/steam/sign-in/code:
    post:
      tags:
      - steam
      summary: Sign In Code
      description: The Steam Guard code the sign-in waits on.
      operationId: sign_in_code_api_admin_steam_sign_in_code_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CodeIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/gcg__routers__steam_account__SignInOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/steam/sign-in/wait:
    post:
      tags:
      - steam
      summary: Sign In Wait
      description: Wait a while for an OK in the Steam app. Call again while it answers `guard`.
      operationId: sign_in_wait_api_admin_steam_sign_in_wait_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WaitIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/gcg__routers__steam_account__SignInOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/steam/qr:
    post:
      tags:
      - steam
      summary: Sign In Qr
      description: Start a sign-in by QR code, to scan with the Steam app.
      operationId: sign_in_qr_api_admin_steam_qr_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/gcg__routers__steam_account__SignInOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/steam/qr/wait:
    post:
      tags:
      - steam
      summary: Sign In Qr Wait
      description: Wait a while for the Steam app to scan and approve. Call again while it answers `qr`.
      operationId: sign_in_qr_wait_api_admin_steam_qr_wait_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WaitIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/gcg__routers__steam_account__SignInOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/steam/public/owned:
    get:
      tags:
      - steam
      summary: Get Owned
      description: 'The account''s public library: its persona name and every game it owns.'
      operationId: get_owned_api_steam_public_owned_get
      parameters:
      - name: steamid
        in: query
        required: false
        schema:
          type: string
          maxLength: 32
          default: ''
          title: Steamid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OwnedOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/steam/public/friends:
    get:
      tags:
      - steam
      summary: Get Friends
      description: The account's public friends list, each friend's state and game, playing first.
      operationId: get_friends_api_steam_public_friends_get
      parameters:
      - name: steamid
        in: query
        required: false
        schema:
          type: string
          maxLength: 32
          default: ''
          title: Steamid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/gcg__routers__steam_public__FriendsOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    gcg__routers__steam_account__StateOut:
      properties:
        account:
          anyOf:
          - $ref: '#/components/schemas/gcg__routers__steam_account__AccountOut'
          - type: 'null'
      type: object
      required:
      - account
      title: StateOut
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    WaitIn:
      properties:
        attempt:
          type: string
          title: Attempt
      type: object
      required:
      - attempt
      title: WaitIn
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    GuardOut:
      properties:
        code:
          anyOf:
          - type: string
            enum:
            - app
            - email
          - type: 'null'
          title: Code
        email_domain:
          anyOf:
          - type: string
          - type: 'null'
          title: Email Domain
        confirm_in_app:
          type: boolean
          title: Confirm In App
        confirm_by_email:
          type: boolean
          title: Confirm By Email
      type: object
      required:
      - code
      - email_domain
      - confirm_in_app
      - confirm_by_email
      title: GuardOut
    gcg__routers__steam_account__AccountOut:
      properties:
        account_name:
          type: string
          title: Account Name
        steam_id:
          type: string
          title: Steam Id
        signed_in_at:
          type: string
          format: date-time
          title: Signed In At
        expires_at:
          type: string
          format: date-time
          title: Expires At
        logged_on_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Logged On At
        error:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
      type: object
      required:
      - account_name
      - steam_id
      - signed_in_at
      - expires_at
      - logged_on_at
      - error
      title: AccountOut
    gcg__routers__steam_public__FriendsOut:
      properties:
        state:
          type: string
          enum:
          - ok
          - private
          title: State
        friends:
          items:
            $ref: '#/components/schemas/gcg__routers__steam_public__FriendOut'
          type: array
          title: Friends
          default: []
      type: object
      required:
      - state
      title: FriendsOut
    SignOutOut:
      properties:
        account:
          type: 'null'
          title: Account
        revoked:
          type: boolean
          title: Revoked
      type: object
      required:
      - revoked
      title: SignOutOut
    QrOut:
      properties:
        challenge_url:
          type: string
          title: Challenge Url
        image:
          type: string
          title: Image
      type: object
      required:
      - challenge_url
      - image
      title: QrOut
    CodeIn:
      properties:
        attempt:
          type: string
          title: Attempt
        code:
          type: string
          title: Code
      type: object
      required:
      - attempt
      - code
      title: CodeIn
    gcg__routers__steam_public__FriendOut:
      properties:
        steamid:
          type: string
          title: Steamid
        name:
          type: string
          title: Name
        avatar:
          anyOf:
          - type: string
          - type: 'null'
          title: Avatar
        state:
          type: string
          enum:
          - online
          - busy
          - away
          - snooze
          - offline
          title: State
        game:
          anyOf:
          - type: string
          - type: 'null'
          title: Game
        gameId:
          anyOf:
          - type: string
          - type: 'null'
          title: Gameid
        lastOnline:
          anyOf:
          - type: integer
          - type: 'null'
          title: Lastonline
      type: object
      required:
      - steamid
      - name
      - state
      title: FriendOut
    gcg__routers__steam_account__SignInOut:
      properties:
        state:
          type: string
          enum:
          - signed_in
          - guard
          - qr
          title: State
        account:
          anyOf:
          - $ref: '#/components/schemas/gcg__routers__steam_account__AccountOut'
          - type: 'null'
        attempt:
          anyOf:
          - type: string
          - type: 'null'
          title: Attempt
        guard:
          anyOf:
          - $ref: '#/components/schemas/GuardOut'
          - type: 'null'
        qr:
          anyOf:
          - $ref: '#/components/schemas/QrOut'
          - type: 'null'
      type: object
      required:
      - state
      title: SignInOut
    OwnedGameOut:
      properties:
        appid:
          type: integer
          title: Appid
        name:
          type: string
          title: Name
      type: object
      required:
      - appid
      - name
      title: OwnedGameOut
    OwnedOut:
      properties:
        state:
          type: string
          enum:
          - ok
          - private
          title: State
        persona:
          anyOf:
          - type: string
          - type: 'null'
          title: Persona
        games:
          items:
            $ref: '#/components/schemas/OwnedGameOut'
          type: array
          title: Games
          default: []
      type: object
      required:
      - state
      title: OwnedOut