Google Play Developer Players API

The Players API from Google Play Developer — 4 operation(s) for players.

GitHub OpenAPI

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /games/v1/players/me/players/{collection} List a player's friends · List players #
Ask an LLM
“How do I get the list of friends for the signed-in player?”
“Can I list a player's friends in a specific language?”
Tell an agent
List the {collection} players for me.
Show my {collection} friends in language {language}.
GET /games/v1/players/me/scopedIds Get scoped player identifiers · Get scoped player ids players #
Ask an LLM
“How do I get the scoped player IDs for the signed-in user?”
“What scoped identifiers can I use for the current player across my games?”
Tell an agent
Get my scoped player IDs.
Retrieve the scoped identifiers for the signed-in player.
GET /games/v1/players/me/multipleApplicationPlayerIds Get player IDs across several games · Get multiple application player ids players #
Ask an LLM
“How do I get my player ID in each of several games by the same developer?”
“Can I fetch scoped player IDs for multiple games at once?”
Tell an agent
Get my player IDs across games {applicationIds}.
Fetch scoped IDs for the signed-in player in {applicationIds}.
GET /games/v1/players/{playerId} Get a player's profile · Get players #
Ask an LLM
“How do I look up a player's profile by ID?”
“Can I fetch a player's details using their consistency token?”
Tell an agent
Get player {playerId}.
Show player {playerId} in language {language}.

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/google-play:google-play-players-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-play-players-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Play Games Services Players API
  version: v1
  description: Generated from Google's published Discovery document for Google Play Games Services API (games v1, revision 20261106). 4 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://games.googleapis.com
tags:
- name: Players
paths:
  /games/v1/players/me/players/{collection}:
    get:
      operationId: games.players.list
      summary: List players
      description: Get the collection of players for the currently authenticated user.
      parameters:
      - name: collection
        in: path
        required: true
        description: Collection of players being retrieved
        schema:
          enum:
          - CONNECTED
          - VISIBLE
          - FRIENDS_ALL
          type: string
      - name: language
        in: query
        required: false
        description: The preferred language to use for strings returned by this method.
        schema:
          type: string
      - name: maxResults
        in: query
        required: false
        description: The maximum number of player resources to return in the response, used for paging. For any response, the actual number of player resources returned may be less than the specified `maxResults`.
        schema:
          format: int32
          type: integer
      - name: pageToken
        in: query
        required: false
        description: The token returned by the previous request.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlayerListResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/games
      - apiKey: []
      tags:
      - Players
  /games/v1/players/me/scopedIds:
    get:
      operationId: games.players.getScopedPlayerIds
      summary: Get scoped player ids players
      description: Retrieves scoped player identifiers for currently authenticated user.
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScopedPlayerIds'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/games
      - apiKey: []
      tags:
      - Players
  /games/v1/players/me/multipleApplicationPlayerIds:
    get:
      operationId: games.players.getMultipleApplicationPlayerIds
      summary: Get multiple application player ids players
      description: Get the application player ids for the currently authenticated player across all requested games by the same developer as the calling application. This will only return ids for players that actually have an id (scoped or otherwise) with that game.
      parameters:
      - name: applicationIds
        in: query
        required: false
        description: Required. The application IDs from the Google Play developer console for the games to return scoped ids for.
        schema:
          type: array
          items:
            type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMultipleApplicationPlayerIdsResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/games
      - apiKey: []
      tags:
      - Players
  /games/v1/players/{playerId}:
    get:
      operationId: games.players.get
      summary: Get players
      description: Retrieves the Player resource with the given ID. To retrieve the player for the currently authenticated user, set `playerId` to `me`.
      parameters:
      - name: playerId
        in: path
        required: true
        description: A player ID. A value of `me` may be used in place of the authenticated player's ID.
        schema:
          type: string
      - name: language
        in: query
        required: false
        description: The preferred language to use for strings returned by this method.
        schema:
          type: string
      - name: playerIdConsistencyToken
        in: query
        required: false
        description: Consistency token of the player id. The call returns a 'not found' result when the token is present and invalid. Empty value is ignored. See also GlobalPlayerIdConsistencyTokenProto
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Player'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/games
      - apiKey: []
      tags:
      - Players
components:
  schemas:
    PlayerExperienceInfo:
      properties:
        nextLevel:
          $ref: '#/components/schemas/PlayerLevel'
          description: The next level of the player. If the current level is the maximum level, this should be same as the current level.
        currentExperiencePoints:
          type: string
          format: int64
          description: The current number of experience points for the player.
        kind:
          type: string
          description: Uniquely identifies the type of this resource. Value is always the fixed string `games#playerExperienceInfo`.
        lastLevelUpTimestampMillis:
          description: The timestamp when the player was leveled up, in millis since Unix epoch UTC.
          type: string
          format: int64
        currentLevel:
          $ref: '#/components/schemas/PlayerLevel'
          description: The current level of the player.
      description: 1P/3P metadata about the player's experience.
      type: object
    ApplicationPlayerId:
      properties:
        playerId:
          description: The player identifier for the application.
          type: string
        applicationId:
          type: string
          description: The application that this player identifier is for.
      type: object
      description: Primary scoped player identifier for an application.
    GetMultipleApplicationPlayerIdsResponse:
      description: Response message for GetMultipleApplicationPlayerIds rpc.
      type: object
      properties:
        playerIds:
          readOnly: true
          description: Output only. The requested applications along with the scoped ids for tha player, if that player has an id for the application. If not, the application is not included in the response.
          type: array
          items:
            $ref: '#/components/schemas/ApplicationPlayerId'
    Player:
      type: object
      description: A Player resource.
      properties:
        title:
          type: string
          description: The player's title rewarded for their game activities.
        friendStatus:
          enum:
          - NO_RELATIONSHIP
          - FRIEND
          description: The friend status of the given player, relative to the requester. This is unset if the player is not sharing their friends list with the game.
          type: string
        kind:
          description: Uniquely identifies the type of this resource. Value is always the fixed string `games#player`
          type: string
        originalPlayerId:
          description: The player ID that was used for this player the first time they signed into the game in question. This is only populated for calls to player.get for the requesting player, only if the player ID has subsequently changed, and only to clients that support remapping player IDs.
          type: string
        bannerUrlLandscape:
          description: The url to the landscape mode player banner image.
          type: string
        profileSettings:
          $ref: '#/components/schemas/ProfileSettings'
          description: The player's profile settings. Controls whether or not the player's profile is visible to other players.
        playerId:
          description: The ID of the player.
          type: string
        name:
          properties:
            familyName:
              type: string
              description: The family name of this player. In some places, this is known as the last name.
            givenName:
              type: string
              description: The given name of this player. In some places, this is known as the first name.
          description: A representation of the individual components of the name.
          type: object
        experienceInfo:
          $ref: '#/components/schemas/PlayerExperienceInfo'
          description: An object to represent Play Game experience information for the player.
        avatarImageUrl:
          description: The base URL for the image that represents the player.
          type: string
        bannerUrlPortrait:
          type: string
          description: The url to the portrait mode player banner image.
        displayName:
          type: string
          description: The name to display for the player.
        gamePlayerId:
          type: string
          description: Per-application unique player identifier.
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
    PlayerLevel:
      properties:
        kind:
          description: Uniquely identifies the type of this resource. Value is always the fixed string `games#playerLevel`.
          type: string
        minExperiencePoints:
          format: int64
          type: string
          description: The minimum experience points for this level.
        maxExperiencePoints:
          format: int64
          type: string
          description: The maximum experience points for this level.
        level:
          type: integer
          format: int32
          description: The level for the user.
      type: object
      description: 1P/3P metadata about a user's level.
    PlayerListResponse:
      type: object
      description: A third party player list response.
      properties:
        kind:
          type: string
          description: Uniquely identifies the type of this resource. Value is always the fixed string `games#playerListResponse`.
        items:
          description: The players.
          items:
            $ref: '#/components/schemas/Player'
          type: array
        nextPageToken:
          type: string
          description: Token corresponding to the next page of results.
    ScopedPlayerIds:
      properties:
        developerPlayerKey:
          description: Identifier of the player across all games of the given developer. Every player has the same developer_player_key in all games of one developer. Developer player key changes for the game if the game is transferred to another developer. Note that game_player_id will stay unchanged.
          type: string
        gamePlayerId:
          type: string
          description: Game-scoped player identifier. This is the same id that is returned in GetPlayer game_player_id field.
      description: Scoped player identifiers.
      type: object
    ProfileSettings:
      description: Profile settings
      properties:
        profileVisible:
          type: boolean
          description: Whether the player's profile is visible to the currently signed in player.
        kind:
          type: string
          description: Uniquely identifies the type of this resource. Value is always the fixed string `games#profileSettings`.
        friendsListVisibility:
          enum:
          - VISIBLE
          - REQUEST_REQUIRED
          - UNAVAILABLE
          type: string
      type: object
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/games: Create, edit, and delete your Google Play Games activity
            https://www.googleapis.com/auth/androidpublisher: View and manage your Google Play Developer account
            https://www.googleapis.com/auth/drive.appdata: See, create, and delete its own configuration data in your Google Drive
externalDocs:
  url: https://developers.google.com/games/
x-provenance:
  method: harvested
  publisher: Google
  source: https://games.googleapis.com/$discovery/rest?version=v1
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261106)