Gameplainer

 

Developers

API reference

Pull your searches, their results, Twitch streams and Steam reviews into your own dashboards, analytics tools or support systems. Every endpoint is a GET request with your API key in a header, and returns JSON.

Sign in to run every example on this page with your own API key.Sign in

Getting started

  1. Subscribe to a plan that includes API access (Premium).
  2. Open Settings > API and click Generate API Key.
  3. Copy the key and send it in the Authorization header of every request.

The Steam reviews endpoint (Query/Reviews) needs a plan that includes it, on top of API access. You can see and change your plan in Settings > Account.

Authentication

Pass your API key in the Authorization header:

Authorization: YOUR_API_KEY

Keep your key private: anyone with it can read your data and use your call limits. You can regenerate it in Settings > API.

Date formats

Any start_date or end_date parameter accepts either Unix epoch seconds (eg 1733666480) or a date or datetime string (eg 2024-12-08 or 2024-12-08T14:01:17Z).

A string with a timezone offset (a trailing Z or +02:00) is honoured as written. A string without one is read as UTC. Epoch values must be after 2024-01-01.

A date on its own means midnight UTC at the start of that day, so end_date=2024-12-08 stops before anything from December 8th. Use the next day, or a full date-time, to include it.

The Try it panels below have a format switch and a calendar next to every date, to fill these in for you.

A date that is present but can't be read is an error, never a silently dropped filter.

X (Twitter)

Pass X asxwherever a source type goes. The oldertwitterstill works everywhere and always will.

Results from X are reported withtwitteras their type and source, so code that matches on it keeps working.

Errors and limits

Errors come back as{"success": false, "error": "..."}with a 200 status, except authentication (401), access (403: your plan has no API access, or for Query/Reviews no reviews access) and rate limiting (429).

Messages name the specific problem. A request that is accepted but matches nothing returns success: true with an empty data array, never an error.

Every request to every endpoint counts towards your account's daily and monthly API call limits, including calls made from this page.

Endpoint

Query/List

GET https://gameplainer.com/api/query/list

Returns every search on your account (and your team's), with the hash keys the other endpoints take: id for forum_id, and app_id for game-based endpoints.

Parameters

NameRequiredValuesDescription
typeoptional

reddit, x (or twitter), bluesky, google_alert, youtube, steam, twitch

Only searches of that source. google_alerts is accepted for google_alert.

Try it
Copied!
curl "https://gameplainer.com/api/query/list" \
     -H "Authorization: YOUR_API_KEY"
Sign in to send this with your own key.

Response fields

FieldDescription
id

The search's hash key. Pass it as forum_id to Query/Search, Query/Streams or Query/Reviews.

type

The source this search reads.

description

Human-readable summary of the search, including the game name where relevant.

frequency

How often Gameplainer checks this source for you: minute, hour or day, set by your account level.

results_total

Total results stored for this search. For twitch this counts broadcast sessions; see vods_total for recordings.

last_searched

Unix timestamp of the last time this source was checked.

search

The raw search term, when the search has one. Sources that track a game rather than a term, such as twitch and steam, usually have none.

app_id

The game this search tracks, as a game hash key. Pass it as app_id to Query/Streams or Query/Reviews. Only present when the search tracks a game.

game

The game's name. Only present when the search tracks a game.

vods_total

twitch only. Number of stored VODs (recordings) for the game.

followers_filter

Minimum-audience filter (reddit karma, youtube subscribers), when one is set.

search_mentions

X (twitter) only. true when search is a username and the search returns mentions of it.

exact_search_required

X (twitter) only. true when posts must contain the exact string.

reddit_search_type

reddit only. What is searched, eg posts or comments.

subreddits

reddit only. The subreddits searched, when limited.

mute_subreddits

reddit only. Subreddits left out.

Example response

{
  "success": true,
  "data": [
    {
      "id": "vPt3Or",
      "type": "reddit",
      "description": "SubReddit: 'indiegames' searching for `twister`",
      "frequency": "hour",
      "results_total": 19,
      "last_searched": 1733692122,
      "search": "twister",
      "reddit_search_type": "comments",
      "mute_subreddits": "noisysubbredditexample, freeindiegames",
      "subreddits": null
    },
    {
      "id": "X1t1XA",
      "type": "twitch",
      "description": "Twitch streams for Twister",
      "frequency": "minute",
      "results_total": 8121,
      "last_searched": 1768409143,
      "app_id": "Qd3R8x",
      "game": "Twister",
      "vods_total": 6704
    }
  ]
}
Endpoint

Query/Streams

GET https://gameplainer.com/api/query/streams

Returns Twitch stream sessions for one of your games, newest first, each with a vods array of its recordings. Pick the game by app_id or forum_id. You can only request games you track. Paging works like Query/Search.

Parameters

NameRequiredValuesDescription
app_idor forum_id

a game hash key, eg Qd3R8x

A game hash key, from the app_id field of Query/List. Not a Steam AppID.

forum_idor app_id

a search hash key, eg vPt3Or

The id of one of your searches (from Query/List), resolved to the game it tracks.

liveoptional

true, false

Only currently-live streams (no end time).

start_dateoptional

Unix epoch seconds (eg 1733666480) or a date/datetime string (eg 2024-12-08 or 2024-12-08T14:01:17Z). See Date formats.

Only streams that started at or after this time.

end_dateoptional

Unix epoch seconds (eg 1733666480) or a date/datetime string (eg 2024-12-08 or 2024-12-08T14:01:17Z). See Date formats.

Only streams that started at or before this time.

start_afteroptional

a stream hash key

Streams OLDER than this one: pass meta.cursor_bottom.

start_beforeoptional

a stream hash key

Streams NEWER than this one: pass meta.cursor_top.

num_per_pageoptional

an integer, 1 to 50

Items per page. Defaults to 50.

Try it
Copied!
curl "https://gameplainer.com/api/query/streams" \
     -H "Authorization: YOUR_API_KEY"
Sign in to send this with your own key.

Response fields

FieldDescription
id

The stream's hash key, usable as a cursor

live

true while the broadcast is on air

start_time / end_time

Broadcast start and end (ISO8601, UTC); end_time is null while live

duration_minutes

Length so far

peak_viewers / current_viewers

Highest and latest concurrent viewer counts

viewer_minutes

Sum of viewers over the broadcast, in minutes

title

Stream title

language

Broadcast language

is_mature

true when the channel marks the stream as mature

thumbnail_url

Stream thumbnail

helix_stream_id

Twitch's id for the broadcast

streamer

name, login, twitch_id, followers, profile_image_url

vods

Recordings of this broadcast. See The nested vods array.

The nested vods array

Each VOD has id, vod_type (archive, highlight or upload), title, url, published_at, duration_seconds, view_count, views_updated_at, thumbnail_url (null while encoding) and expired.

Only recordings matched to that exact broadcast appear here, so highlights and uploads do not. Reach those with sub_type=vod on Query/Search.

Errors

ErrorMeaning
app_id or forum_id is requiredNeither selector was supplied.
app_id is not a valid game key. Use the app_id from /api/query/list, not a Steam AppIDThe value could not be read as a game hash key. Passing a numeric Steam AppID is the usual cause.
forum_id not found or not accessibleNo search of yours has that id.
that search has no game attached, so it has no streams. Attach a game to it in Gameplainer, or pass app_id insteadThe search exists but tracks no game, so there is nothing to resolve.
every search you have for that game is disabledYou track the game, but all of your searches for it are switched off.
game not found or not accessibleYou have no rights to that game.

Example response

{
  "success": true,
  "data": [
    {
      "id": "YduL7Qz",
      "live": false,
      "start_time": "2024-12-09T18:02:11.000Z",
      "end_time": "2024-12-09T20:24:11.000Z",
      "duration_minutes": 142,
      "peak_viewers": 1820,
      "current_viewers": 0,
      "viewer_minutes": 168400,
      "title": "twister speedrun attempts!",
      "language": "en",
      "is_mature": false,
      "thumbnail_url": "https://static-cdn.jtvnw.net/.../thumb.jpg",
      "helix_stream_id": "40987654321",
      "streamer": {
        "name": "SomeStreamer",
        "login": "somestreamer",
        "twitch_id": "123456789",
        "followers": 95000,
        "profile_image_url": "https://static-cdn.jtvnw.net/.../profile.png"
      },
      "vods": [
        {
          "id": "kEuv8zL",
          "vod_type": "archive",
          "title": "twister speedrun attempts!",
          "url": "https://www.twitch.tv/videos/2312345678",
          "published_at": "2024-12-09T20:24:11.000Z",
          "duration_seconds": 8562,
          "view_count": 4300,
          "views_updated_at": "2024-12-11T06:02:11.000Z",
          "thumbnail_url": null,
          "expired": false
        }
      ]
    }
  ],
  "meta": {
    "count": 1,
    "cursor_top": "YduL7Qz",
    "cursor_bottom": "YduL7Qz",
    "has_more": true,
    "game": {
      "app_id": "zRhz4m1",
      "name": "Twister"
    }
  }
}
Endpoint

Query/Reviews

GET https://gameplainer.com/api/query/reviews

Returns the Steam reviews of one of your games, newest first: the full stored review history, not only the reviews Gameplainer has alerted you about, with review fields (recommendation, playtime, votes, developer response) and filters. Pick the game by app_id or forum_id.

It needs a plan that includes the Steam reviews API, on top of API access. You can see and change your plan in Settings > Account.

Parameters

NameRequiredValuesDescription
app_idor forum_id

a game hash key, eg Qd3R8x

A game hash key, from the app_id field of Query/List. Not a Steam AppID.

forum_idor app_id

a search hash key, eg vPt3Or

The id of one of your searches (from Query/List), resolved to the game it tracks.

voted_upoptional

true, false

true: only positive (recommended) reviews. false: only negative.

languageoptional

a Steam language name, eg english, german, schinese

Only reviews written in that language.

start_dateoptional

Unix epoch seconds (eg 1733666480) or a date/datetime string (eg 2024-12-08 or 2024-12-08T14:01:17Z). See Date formats.

Only reviews posted on Steam at or after this time.

end_dateoptional

Unix epoch seconds (eg 1733666480) or a date/datetime string (eg 2024-12-08 or 2024-12-08T14:01:17Z). See Date formats.

Only reviews posted on Steam at or before this time.

cursoroptional

a review hash key

Reviews OLDER than this one: pass meta.cursor_bottom for the next page.

num_per_pageoptional

an integer, 1 to 100

Items per page. Defaults to 50.

Try it
Copied!
curl "https://gameplainer.com/api/query/reviews" \
     -H "Authorization: YOUR_API_KEY"
Sign in to send this with your own key.

Response fields

FieldDescription
id

The review's hash key

steam_review_id

Steam's own id for the review

url

Link to the review on Steam

voted_up

true for a positive (recommended) review, false for negative

language

Steam language name, eg english

review

The review text

created_at / updated_at

When the review was posted / last edited on Steam (ISO8601, UTC)

votes_up / votes_funny

Players who found the review helpful / funny

weighted_vote_score

Steam's helpfulness score

comment_count

Comments on the review

steam_purchase

true if bought on Steam

received_for_free

true if marked as received for free

written_during_early_access

true if written during Early Access

primarily_steam_deck

true if played mostly on Steam Deck

author

steam_id, num_games_owned, num_reviews, playtime_forever, playtime_last_two_weeks, playtime_at_review (minutes), last_played

developer_response

Your team's reply on Steam as text and created_at, or null

Review limit per game

Query/Reviews returns up to your plan's review limit per game: the newest reviews of the game, up to that number. For a game with more reviews than your limit, older reviews are not returned however far you page. meta.review_cap is your limit and meta.capped is true when the game has more reviews than that. Deleted reviews are never returned.

Paging through results

meta has count, cursor_bottom (oldest review in the page), has_more, review_cap, capped, and game (app_id, steam_app_id, name). Walk back with cursor=<cursor_bottom> until has_more is false. To pick up new reviews, pass start_date set to the created_at of the newest review you already have.

Errors

ErrorMeaning
The Steam reviews API is not enabled for your planYour account has API access but not this endpoint. Returned with a 403 status.
app_id or forum_id is requiredNeither selector was supplied.
app_id is not a valid game key. Use the app_id from /api/query/list, not a Steam AppIDThe value could not be read as a game hash key. Passing a numeric Steam AppID is the usual cause.
forum_id not found or not accessibleNo search of yours has that id.
that search has no game attached, so it has no reviews. Attach a game to it in Gameplainer, or pass app_id insteadThe search exists but tracks no game, so there is nothing to resolve.
every search you have for that game is disabledYou track the game, but all of your searches for it are switched off.
game not found or not accessibleYou have no rights to that game.
that game is not a Steam game, so it has no Steam reviewsThe game is not on Steam.
cursor not found. Pass meta.cursor_bottom from the previous pageThe cursor is not a review of this game.

Example response

{
  "success": true,
  "data": [
    {
      "id": "dZieL1o",
      "steam_review_id": "181234567",
      "url": "https://steamcommunity.com/profiles/76561198000000000/recommended/1234560/",
      "voted_up": true,
      "language": "english",
      "review": "Played it for a whole weekend with friends. The new levels are great.",
      "created_at": "2024-12-09T18:02:11.000Z",
      "updated_at": "2024-12-09T18:02:11.000Z",
      "votes_up": 12,
      "votes_funny": 1,
      "weighted_vote_score": 0.61,
      "comment_count": 0,
      "steam_purchase": true,
      "received_for_free": false,
      "written_during_early_access": false,
      "primarily_steam_deck": false,
      "author": {
        "steam_id": "76561198000000000",
        "num_games_owned": 214,
        "num_reviews": 9,
        "playtime_forever": 1260,
        "playtime_last_two_weeks": 840,
        "playtime_at_review": 790,
        "last_played": "2024-12-10T21:02:11.000Z"
      },
      "developer_response": {
        "text": "Thanks for playing! More levels are on the way.",
        "created_at": "2024-12-10T09:02:11.000Z"
      }
    }
  ],
  "meta": {
    "count": 1,
    "cursor_bottom": "dZieL1o",
    "has_more": true,
    "review_cap": 100000,
    "capped": false,
    "game": {
      "app_id": "zRhz4m1",
      "steam_app_id": 1234560,
      "name": "Twister"
    }
  }
}
Endpoint

Query/Create

GET https://gameplainer.com/api/query/create

Creates a new search for Gameplainer to find mentions on one source. For several sources, create several searches. Searches are checked at a frequency based on your account level.

Twitch and Steam searches track a game rather than a term, so they cannot be created here. Add them in the Gameplainer app, then read them with Query/List.

Parameters

NameRequiredValuesDescription
typerequired

bluesky, reddit, youtube, bilibili, google_alert, x (or twitter)

The source to search.

searchrequired

text, up to 400 characters

The search term. For google_alert, the Google Alerts RSS feed URL.

reddit_search_typeif type is reddit

posts, comments

What to search on Reddit.

follower_filteroptional

an integer above 0

Minimum audience: reddit karma, youtube subscribers.

frequencyoptional

minute, hour, day

How often to check, within what your plan allows.

search_mentionsoptional

true, false

X only: treat search as a username and return mentions of it.

exact_search_requiredoptional

true, false

X only: posts must contain the exact string.

subredditsoptional

comma separated, no r/ prefix

Reddit only: search just these subreddits.

mute_subredditsoptional

comma separated, no r/ prefix

Reddit only: leave these subreddits out.

Try it
Copied!
curl "https://gameplainer.com/api/query/create" \
     -H "Authorization: YOUR_API_KEY"
Sign in to send this with your own key.Creates a real search.

Example response

{
  "success": true,
  "data": [
    {
      "id": "12tdYL",
      "type": "reddit",
      "search": "twister",
      "followers_filter": 30,
      "frequency": "hour",
      "search_mentions": false,
      "exact_search_required": null,
      "reddit_search_type": "posts",
      "mute_subreddits": null,
      "subreddits": null,
      "results_total": 0,
      "last_searched": null
    }
  ]
}