RomM Stats API

The stats API from RomM — 1 operation(s) for stats.

Operations 1

GET /api/stats Stats #

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/romm:romm-stats-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

romm-stats-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: RomM Stats API
  version: 5.4.0
tags:
- name: Stats
paths:
  /api/stats:
    get:
      tags:
      - Stats
      summary: Stats
      description: 'Endpoint to return the current RomM stats


        Returns:

        dict: Dictionary with all the stats'
      operationId: stats_api_stats_get
      parameters:
      - name: include_platform_stats
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Platform Stats
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatsReturn'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    RegionBreakdownItem:
      properties:
        region:
          type: string
          title: Region
        count:
          type: integer
          title: Count
      type: object
      required:
      - region
      - count
      title: RegionBreakdownItem
    MetadataCoverageItem:
      properties:
        source:
          type: string
          title: Source
        matched:
          type: integer
          title: Matched
      type: object
      required:
      - source
      - matched
      title: MetadataCoverageItem
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    StatsReturn:
      properties:
        PLATFORMS:
          type: integer
          title: Platforms
        ROMS:
          type: integer
          title: Roms
        SAVES:
          type: integer
          title: Saves
        STATES:
          type: integer
          title: States
        SCREENSHOTS:
          type: integer
          title: Screenshots
        TOTAL_FILESIZE_BYTES:
          type: integer
          title: Total Filesize Bytes
        METADATA_COVERAGE:
          additionalProperties:
            items:
              $ref: '#/components/schemas/MetadataCoverageItem'
            type: array
          type: object
          title: Metadata Coverage
        REGION_BREAKDOWN:
          additionalProperties:
            items:
              $ref: '#/components/schemas/RegionBreakdownItem'
            type: array
          type: object
          title: Region Breakdown
      type: object
      title: StatsReturn
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes:
            me.read: View your profile
            roms.read: View ROMs
            platforms.read: View platforms
            assets.read: View assets
            devices.read: View devices
            firmware.read: View firmware
            roms.user.read: View user-rom properties
            collections.read: View collections
            playlists.read: View music playlists
            me.write: Modify your profile
            assets.write: Modify assets
            devices.write: Modify devices
            roms.user.write: Modify user-rom properties
            collections.write: Modify collections
            playlists.write: Modify music playlists
            roms.write: Modify ROMs
            platforms.write: Modify platforms
            firmware.write: Modify firmware
            users.read: View users
            users.write: Modify users
            tasks.run: Run tasks
            logs.read: View backend logs
          tokenUrl: /token
    HTTPBasic:
      type: http
      scheme: basic