Get Cheap Games Admin API

The admin API from Get Cheap Games — 4 operation(s) for admin.

GitHub OpenAPI

Operations 4

POST /api/admin/ingest Ingest Offers #
POST /api/admin/maintenance/partitions Create Partitions #
POST /api/admin/maintenance/prune Prune #
GET /api/admin/campaigns Campaigns #

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/getcheapgames-com:getcheapgames-com-admin-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

getcheapgames-com-admin-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: getcheapgames Admin API
  description: Game key price comparison. All money is integer cents; rankings are on the price each store lists, without the service fee a marketplace adds at checkout.
  version: 0.1.0
tags:
- name: Admin
paths:
  /api/admin/ingest:
    post:
      tags:
      - Admin
      summary: Ingest Offers
      description: 'Accept a batch of scraped observations.


        ⚠️ Unauthenticated. This must not be exposed publicly — bind it to the

        private interface, or put an API key in front of it, before deploying.

        Anyone who can reach this can rewrite every price on the site.'
      operationId: ingest_offers_api_admin_ingest_post
      requestBody:
        content:
          application/json:
            schema:
              items:
                $ref: '#/components/schemas/IngestOfferIn'
              type: array
              title: Observations
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IngestResultOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/maintenance/partitions:
    post:
      tags:
      - Admin
      summary: Create Partitions
      operationId: create_partitions_api_admin_maintenance_partitions_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties:
                  items:
                    type: string
                  type: array
                type: object
                title: Response Create Partitions Api Admin Maintenance Partitions Post
  /api/admin/maintenance/prune:
    post:
      tags:
      - Admin
      summary: Prune
      operationId: prune_api_admin_maintenance_prune_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties:
                  items:
                    type: string
                  type: array
                type: object
                title: Response Prune Api Admin Maintenance Prune Post
  /api/admin/campaigns:
    get:
      tags:
      - Admin
      summary: Campaigns
      description: 'Landings from tagged links per day, source and campaign (people, bots, clients

        with no JavaScript) beside the store clicks each campaign sent on. Not public:

        Caddy refuses /api/admin/* from the internet.'
      operationId: campaigns_api_admin_campaigns_get
      parameters:
      - name: days
        in: query
        required: false
        schema:
          type: integer
          default: 14
          title: Days
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  additionalProperties: true
                title: Response Campaigns Api Admin Campaigns Get
        '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
    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
    IngestResultOut:
      properties:
        received:
          type: integer
          title: Received
        offersCreated:
          type: integer
          title: Offerscreated
        offersUpdated:
          type: integer
          title: Offersupdated
        priceChangesRecorded:
          type: integer
          title: Pricechangesrecorded
        unknownGames:
          items:
            type: string
          type: array
          title: Unknowngames
          default: []
        unknownStores:
          items:
            type: string
          type: array
          title: Unknownstores
          default: []
      type: object
      required:
      - received
      - offersCreated
      - offersUpdated
      - priceChangesRecorded
      title: IngestResultOut
    IngestOfferIn:
      properties:
        storeCode:
          type: string
          title: Storecode
        gameSlug:
          type: string
          title: Gameslug
        platform:
          type: string
          title: Platform
        region:
          type: string
          title: Region
        edition:
          type: string
          title: Edition
        slug:
          anyOf:
          - type: string
          - type: 'null'
          title: Slug
        priceCents:
          type: integer
          title: Pricecents
        currency:
          type: string
          title: Currency
          default: EUR
        listPriceCents:
          anyOf:
          - type: integer
          - type: 'null'
          title: Listpricecents
        feeCents:
          type: integer
          title: Feecents
          default: 0
        inStock:
          type: boolean
          title: Instock
          default: true
        sellerRating:
          anyOf:
          - type: integer
          - type: 'null'
          title: Sellerrating
        externalId:
          anyOf:
          - type: string
          - type: 'null'
          title: Externalid
        freeToKeep:
          type: boolean
          title: Freetokeep
          default: false
      type: object
      required:
      - storeCode
      - gameSlug
      - platform
      - region
      - edition
      - priceCents
      title: IngestOfferIn
      description: One observation from a scraper.