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

# 获取博彩公司

> 列出博彩公司。

返回提供的apiKey可用的博彩公司目录。

查询模式：`bookmakers`（可选过滤列表）+ `playerProps`（可选功能过滤）。



## OpenAPI

````yaml /zh/api-reference/openapi.json get /bookmakers
openapi: 3.1.0
info:
  title: 赔率 API v5
  version: 5.0.0
  description: 高性能赔率API，由Valkey + Supabase RPC发现支持。
servers:
  - url: https://v5.oddspapi.io/zh
security:
  - ApiKeyAuth: []
tags:
  - name: common
  - name: fixtures
  - name: fixtures/odds
  - name: futures
  - name: futures/odds
  - name: mapping
  - name: media
  - name: settlement
paths:
  /bookmakers:
    get:
      tags:
        - common
      summary: 获取博彩公司
      description: |-
        列出博彩公司。

        返回提供的apiKey可用的博彩公司目录。

        查询模式：`bookmakers`（可选过滤列表）+ `playerProps`（可选功能过滤）。
      operationId: get_bookmakers__lang__bookmakers_get
      parameters:
        - name: bookmakers
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
          description: 逗号或空格分隔的博彩公司标识。支持`*`/`all`作为通配符。
        - name: playerProps
          in: query
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: 'null'
          description: 如果为true，仅返回支持球员投注盘口的博彩公司。
      responses:
        '200':
          description: 返回 Bookmaker[]
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BookmakerList'
              examples:
                example:
                  summary: Bookmaker list
                  value:
                    - slug: 188bet
                      bookmakerName: 188BET
                      active: true
                      domain: https://188bet.com
                      serverGroup: at4
                      price: 10
                      websocketPregame: true
                      websocketLive: false
                      maxDelayPregameInSec: 80
                      maxDelayPregameMainInSec: 60
                      availableCountries:
                        - ag
                        - al
                        - am
                        - ar
                        - at
                    - slug: 1xbet
                      bookmakerName: 1xBet
                      active: true
                      domain: https://1xbet.com
                      serverGroup: de4
                      price: 10
                      websocketPregame: true
                      websocketLive: true
                      maxDelayPregameInSec: 30
                      maxDelayLiveInSec: 4
                      maxDelayPregameMainInSec: 6
                      availableCountries:
                        - bo
                        - kr
                        - tn
                        - in
        '400':
          $ref: '#/components/responses/ApiError'
        '401':
          $ref: '#/components/responses/ApiError'
        '403':
          $ref: '#/components/responses/ApiError'
        '422':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/ApiError'
components:
  schemas:
    BookmakerList:
      type: array
      items:
        $ref: '#/components/schemas/Bookmaker'
    Bookmaker:
      type: object
      properties:
        slug:
          type: string
        bookmakerName:
          type: string
        active:
          type: boolean
        domain:
          type:
            - string
            - 'null'
          format: uri
        serverGroup:
          type:
            - string
            - 'null'
        price:
          type:
            - integer
            - 'null'
        websocketPregame:
          type:
            - boolean
            - 'null'
        websocketLive:
          type:
            - boolean
            - 'null'
        playerProps:
          type:
            - boolean
            - 'null'
        maxDelayPregameInSec:
          type:
            - number
            - 'null'
        maxDelayLiveInSec:
          type:
            - number
            - 'null'
        maxDelayPregameMainInSec:
          type:
            - number
            - 'null'
        availableCountries:
          type:
            - array
            - 'null'
          items:
            type: string
      required:
        - slug
        - bookmakerName
        - active
      additionalProperties: true
    Error:
      type: object
      description: Concrete error format returned by this API (no FastAPI detail wrapper).
      properties:
        error:
          type: integer
          description: HTTP status code
        message:
          type: string
          description: Human-readable error message
        code:
          type: string
          description: Machine-readable reason code
        details:
          description: Optional extra details (string/object/array depending on the error).
      required:
        - error
        - message
      additionalProperties: true
    HTTPValidationError:
      title: HTTPValidationError
      type: object
      properties:
        detail:
          title: Detail
          type: array
          items:
            $ref: '#/components/schemas/ValidationError'
    ValidationError:
      title: ValidationError
      type: object
      required:
        - loc
        - msg
        - type
      properties:
        loc:
          title: Location
          type: array
          items:
            anyOf:
              - type: string
              - type: integer
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
  responses:
    ApiError:
      description: API error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            invalid_filters:
              summary: Invalid filters
              value:
                error: 400
                message: Invalid filters.
                reason: invalid_filters
            invalid_api_key:
              summary: Invalid apiKey
              value:
                error: 401
                message: invalid apiKey
                reason: invalid_api_key
            rate_limited:
              summary: Rate limited
              value:
                error: 429
                message: rate limit exceeded
                reason: rate_limited
                retryAfterSec: 1
    ValidationError:
      description: Validation Error (framework-level)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/HTTPValidationError'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: query
      name: apiKey
      description: Your API key (query-based auth for v5).

````