Epic Games Stats API

The Stats API from Epic Games — 1 operation(s) for stats.

OpenAPI Specification

epic-games-stats-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Epic Online Services Web Achievements Stats API
  version: 1.0.0
  description: REST surface of Epic Online Services (EOS). Provides cross-platform game backend capabilities including OAuth-based authentication, the Connect Interface (product user ID exchange), Player Data and Title Storage, Achievements, Stats, Leaderboards, Friends, Lobby/Sessions, Sanctions, and Ecom entitlements. All requests are gated behind an Epic developer organization, sandbox, and client credentials issued in the EOS Developer Portal. Best-effort spec derived from publicly documented surfaces; not exhaustive.
  contact:
    name: Epic Online Services
    url: https://dev.epicgames.com/docs/web-api-ref
  license:
    name: Proprietary
servers:
- url: https://api.epicgames.dev
  description: Epic Online Services production base URL
security:
- oauthClientCredentials: []
- bearerAuth: []
tags:
- name: Stats
paths:
  /stats/v1/{deploymentId}/users/{productUserId}/stats:
    parameters:
    - in: path
      name: deploymentId
      required: true
      schema:
        type: string
    - in: path
      name: productUserId
      required: true
      schema:
        type: string
    get:
      tags:
      - Stats
      summary: List stats for a product user
      operationId: listUserStats
      responses:
        '200':
          description: Stats list
    post:
      tags:
      - Stats
      summary: Ingest stats for a product user
      operationId: ingestUserStats
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: array
              items:
                type: object
                properties:
                  name:
                    type: string
                  value:
                    type: integer
      responses:
        '200':
          description: Stats ingested
components:
  securitySchemes:
    oauthClientCredentials:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://api.epicgames.dev/auth/v1/oauth/token
          scopes:
            basic_profile: Basic profile access
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: EOS bearer access token issued by the OAuth token endpoint.