Gemini Trust Company Volume API

Public, unauthenticated prediction-market trade volume by category and UTC period.

Operations 2

GET /v1/prediction-markets/volume/{date} Get daily prediction market trade volume #
GET /v1/prediction-markets/volume/{date}/hourly Get hourly prediction market trade volume #

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/gemini-trust-volume-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

gemini-trust-volume-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Gemini Prediction Markets Volume API
  description: 'API for trading prediction market contracts on Gemini.


    **Note:** Only fields documented in this specification are considered stable. Undocumented fields in API responses may change or be removed without notice.'
  version: 1.0.0
  contact:
    name: Gemini API Support
servers:
- url: https://api.gemini.com
  description: Production
- url: https://api.sandbox.gemini.com
  description: Sandbox
tags:
- name: Volume
  description: Public, unauthenticated prediction-market trade volume by category and UTC period.
paths:
  /v1/prediction-markets/volume/{date}:
    get:
      tags:
      - Volume
      summary: Get daily prediction market trade volume
      description: 'Returns prediction-market trade volume by category for one completed UTC day. This is a public, unauthenticated endpoint.


        `date` must use the `YYYY-MM-DD` UTC calendar-date format. Requests may select one day in the rolling one-year UTC window ending before the current UTC day; the current UTC day is not available. The exact earliest supported date is evaluated for each request.


        Prediction-market volume begins at `2025-12-15`. A pre-launch date, or a post-launch date with any missing source hour, returns `404 NOT_FOUND`. The endpoint never synthesizes zero-volume rows for time before launch.


        All volume values are non-negative decimal strings. Category rows are flat and ordered with each parent before its descendants. Each category row''s `volume` includes trades assigned directly to that category and to all descendant categories.'
      operationId: getPredictionMarketDailyVolume
      parameters:
      - name: date
        in: path
        required: true
        description: Completed UTC calendar date in `YYYY-MM-DD` format.
        schema:
          type: string
          format: date
      responses:
        '200':
          description: Category volume for the requested UTC day
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PredictionMarketVolumeCategory'
              examples:
                dailyVolume:
                  summary: Daily category volume
                  value:
                  - categoryPath:
                    - Sports
                    volume: '200097'
                  - categoryPath:
                    - Sports
                    - Soccer
                    volume: '3952'
        '400':
          description: Invalid or unsupported date. The message includes the current one-year UTC date bounds.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                invalidDate:
                  summary: Date must use the required UTC calendar-date format
                  value:
                    error: BAD_REQUEST
                    message: 'date must use YYYY-MM-DD. Supported one-year UTC date range: <earliest UTC date> <= date < <current UTC date>'
        '404':
          description: No complete volume data is available for the requested date. This includes dates before prediction markets launched and post-launch dates with a missing source hour.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: NOT_FOUND
                message: Prediction market volume data is not available for the requested date
        '503':
          description: The canonical source is invalid or temporarily unavailable. The endpoint does not return a partial result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: SERVICE_UNAVAILABLE
                message: Prediction market volume data is temporarily unavailable
  /v1/prediction-markets/volume/{date}/hourly:
    get:
      tags:
      - Volume
      summary: Get hourly prediction market trade volume
      description: 'Returns prediction-market trade volume by category and UTC hour for one completed UTC day. This is a public, unauthenticated endpoint.


        `date` must use the `YYYY-MM-DD` UTC calendar-date format. Requests may select one day in the rolling one-year UTC window ending before the current UTC day; the current UTC day is not available. The exact earliest supported date is evaluated for each request.


        Prediction-market volume begins at `2025-12-15`. A pre-launch date, or a post-launch date with any missing source hour, returns `404 NOT_FOUND`. The endpoint never synthesizes zero-volume rows for time before launch or completed zero-volume hours.


        All volume values are non-negative decimal strings. Rows are ordered by UTC hour, then with each category parent before its descendants. Each category row''s `volume` includes trades assigned directly to that category and to all descendant categories.'
      operationId: getPredictionMarketHourlyVolume
      parameters:
      - name: date
        in: path
        required: true
        description: Completed UTC calendar date in `YYYY-MM-DD` format.
        schema:
          type: string
          format: date
      responses:
        '200':
          description: Hourly category volume for the requested UTC day
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PredictionMarketHourlyVolumeCategory'
              examples:
                hourlyVolume:
                  summary: Hourly category volume
                  value:
                  - periodStart: '2026-07-20T00:00:00Z'
                    categoryPath:
                    - Sports
                    volume: '200097'
                  - periodStart: '2026-07-20T00:00:00Z'
                    categoryPath:
                    - Sports
                    - Soccer
                    volume: '3952'
        '400':
          description: Invalid or unsupported date. The message includes the current one-year UTC date bounds.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                invalidDate:
                  summary: Date must use the required UTC calendar-date format
                  value:
                    error: BAD_REQUEST
                    message: 'date must use YYYY-MM-DD. Supported one-year UTC date range: <earliest UTC date> <= date < <current UTC date>'
        '404':
          description: No complete volume data is available for the requested date. This includes dates before prediction markets launched and post-launch dates with a missing source hour.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: NOT_FOUND
                message: Prediction market volume data is not available for the requested date
        '503':
          description: The canonical source is invalid or temporarily unavailable. The endpoint does not return a partial result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: SERVICE_UNAVAILABLE
                message: Prediction market volume data is temporarily unavailable
components:
  schemas:
    PredictionMarketVolumeCategory:
      type: object
      required:
      - categoryPath
      - volume
      properties:
        categoryPath:
          type: array
          description: Display-name path from the top-level category to this category. It replaces recursive child nodes.
          items:
            type: string
          example:
          - Sports
          - Football
          - Pro Football
        volume:
          allOf:
          - $ref: '#/components/schemas/PredictionMarketVolumeDecimal'
          description: Total volume for this category, including all descendant categories.
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error code
          example: InvalidInput
        message:
          type: string
          description: Human-readable error message
          example: orderId is required
    PredictionMarketHourlyVolumeCategory:
      type: object
      required:
      - periodStart
      - categoryPath
      - volume
      properties:
        periodStart:
          type: string
          format: date-time
          description: Inclusive UTC start of this hourly period.
          example: '2026-07-20T00:00:00Z'
        categoryPath:
          type: array
          description: Display-name path from the top-level category to this category. It replaces recursive child nodes.
          items:
            type: string
          example:
          - Sports
          - Football
          - Pro Football
        volume:
          allOf:
          - $ref: '#/components/schemas/PredictionMarketVolumeDecimal'
          description: Total volume for this category in this hour, including all descendant categories.
    PredictionMarketVolumeDecimal:
      type: string
      pattern: ^(?:0|[1-9][0-9]*)(?:\.[0-9]+)?$
      description: Non-negative decimal string. Preserve it as a string to avoid floating-point precision loss.
      example: '143567.25'
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-GEMINI-APIKEY
      description: Gemini API key with appropriate permissions
    payloadAuth:
      type: apiKey
      in: header
      name: X-GEMINI-PAYLOAD
      description: Base64-encoded private REST payload. See Gemini private REST authentication.
    signatureAuth:
      type: apiKey
      in: header
      name: X-GEMINI-SIGNATURE
      description: Hex HMAC-SHA384 signature of the payload using the API secret.