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

# OpenAPI document

> The OpenAPI 3.0 description of this API, generated from the running service. The public documentation site is built from it.



## OpenAPI

````yaml /sources/core-api.openapi.json get /openapi.json
openapi: 3.0.3
info:
  title: 4casters API
  version: 1.0.0
  description: >-
    Programmatic access to the 4casters peer-to-peer betting exchange. Generated
    from the service itself — every documented endpoint is described by the same
    schema that validates its requests.
  x-audience: public
servers:
  - url: https://api.4casters.io
security: []
paths:
  /openapi.json:
    get:
      tags:
        - Meta
      summary: OpenAPI document
      description: >-
        The OpenAPI 3.0 description of this API, generated from the running
        service. The public documentation site is built from it.
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  openapi:
                    type: string
                required:
                  - openapi
                additionalProperties: {}
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited — see Retry-After
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security: []
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
      required:
        - error
      additionalProperties: false

````

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