Google Play Developer Achievements API

The Achievements API from Google Play Developer — 6 operation(s) for achievements.

GitHub OpenAPI

Operations 6

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

POST /games/v1/achievements/updateMultiple Update several achievements at once · Update multiple achievements #
Ask an LLM
“How do I update multiple achievements for a player in one request?”
“Can I send several achievement update requests together?”
Tell an agent
Update these achievements with {updates}.
Apply the batch of achievement updates {updates}.
POST /games/v1/achievements/{achievementId}/reveal Reveal an achievement · Reveal achievements #
Ask an LLM
“How do I show a hidden achievement to the player?”
“Can I mark an achievement as revealed for the current player?”
Tell an agent
Reveal achievement {achievementId}.
Set achievement {achievementId} to REVEALED.
POST /games/v1/achievements/{achievementId}/increment Increment an achievement's steps · Increment achievements #
Ask an LLM
“How do I give a player more steps toward an achievement?”
“Can I add a set number of steps to an achievement?”
Tell an agent
Increment achievement {achievementId} by {stepsToIncrement} steps.
Add {stepsToIncrement} steps to achievement {achievementId}.
POST /games/v1/achievements/{achievementId}/setStepsAtLeast Set an achievement's steps to a minimum · Set steps at least achievements #
Ask an LLM
“How do I set an achievement's steps to at least a number?”
“If the player already has more steps, does setting a minimum change the achievement?”
Tell an agent
Set achievement {achievementId} to at least {steps} steps.
Ensure achievement {achievementId} has {steps} or more steps.
GET /games/v1/players/{playerId}/achievements List a player's achievements · List achievements #
Ask an LLM
“What progress has the current player made on each achievement?”
“Can I list only a player's unlocked achievements?”
Tell an agent
List achievements for player {playerId}.
Show {state} achievements for player {playerId}.
POST /games/v1/achievements/{achievementId}/unlock Unlock an achievement · Unlock achievements #
Ask an LLM
“How do I unlock an achievement for the current player?”
“Can I unlock an achievement that was already unlocked?”
Tell an agent
Unlock achievement {achievementId}.
Mark achievement {achievementId} as unlocked.

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-achievements-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-achievements-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Play Games Services Achievements API
  version: v1
  description: Generated from Google's published Discovery document for Google Play Games Services API (games v1, revision 20261106). 6 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://games.googleapis.com
tags:
- name: Achievements
paths:
  /games/v1/achievements/updateMultiple:
    post:
      operationId: games.achievements.updateMultiple
      summary: Update multiple achievements
      description: Updates multiple achievements for the currently authenticated player.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AchievementUpdateMultipleRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AchievementUpdateMultipleResponse'
        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:
      - Achievements
  /games/v1/achievements/{achievementId}/reveal:
    post:
      operationId: games.achievements.reveal
      summary: Reveal achievements
      description: Sets the state of the achievement with the given ID to `REVEALED` for the currently authenticated player.
      parameters:
      - name: achievementId
        in: path
        required: true
        description: The ID of the achievement used by this method.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AchievementRevealResponse'
        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:
      - Achievements
  /games/v1/achievements/{achievementId}/increment:
    post:
      operationId: games.achievements.increment
      summary: Increment achievements
      description: Increments the steps of the achievement with the given ID for the currently authenticated player.
      parameters:
      - name: achievementId
        in: path
        required: true
        description: The ID of the achievement used by this method.
        schema:
          type: string
      - name: requestId
        in: query
        required: false
        description: A randomly generated numeric ID for each request specified by the caller. This number is used at the server to ensure that the request is handled correctly across retries.
        schema:
          format: int64
          type: string
      - name: stepsToIncrement
        in: query
        required: true
        description: Required. The number of steps to increment.
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AchievementIncrementResponse'
        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:
      - Achievements
  /games/v1/achievements/{achievementId}/setStepsAtLeast:
    post:
      operationId: games.achievements.setStepsAtLeast
      summary: Set steps at least achievements
      description: Sets the steps for the currently authenticated player towards unlocking an achievement. If the steps parameter is less than the current number of steps that the player already gained for the achievement, the achievement is not modified.
      parameters:
      - name: achievementId
        in: path
        required: true
        description: The ID of the achievement used by this method.
        schema:
          type: string
      - name: steps
        in: query
        required: true
        description: Required. The minimum value to set the steps to.
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AchievementSetStepsAtLeastResponse'
        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:
      - Achievements
  /games/v1/players/{playerId}/achievements:
    get:
      operationId: games.achievements.list
      summary: List achievements
      description: Lists the progress for all your application's achievements for the currently authenticated player.
      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: maxResults
        in: query
        required: false
        description: The maximum number of achievement resources to return in the response, used for paging. For any response, the actual number of achievement resources returned may be less than the specified `maxResults`.
        schema:
          type: integer
          format: int32
      - name: pageToken
        in: query
        required: false
        description: The token returned by the previous request.
        schema:
          type: string
      - name: state
        in: query
        required: false
        description: Tells the server to return only achievements with the specified state. If this parameter isn't specified, all achievements are returned.
        schema:
          type: string
          enum:
          - ALL
          - HIDDEN
          - REVEALED
          - UNLOCKED
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlayerAchievementListResponse'
        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:
      - Achievements
  /games/v1/achievements/{achievementId}/unlock:
    post:
      operationId: games.achievements.unlock
      summary: Unlock achievements
      description: Unlocks this achievement for the currently authenticated player.
      parameters:
      - name: achievementId
        in: path
        required: true
        description: The ID of the achievement used by this method.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AchievementUnlockResponse'
        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:
      - Achievements
components:
  schemas:
    GamesAchievementSetStepsAtLeast:
      type: object
      description: The payload to request to increment an achievement.
      properties:
        kind:
          description: Uniquely identifies the type of this resource. Value is always the fixed string `games#GamesAchievementSetStepsAtLeast`.
          type: string
        steps:
          format: int32
          type: integer
          description: The minimum number of steps for the achievement to be set to.
    AchievementSetStepsAtLeastResponse:
      properties:
        newlyUnlocked:
          type: boolean
          description: Whether the current steps for the achievement has reached the number of steps required to unlock.
        kind:
          type: string
          description: Uniquely identifies the type of this resource. Value is always the fixed string `games#achievementSetStepsAtLeastResponse`.
        currentSteps:
          description: The current steps recorded for this incremental achievement.
          type: integer
          format: int32
      type: object
      description: An achievement set steps at least response.
    AchievementUnlockResponse:
      type: object
      description: An achievement unlock response
      properties:
        newlyUnlocked:
          type: boolean
          description: Whether this achievement was newly unlocked (that is, whether the unlock request for the achievement was the first for the player).
        kind:
          description: Uniquely identifies the type of this resource. Value is always the fixed string `games#achievementUnlockResponse`.
          type: string
    GamesAchievementIncrement:
      type: object
      description: The payload to request to increment an achievement.
      properties:
        requestId:
          format: int64
          description: The requestId associated with an increment to an achievement.
          type: string
        kind:
          type: string
          description: Uniquely identifies the type of this resource. Value is always the fixed string `games#GamesAchievementIncrement`.
        steps:
          description: The number of steps to be incremented.
          type: integer
          format: int32
    AchievementIncrementResponse:
      description: An achievement increment response
      type: object
      properties:
        newlyUnlocked:
          description: Whether the current steps for the achievement has reached the number of steps required to unlock.
          type: boolean
        kind:
          description: Uniquely identifies the type of this resource. Value is always the fixed string `games#achievementIncrementResponse`.
          type: string
        currentSteps:
          format: int32
          description: The current steps recorded for this incremental achievement.
          type: integer
    PlayerAchievementListResponse:
      properties:
        nextPageToken:
          description: Token corresponding to the next page of results.
          type: string
        items:
          items:
            $ref: '#/components/schemas/PlayerAchievement'
          type: array
          description: The achievements.
        kind:
          description: Uniquely identifies the type of this resource. Value is always the fixed string `games#playerAchievementListResponse`.
          type: string
      description: A list of achievement objects.
      type: object
    AchievementRevealResponse:
      type: object
      description: An achievement reveal response
      properties:
        currentState:
          description: The current state of the achievement for which a reveal was attempted. This might be `UNLOCKED` if the achievement was already unlocked.
          type: string
          enum:
          - REVEALED
          - UNLOCKED
        kind:
          type: string
          description: Uniquely identifies the type of this resource. Value is always the fixed string `games#achievementRevealResponse`.
    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
    AchievementUpdateResponse:
      properties:
        achievementId:
          description: The achievement this update is was applied to.
          type: string
        updateOccurred:
          description: Whether the requested updates actually affected the achievement.
          type: boolean
        newlyUnlocked:
          type: boolean
          description: Whether this achievement was newly unlocked (that is, whether the unlock request for the achievement was the first for the player).
        currentState:
          enum:
          - HIDDEN
          - REVEALED
          - UNLOCKED
          description: The current state of the achievement.
          type: string
        currentSteps:
          description: The current steps recorded for this achievement if it is incremental.
          type: integer
          format: int32
        kind:
          description: Uniquely identifies the type of this resource. Value is always the fixed string `games#achievementUpdateResponse`.
          type: string
      description: An updated achievement.
      type: object
    PlayerAchievement:
      properties:
        lastUpdatedTimestamp:
          description: The timestamp of the last modification to this achievement's state.
          type: string
          format: int64
        achievementState:
          enum:
          - HIDDEN
          - REVEALED
          - UNLOCKED
          description: The state of the achievement.
          type: string
        kind:
          type: string
          description: Uniquely identifies the type of this resource. Value is always the fixed string `games#playerAchievement`.
        id:
          description: The ID of the achievement.
          type: string
        experiencePoints:
          format: int64
          description: Experience points earned for the achievement. This field is absent for achievements that have not yet been unlocked and 0 for achievements that have been unlocked by testers but that are unpublished.
          type: string
        formattedCurrentStepsString:
          description: The current steps for an incremental achievement as a string.
          type: string
        currentSteps:
          description: The current steps for an incremental achievement.
          format: int32
          type: integer
      description: An achievement object.
      type: object
    AchievementUpdateRequest:
      type: object
      description: A request to update an achievement.
      properties:
        incrementPayload:
          $ref: '#/components/schemas/GamesAchievementIncrement'
          description: The payload if an update of type `INCREMENT` was requested for the achievement.
        setStepsAtLeastPayload:
          $ref: '#/components/schemas/GamesAchievementSetStepsAtLeast'
          description: The payload if an update of type `SET_STEPS_AT_LEAST` was requested for the achievement.
        updateType:
          type: string
          description: The type of update being applied.
          enum:
          - REVEAL
          - UNLOCK
          - INCREMENT
          - SET_STEPS_AT_LEAST
        achievementId:
          description: The achievement this update is being applied to.
          type: string
        kind:
          type: string
          description: Uniquely identifies the type of this resource. Value is always the fixed string `games#achievementUpdateRequest`.
    AchievementUpdateMultipleRequest:
      properties:
        updates:
          description: The individual achievement update requests.
          type: array
          items:
            $ref: '#/components/schemas/AchievementUpdateRequest'
        kind:
          type: string
          description: Uniquely identifies the type of this resource. Value is always the fixed string `games#achievementUpdateMultipleRequest`.
      type: object
      description: A list of achievement update requests.
    AchievementUpdateMultipleResponse:
      properties:
        kind:
          description: Uniquely identifies the type of this resource. Value is always the fixed string `games#achievementUpdateMultipleResponse`.
          type: string
        updatedAchievements:
          type: array
          items:
            $ref: '#/components/schemas/AchievementUpdateResponse'
          description: The updated state of the achievements.
      description: Response message for UpdateMultipleAchievements rpc.
      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)