Public profile
const url = 'https://api.gampeon.com/v1/profiles/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.gampeon.com/v1/profiles/exampleDisplay name, bio, public marketplace items, servers online, studios, projects and achievements of an account. Never contains the email address.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Handle of the account
Responses
Section titled “Responses”Profile
object
True for moderators and admins
Unix time in milliseconds
Public marketplace items (up to 100)
object
Unique resource name
Downloads of all versions
Price in GAMPEONS, 0 = free
Unix time in milliseconds
Unix time in milliseconds
Servers that are online right now
object
Server ID
Sent a heartbeat in the last 90 seconds
Last heartbeat (Unix time in milliseconds)
Highest player count reported over two consecutive heartbeats
object
Number of members
Number of visible projects
Players on online servers of all projects
Unix time in milliseconds
Hidden by moderation (only in /v1/me/studios)
Own projects and projects of their studios (up to 100)
object
Development stage, in this order: concept, development, alpha, beta, released
Languages of the game (ISO 639-1), up to 10
Players on linked servers that are online
Linked servers that are online
Linked marketplace items with at least one free version
Accounts that marked the project as a favorite
Page views (counted once per visitor and day, the team not included)
Unix time in milliseconds
Unix time in milliseconds
object
The 6 rarest unlocked achievements (without progress)
object
Hidden achievements show a placeholder until unlocked
Icon name
platform: from real numbers. staff: granted by the team. game: comes with the launcher.
Still hidden for this viewer
Share of all accounts that unlocked it, in percent
Profiles on other platforms the person entered themselves (not verified). Always empty for accounts under 16.
object
Name on the platform. YouTube uses @name or channel/<id>, Facebook a username or a numeric profile ID.
Profile page, built by GAMPEON from the name. Never a link the person entered.
Example
{ "resources": [ { "kind": "script" } ], "studios": [ { "role": "owner" } ], "projects": [ { "genre": "roleplay", "status": "concept", "languages": [ "en" ], "owner": { "type": "studio" } } ], "achievements": { "showcase": [ { "category": "start", "tier": "bronze", "source": "platform" } ] }, "connections": [ { "provider": "steam" } ], "links": [ { "platform": "twitch" } ]}Error codes: not_found
object
Machine-readable error code, for example not_found or rate_limited.
Human-readable detail. Only present for some errors.
Example generated
{ "error": "example", "message": "example"}