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

# Recent contracts

> The public trade tape — recently matched YES/NO contracts at a
price and volume, newest first. Served for settled markets too
(historical tape from storage), not only live engine markets.



## OpenAPI

````yaml /api-reference/openapi/calibri.yaml get /api/v2/pythia/public/markets/{market}/contracts/recent
openapi: 3.1.0
info:
  title: Calibri API
  version: 1.0.0
  description: >-
    The Calibri API. Discover markets, read live books, place signed orders, and
    manage positions and account data.

    Routed by path prefix to the service that answers it — which is an
    implementation detail, not something a caller has to reason about.
servers:
  - description: Production
    url: https://calibri.io
security: []
tags:
  - name: Health
    description: Service liveness.
    x-displayName: Health
  - name: Events
    description: Discover events and their metadata.
    x-displayName: Events
  - name: Markets
    description: List markets and load market detail for trading.
    x-displayName: Markets
  - name: Series
    description: Recurring event series.
    x-displayName: Series
  - name: Tags
    description: Editorial shelves used to browse the catalogue.
    x-displayName: Tags
  - name: Market Data
    description: Order book, depth, trade tape, tickers, and candles.
    x-displayName: Market Data
  - name: Assets
    description: Underlying asset price history for price-feed markets.
    x-displayName: Assets
  - name: Community
    description: Leaderboard and platform activity.
    x-displayName: Community
  - name: Currencies
    description: Currency registry.
    x-displayName: Currencies
  - name: Trade
    description: Place, list, and cancel orders.
    x-displayName: Trade
  - name: Positions
    description: Your matched contracts.
    x-displayName: Positions
  - name: Wallet
    description: Self-custody Safe, passkey, session keys, and relay.
    x-displayName: Wallet
  - name: Rewards
    description: Maker rebates and referral earnings.
    x-displayName: Rewards
  - name: Account
    description: Balances, ledger, PnL, limits, preferences, and profile.
    x-displayName: Account
  - name: Categories
    description: Categories
    x-displayName: Categories
  - name: Other
    description: Other
    x-displayName: Other
externalDocs:
  description: ''
  url: ''
paths:
  /api/v2/pythia/public/markets/{market}/contracts/recent:
    get:
      tags:
        - Market Data
      summary: Recent contracts
      description: |-
        The public trade tape — recently matched YES/NO contracts at a
        price and volume, newest first. Served for settled markets too
        (historical tape from storage), not only live engine markets.
      parameters:
        - description: Market id
          in: path
          name: market
          required: true
          schema:
            type: string
        - description: Rows, 1-1000 (default 100)
          in: query
          name: limit
          schema:
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/PublicContract'
                type: array
          description: OK
      security: []
components:
  schemas:
    PublicContract:
      properties:
        created_at:
          description: When the contract matched. RFC3339 UTC.
          example: '2026-08-07T10:00:00Z'
          type: string
        id:
          example: 1420
          type: integer
        market_id:
          example: '12'
          type: string
        price:
          example: '0.62'
          type: string
        state:
          enum:
            - active
            - settled_yes
            - settled_no
          example: active
          type: string
        taker_side:
          description: >-
            TakerSide names the outcome the AGGRESSOR bought — the side that
            crossed

            the spread and paid the taker fee. It is what lets a tape be read as

            pressure rather than as a list of prices: direction inferred from
            the

            price moving says nothing on the many fills that print at the price

            before them.


            Empty means UNKNOWN, not "neither". A contract matched before the
            engine

            recorded a taker, and any row served from the QuestDB tape (whose

            `contracts` table does not carry the taker), report "" — clients
            must

            render those as unattributed rather than picking a side.
          enum:
            - ''
            - 'yes'
            - 'no'
          example: 'yes'
          type: string
        volume:
          example: '25.5'
          type: string
      type: object

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.