PlayFab Server API

The PlayFab Server API is the server-trusted REST surface for custom game servers and trusted backends. It mirrors much of the Client API but operates with the title's developer secret key and can act on any player, grant items, adjust currencies, modify read-only data, and issue server-authoritative writes.

Operations 162

POST /Server/AddCharacterVirtualCurrency #
POST /Server/AddFriend #
POST /Server/AddGenericID #
POST /Server/AddOrUpdateContactEmail #
POST /Server/AddPlayerTag #
POST /Server/AddSharedGroupMembers #
POST /Server/AddUserVirtualCurrency #
POST /Server/AuthenticateSessionTicket #
POST /Server/AwardSteamAchievement #
POST /Server/BanUsers #
POST /Server/ConsumeItem #
POST /Server/CreateSharedGroup #
POST /Server/DeleteCharacterFromUser #
POST /Server/DeletePlayer #
POST /Server/DeletePlayerCustomProperties #
POST /Server/DeletePushNotificationTemplate #
POST /Server/DeleteSharedGroup #
POST /Server/EvaluateRandomResultTable #
POST /Server/ExecuteCloudScript #
POST /Server/ExportPlayersInSegment #
POST /Server/GetAllSegments #
POST /Server/GetAllUsersCharacters #
POST /Server/GetCatalogItems #
POST /Server/GetCharacterData #
POST /Server/GetCharacterInternalData #
POST /Server/GetCharacterInventory #
POST /Server/GetCharacterLeaderboard #
POST /Server/GetCharacterReadOnlyData #
POST /Server/GetCharacterStatistics #
POST /Server/GetContentDownloadUrl #
POST /Server/GetFriendLeaderboard #
POST /Server/GetFriendsList #
POST /Server/GetLeaderboard #
POST /Server/GetLeaderboardAroundCharacter #
POST /Server/GetLeaderboardAroundUser #
POST /Server/GetLeaderboardForUserCharacters #
POST /Server/GetPlayerCombinedInfo #
POST /Server/GetPlayerCustomProperty #
POST /Server/GetPlayerProfile #
POST /Server/GetPlayerSegments #
POST /Server/GetPlayerStatistics #
POST /Server/GetPlayerStatisticVersions #
POST /Server/GetPlayerTags #
POST /Server/GetPlayFabIDsFromBattleNetAccountIds #
POST /Server/GetPlayFabIDsFromFacebookIDs #
POST /Server/GetPlayFabIDsFromFacebookInstantGamesIds #
POST /Server/GetPlayFabIDsFromGenericIDs #
POST /Server/GetPlayFabIDsFromNintendoServiceAccountIds #
POST /Server/GetPlayFabIDsFromNintendoSwitchDeviceIds #
POST /Server/GetPlayFabIDsFromOpenIdSubjectIdentifiers #
POST /Server/GetPlayFabIDsFromPSNAccountIDs #
POST /Server/GetPlayFabIDsFromPSNOnlineIDs #
POST /Server/GetPlayFabIDsFromServerCustomIDs #
POST /Server/GetPlayFabIDsFromSteamIDs #
POST /Server/GetPlayFabIDsFromSteamNames #
POST /Server/GetPlayFabIDsFromTwitchIDs #
POST /Server/GetPlayFabIDsFromXboxLiveIDs #
POST /Server/GetPublisherData #
POST /Server/GetRandomResultTables #
POST /Server/GetSegmentExport #
POST /Server/GetSegmentPlayerCount #
POST /Server/GetServerCustomIDsFromPlayFabIDs #
POST /Server/GetSharedGroupData #
POST /Server/GetStoreItems #
POST /Server/GetTime #
POST /Server/GetTitleData #
POST /Server/GetTitleInternalData #
POST /Server/GetTitleNews #
POST /Server/GetUserAccountInfo #
POST /Server/GetUserBans #
POST /Server/GetUserData #
POST /Server/GetUserInternalData #
POST /Server/GetUserInventory #
POST /Server/GetUserPublisherData #
POST /Server/GetUserPublisherInternalData #
POST /Server/GetUserPublisherReadOnlyData #
POST /Server/GetUserReadOnlyData #
POST /Server/GrantCharacterToUser #
POST /Server/GrantItemsToCharacter #
POST /Server/GrantItemsToUser #
POST /Server/GrantItemsToUsers #
POST /Server/LinkBattleNetAccount #
POST /Server/LinkNintendoServiceAccount #
POST /Server/LinkNintendoServiceAccountSubject #
POST /Server/LinkNintendoSwitchDeviceId #
POST /Server/LinkPSNAccount #
POST /Server/LinkPSNId #
POST /Server/LinkServerCustomId #
POST /Server/LinkSteamId #
POST /Server/LinkTwitchAccount #
POST /Server/LinkXboxAccount #
POST /Server/LinkXboxId #
POST /Server/ListPlayerCustomProperties #
POST /Server/LoginWithAndroidDeviceID #
POST /Server/LoginWithBattleNet #
POST /Server/LoginWithCustomID #
POST /Server/LoginWithIOSDeviceID #
POST /Server/LoginWithPSN #
POST /Server/LoginWithServerCustomId #
POST /Server/LoginWithSteamId #
POST /Server/LoginWithTwitch #
POST /Server/LoginWithXbox #
POST /Server/LoginWithXboxId #
POST /Server/ModifyItemUses #
POST /Server/MoveItemToCharacterFromCharacter #
POST /Server/MoveItemToCharacterFromUser #
POST /Server/MoveItemToUserFromCharacter #
POST /Server/RedeemCoupon #
POST /Server/RemoveFriend #
POST /Server/RemoveGenericID #
POST /Server/RemovePlayerTag #
POST /Server/RemoveSharedGroupMembers #
POST /Server/ReportPlayer #
POST /Server/RevokeAllBansForUser #
POST /Server/RevokeBans #
POST /Server/RevokeInventoryItem #
POST /Server/RevokeInventoryItems #
POST /Server/SavePushNotificationTemplate #
POST /Server/SendCustomAccountRecoveryEmail #
POST /Server/SendEmailFromTemplate #
POST /Server/SendPushNotification #
POST /Server/SendPushNotificationFromTemplate #
POST /Server/SetFriendTags #
POST /Server/SetPlayerSecret #
POST /Server/SetPublisherData #
POST /Server/SetTitleData #
POST /Server/SetTitleInternalData #
POST /Server/SubtractCharacterVirtualCurrency #
POST /Server/SubtractUserVirtualCurrency #
POST /Server/UnlinkApple #
POST /Server/UnlinkBattleNetAccount #
POST /Server/UnlinkFacebookAccount #
POST /Server/UnlinkFacebookInstantGamesId #
POST /Server/UnlinkGameCenterAccount #
POST /Server/UnlinkNintendoServiceAccount #
POST /Server/UnlinkNintendoSwitchDeviceId #
POST /Server/UnlinkPSNAccount #
POST /Server/UnlinkServerCustomId #
POST /Server/UnlinkSteamId #
POST /Server/UnlinkTwitchAccount #
POST /Server/UnlinkXboxAccount #
POST /Server/UnlockContainerInstance #
POST /Server/UnlockContainerItem #
POST /Server/UpdateAvatarUrl #
POST /Server/UpdateBans #
POST /Server/UpdateCharacterData #
POST /Server/UpdateCharacterInternalData #
POST /Server/UpdateCharacterReadOnlyData #
POST /Server/UpdateCharacterStatistics #
POST /Server/UpdatePlayerCustomProperties #
POST /Server/UpdatePlayerStatistics #
POST /Server/UpdateSharedGroupData #
POST /Server/UpdateUserData #
POST /Server/UpdateUserInternalData #
POST /Server/UpdateUserInventoryItemCustomData #
POST /Server/UpdateUserPublisherData #
POST /Server/UpdateUserPublisherInternalData #
POST /Server/UpdateUserPublisherReadOnlyData #
POST /Server/UpdateUserReadOnlyData #
POST /Server/WriteCharacterEvent #
POST /Server/WritePlayerEvent #
POST /Server/WriteTitleEvent #

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/playfab:playfab-server-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

playfab-server-openapi.yml Raw ↑
openapi: 3.0.3
info:
  version: '260922'
  title: PlayFab Server API
  description: Provides functionality to allow external (developer-controlled) servers to interact with user inventories and data in a trusted
    manner, and to handle matchmaking and client connection orchestration
  termsOfService: https://playfab.com/terms/
  contact:
    url: https://community.playfab.com/index.html
  license:
    name: Apache 2.0
    url: https://github.com/PlayFab/API_Specs/blob/master/LICENSE
servers:
- url: https://{titleId}.playfabapi.com
  variables:
    titleId:
      default: titleId
      description: Unique PlayFab title identifier.
tags:
- name: Account Management
  description: Account Management APIs
- name: Analytics
  description: Analytics APIs
- name: Authentication
  description: Authentication APIs
- name: Character Data
  description: Character Data APIs
- name: Characters
  description: Characters APIs
- name: Content
  description: Content Service APIs
- name: Friend List Management
  description: Friend List Management APIs
- name: Matchmaking
  description: Matchmaking APIs
- name: Platform Specific Methods
  description: Platform Specific Methods APIs
- name: Player Data Management
  description: Player Data Management APIs
- name: Player Item Management
  description: Player Item Management APIs
- name: PlayStream
  description: PlayStream Management APIs
- name: Server-Side Cloud Script
  description: Server-Side Cloud Script APIs
- name: Shared Group Data
  description: Shared Group Data APIs


# --- truncated at 32 KB (514 KB total) ---
# Full source: https://artifacts.apis.io/playfab/openapi/playfab-server-openapi.yml