ZeroGEX Admin API

The Admin API from ZeroGEX, for admin.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 7

POST /api/admin/api-keys/provision Provision #
POST /api/admin/api-keys/revoke-all Revoke All #
GET /api/admin/api-keys List Keys #
GET /api/admin/x-post/symbols Symbols #
GET /api/admin/x-post/latest Latest #
POST /api/admin/x-post/regenerate Regenerate #
GET /api/admin/x-post/image Image #

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/zerogex-io:zerogex-io-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. 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

zerogex-io-admin-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ZeroGEX Admin API
  description: 'Real-time options analytics API.


    **Two versions are served.**


    * **v2 (recommended)** — `/api/v2/*`. Every endpoint returns `{"data": ..., "freshness": {...}}`, where the `freshness` block reports response evaluation time, the underlying data''s source timestamp, the market session, the expected update cadence, and a rolled-up `freshness_status` — so endpoint health and data age are separate, machine-readable facts on every response.

    * **v1 (stable)** — `/api/*` and `/api/v1/levels/*`. Unchanged and supported; `data` in a v2 response is byte-for-byte the v1 body.


    See "API versions & the freshness envelope" in API_Guide.md for the field contract and the per-endpoint cadence table.'
  version: 2.0.0
tags:
- name: Admin
paths:
  /api/admin/api-keys/provision:
    post:
      tags:
      - Admin
      summary: Provision
      operationId: provision_api_admin_api_keys_provision_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProvisionRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Provision Api Admin Api Keys Provision Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/admin/api-keys/revoke-all:
    post:
      tags:
      - Admin
      summary: Revoke All
      operationId: revoke_all_api_admin_api_keys_revoke_all_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RevokeAllRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Revoke All Api Admin Api Keys Revoke All Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/admin/api-keys:
    get:
      tags:
      - Admin
      summary: List Keys
      operationId: list_keys_api_admin_api_keys_get
      security:
      - HTTPBearer: []
      parameters:
      - name: user_id
        in: query
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 128
          title: User Id
      - name: active_only
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Active Only
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Keys Api Admin Api Keys Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/x-post/symbols:
    get:
      tags:
      - Admin
      summary: Symbols
      description: Configured tickers + default for the regenerate dropdown.
      operationId: symbols_api_admin_x_post_symbols_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Symbols Api Admin X Post Symbols Get
      security:
      - HTTPBearer: []
  /api/admin/x-post/latest:
    get:
      tags:
      - Admin
      summary: Latest
      description: 'The last auto-generated record for (symbol, timing).


        ``symbol`` defaults to the configured default; ``mode`` defaults to the

        current wall-clock ET timing. On the initial load (no explicit

        ``symbol``), if the default symbol has no record we fall back to the most

        recent scheduled run for this timing regardless of which symbol it

        featured — so the page always pre-fills from the last background run.

        ``record`` is null only when nothing at all has been generated for that

        slot (the page then offers Regenerate).'
      operationId: latest_api_admin_x_post_latest_get
      security:
      - HTTPBearer: []
      parameters:
      - name: symbol
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 16
          - type: 'null'
          title: Symbol
      - name: mode
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Mode
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Latest Api Admin X Post Latest Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/x-post/regenerate:
    post:
      tags:
      - Admin
      summary: Regenerate
      description: Generate a fresh post+reply for (symbol, mode) and store it as latest.
      operationId: regenerate_api_admin_x_post_regenerate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegenerateRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Regenerate Api Admin X Post Regenerate Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/admin/x-post/image:
    get:
      tags:
      - Admin
      summary: Image
      description: The Live Bulletin image the last run attached for (symbol, timing).
      operationId: image_api_admin_x_post_image_get
      security:
      - HTTPBearer: []
      parameters:
      - name: symbol
        in: query
        required: true
        schema:
          type: string
          maxLength: 16
          title: Symbol
      - name: mode
        in: query
        required: true
        schema:
          type: string
          title: Mode
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    RevokeAllRequest:
      properties:
        user_id:
          type: string
          maxLength: 128
          minLength: 1
          title: User Id
      type: object
      required:
      - user_id
      title: RevokeAllRequest
    RegenerateRequest:
      properties:
        symbol:
          anyOf:
          - type: string
            maxLength: 16
          - type: 'null'
          title: Symbol
        mode:
          anyOf:
          - type: string
          - type: 'null'
          title: Mode
      type: object
      title: RegenerateRequest
    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
    ProvisionRequest:
      properties:
        user_id:
          type: string
          maxLength: 128
          minLength: 1
          title: User Id
        base_name:
          type: string
          maxLength: 128
          minLength: 1
          title: Base Name
        tier:
          anyOf:
          - type: string
          - type: 'null'
          title: Tier
        scopes:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Scopes
        revoke_existing:
          type: boolean
          title: Revoke Existing
          default: true
      type: object
      required:
      - user_id
      - base_name
      title: ProvisionRequest
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
      bearerFormat: API-Key