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

# Fee Config by ID

> Returns the taker fee configuration for a Polymarket event by its numeric ID. Uses the legacy fee formula.



## OpenAPI

````yaml GET /api/v1/fees/event/id/{eventId}
openapi: 3.1.0
info:
  title: Vatic API
  version: 1.0.0
  description: >-
    Polymarket price targets, Hyperliquid prediction market data, market
    timestamps, fee calculators, and order management for systematic prediction
    market trading.
servers:
  - url: https://api.vatic.trading
    description: Production
security: []
paths:
  /api/v1/fees/event/id/{eventId}:
    get:
      tags:
        - Fees (Legacy)
      summary: Fee config by event ID (legacy)
      description: >-
        Returns the taker fee configuration for a Polymarket event by its
        numeric ID. Uses the legacy fee formula.
      operationId: getFeesEventById
      parameters:
        - name: eventId
          in: path
          required: true
          schema:
            type: string
            example: '512345'
      responses:
        '200':
          description: Fee configuration
        '400':
          description: Missing eventId
        '502':
          description: Gamma API unavailable

````