> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eventgraph.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Compare Pairs

> Cross-platform matched market pairs with price gaps and confidence scores (Pro tier)



## OpenAPI

````yaml GET /api/v1/compare
openapi: 3.0.3
info:
  title: EventGraph API
  description: >-
    Unified prediction market data across Polymarket, Kalshi, Limitless, and
    OpinionTrade.
  version: 1.0.0
  contact:
    name: EventGraph
    url: https://eventgraph.ai
    email: info@eventgraph.ai
servers:
  - url: https://app.eventgraph.ai
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /api/v1/compare:
    get:
      tags:
        - Intelligence
      summary: Compare Pairs
      description: >-
        Cross-platform matched market pairs with price gaps and confidence
        scores. Requires Pro tier.
      operationId: getCompare
      parameters:
        - name: min_match_score
          in: query
          required: false
          schema:
            type: number
            minimum: 0
            maximum: 1
            default: 0.55
        - name: min_gap
          in: query
          required: false
          description: Minimum gap in cents
          schema:
            type: number
            minimum: 0
            default: 0
        - name: sort_by
          in: query
          required: false
          schema:
            type: string
            enum:
              - gap
              - volume
              - score
            default: gap
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 50
      responses:
        '200':
          description: Matched pairs
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompareResponse'
        '403':
          description: Pro tier required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    CompareResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ComparePair'
        timestamp:
          type: string
          format: date-time
        meta:
          $ref: '#/components/schemas/PaginationMeta'
    Error:
      type: object
      properties:
        detail:
          type: object
          properties:
            error:
              type: string
            message:
              type: string
    ComparePair:
      type: object
      properties:
        id:
          type: string
        event_title:
          type: string
        match_score:
          type: number
        confidence:
          type: string
        gap_cents:
          type: number
          description: Price difference in cents
        gap_direction:
          type: string
          description: Platform with higher price
        platforms:
          type: array
          items:
            type: object
            properties:
              platform:
                type: string
              title:
                type: string
              yes_price:
                type: number
              volume:
                type: number
              url:
                type: string
    PaginationMeta:
      type: object
      properties:
        total:
          type: integer
        page:
          type: integer
        page_size:
          type: integer
        total_pages:
          type: integer
        response_ms:
          type: number
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your EventGraph API key (eg_live_...)

````