Add scraped Polymarket documentation (117 files)

This commit is contained in:
Etherdrake
2026-02-14 12:59:26 +01:00
parent 26c6b35691
commit 9263557be6
119 changed files with 27955 additions and 0 deletions
@@ -0,0 +1,97 @@
> ## Documentation Index
> Fetch the complete documentation index at: https://docs.polymarket.com/llms.txt
> Use this file to discover all available pages before exploring further.
# Get sports metadata information
> Retrieves metadata for various sports including images, resolution sources, ordering preferences, tags, and series information. This endpoint provides comprehensive sport configuration data used throughout the platform.
## OpenAPI
````yaml api-reference/gamma-openapi.json get /sports
openapi: 3.0.3
info:
title: Markets API
version: 1.0.0
description: REST API specification for public endpoints used by the Markets service.
servers:
- url: https://gamma-api.polymarket.com
description: Polymarket Gamma API Production Server
security: []
tags:
- name: Gamma Status
description: Gamma API status and health check
- name: Sports
description: Sports-related endpoints including teams and game data
- name: Tags
description: Tag management and related tag operations
- name: Events
description: Event management and event-related operations
- name: Markets
description: Market data and market-related operations
- name: Comments
description: Comment system and user interactions
- name: Series
description: Series management and related operations
- name: Profiles
description: User profile management
- name: Search
description: Search functionality across different entity types
paths:
/sports:
get:
tags:
- Sports
summary: Get sports metadata information
description: >-
Retrieves metadata for various sports including images, resolution
sources, ordering preferences, tags, and series information. This
endpoint provides comprehensive sport configuration data used throughout
the platform.
operationId: getSportsMetadata
responses:
'200':
description: >-
List of sports metadata objects containing sport configuration
details, visual assets, and related identifiers
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/SportsMetadata'
components:
schemas:
SportsMetadata:
type: object
properties:
sport:
type: string
description: The sport identifier or abbreviation
image:
type: string
format: uri
description: URL to the sport's logo or image asset
resolution:
type: string
format: uri
description: >-
URL to the official resolution source for the sport (e.g., league
website)
ordering:
type: string
description: Preferred ordering for sport display, typically "home" or "away"
tags:
type: string
description: >-
Comma-separated list of tag IDs associated with the sport for
categorization and filtering
series:
type: string
description: >-
Series identifier linking the sport to a specific tournament or
season series
````
@@ -0,0 +1,71 @@
> ## Documentation Index
> Fetch the complete documentation index at: https://docs.polymarket.com/llms.txt
> Use this file to discover all available pages before exploring further.
# Get valid sports market types
> Get a list of all valid sports market types available on the platform. Use these values when filtering markets by the sportsMarketTypes parameter.
## OpenAPI
````yaml api-reference/gamma-openapi.json get /sports/market-types
openapi: 3.0.3
info:
title: Markets API
version: 1.0.0
description: REST API specification for public endpoints used by the Markets service.
servers:
- url: https://gamma-api.polymarket.com
description: Polymarket Gamma API Production Server
security: []
tags:
- name: Gamma Status
description: Gamma API status and health check
- name: Sports
description: Sports-related endpoints including teams and game data
- name: Tags
description: Tag management and related tag operations
- name: Events
description: Event management and event-related operations
- name: Markets
description: Market data and market-related operations
- name: Comments
description: Comment system and user interactions
- name: Series
description: Series management and related operations
- name: Profiles
description: User profile management
- name: Search
description: Search functionality across different entity types
paths:
/sports/market-types:
get:
tags:
- Sports
summary: Get valid sports market types
description: >-
Get a list of all valid sports market types available on the platform.
Use these values when filtering markets by the sportsMarketTypes
parameter.
operationId: getSportsMarketTypes
responses:
'200':
description: List of valid sports market types
content:
application/json:
schema:
$ref: '#/components/schemas/SportsMarketTypesResponse'
components:
schemas:
SportsMarketTypesResponse:
type: object
properties:
marketTypes:
type: array
description: List of all valid sports market types
items:
type: string
````
+137
View File
@@ -0,0 +1,137 @@
> ## Documentation Index
> Fetch the complete documentation index at: https://docs.polymarket.com/llms.txt
> Use this file to discover all available pages before exploring further.
# List teams
## OpenAPI
````yaml api-reference/gamma-openapi.json get /teams
openapi: 3.0.3
info:
title: Markets API
version: 1.0.0
description: REST API specification for public endpoints used by the Markets service.
servers:
- url: https://gamma-api.polymarket.com
description: Polymarket Gamma API Production Server
security: []
tags:
- name: Gamma Status
description: Gamma API status and health check
- name: Sports
description: Sports-related endpoints including teams and game data
- name: Tags
description: Tag management and related tag operations
- name: Events
description: Event management and event-related operations
- name: Markets
description: Market data and market-related operations
- name: Comments
description: Comment system and user interactions
- name: Series
description: Series management and related operations
- name: Profiles
description: User profile management
- name: Search
description: Search functionality across different entity types
paths:
/teams:
get:
tags:
- Sports
summary: List teams
operationId: listTeams
parameters:
- $ref: '#/components/parameters/limit'
- $ref: '#/components/parameters/offset'
- $ref: '#/components/parameters/order'
- $ref: '#/components/parameters/ascending'
- name: league
in: query
schema:
type: array
items:
type: string
- name: name
in: query
schema:
type: array
items:
type: string
- name: abbreviation
in: query
schema:
type: array
items:
type: string
responses:
'200':
description: List of teams
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Team'
components:
parameters:
limit:
name: limit
in: query
schema:
type: integer
minimum: 0
offset:
name: offset
in: query
schema:
type: integer
minimum: 0
order:
name: order
in: query
schema:
type: string
description: Comma-separated list of fields to order by
ascending:
name: ascending
in: query
schema:
type: boolean
schemas:
Team:
type: object
properties:
id:
type: integer
name:
type: string
nullable: true
league:
type: string
nullable: true
record:
type: string
nullable: true
logo:
type: string
nullable: true
abbreviation:
type: string
nullable: true
alias:
type: string
nullable: true
createdAt:
type: string
format: date-time
nullable: true
updatedAt:
type: string
format: date-time
nullable: true
````