Skip to main content
Reference

Utility Functions

The utility functions are in the SteamCoreWeb → Utilities category in Blueprints, and in USteamWebUtilities in C++.

JSON helpers​

Each helper has a Found and a Not Found output, so you can branch on the result directly.

FunctionReturns
Find Json StringThe first string value with the key
Find Json StringsEvery string value with the key
Find Json NumberThe first number value with the key, as an integer
Find Json NumbersEvery number value with the key, as integers
Find Json BoolThe first bool value with the key
Find Json BoolsEvery bool value with the key
  • The key is not case sensitive.
  • The helpers search the whole response, including nested objects and arrays.
  • The value must have the right JSON type. Steam sends Steam IDs as strings, so use Find Json String for them, not Find Json Number.
  • Numbers are returned as 32-bit integers. Read 64-bit values, such as Steam IDs and published file IDs, as strings.

Project settings​

FunctionReturns
Get Project KeyThe publisher key from the command line, the STEAMCOREWEB_KEY environment variable or Project Settings, in that order. See Publisher Key Security.
Get Project App IDApp ID from Project Settings
Get Dev Steam IDDev Steam ID from Project Settings

Microtransactions​

FunctionReturns
Make Transaction IDA unique 64-bit order ID for Init Txn, as a string. It is in the SteamCoreWeb → MicroTxn category. See Microtransactions.