Random Steam Game API

Overview

This API allows the user to pull random steam games, and random steam games under a specified price.

Base Url

https://api.msmc.cc

Endpoints

1. Pull Random Game

Endpoint

/api/games/random

Example Response

[
        {
            "app_id": 123456,
            "title": "Game Title 1",
            "date_release": "2023-01-01",
            "price_final": 9.99
        }
    ]
    

2. Pull Random Game Within Budget

Endpoint

/api/games/price?maxPrice=

Example URL

/api/games/price?maxPrice=10
This limits the price to $10

Example Response

[
      {
        "app_id": "1065710",
        "title": "ClassiCube",
        "date_release": "2019-05-17",
        "win": "true",
        "mac": "false",
        "linux": "true",
        "rating": "Very Positive",
        "positive_ratio": "88",
        "user_reviews": "87",
        "price_final": "3.99",
        "price_original": "3.99",
        "discount": "0.0",
        "steam_deck": "true"
      }
    

Other Parameters

1. Limit

Info

Parameter: limit=

Usage

This comes after the url either as &limit=3 or ?limit=3

Example Usage

  1. /api/games/price?maxPrice=10&limit=3
  2. /api/games/random?limit=2

Example Response

[
      {
        "app_id": "970850",
        "title": "1001 Jigsaw. Legends of Mystery",
        "date_release": "2018-12-24",
        "win": "true",
        "mac": "true",
        "linux": "false",
        "rating": "Positive",
        "positive_ratio": "82",
        "user_reviews": "17",
        "price_final": "4.99",
        "price_original": "4.99",
        "discount": "0.0",
        "steam_deck": "true"
      },
      {
        "app_id": "294750",
        "title": "Anomaly Defenders",
        "date_release": "2014-05-29",
        "win": "true",
        "mac": "true",
        "linux": "true",
        "rating": "Mostly Positive",
        "positive_ratio": "76",
        "user_reviews": "305",
        "price_final": "9.99",
        "price_original": "9.99",
        "discount": "0.0",
        "steam_deck": "true"
      }
    ]
    

Support

For support, email [email protected]