Update Polymarket docs - 2026-05-14

This commit is contained in:
Etherdrake
2026-05-14 15:21:41 +02:00
parent f40087f410
commit fa49cb64f0
104 changed files with 39 additions and 20783 deletions
+7
View File
@@ -117,6 +117,13 @@ The geoblocking system includes:
* **Primary Servers**: eu-west-2
* **Closest Non-Georestricted Region**: eu-west-1
<Tip>
**Direct co-location available.** Users who complete the [KYC/KYB
form](https://forms.gle/Qy39FtiizodXbdLNA) can get access to co-locate
directly in `eu-west-2` for the lowest possible latency to Polymarket's
primary servers.
</Tip>
***
## Usage Examples
+3 -1
View File
@@ -1,6 +1,7 @@
> ## 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.
# Rate Limits
> API rate limits for all Polymarket endpoints
@@ -8,6 +9,7 @@
All API rate limits are enforced using Cloudflare's throttling system. When you exceed the limit for any endpoint, requests are throttled (delayed/queued) rather than immediately rejected. Limits reset on sliding time windows.
***
## General
| Endpoint | Limit |
@@ -121,4 +123,4 @@ Trading endpoints have both **burst** limits (short spikes allowed) and **sustai
<Card title="Clients & SDKs" icon="cube" href="/api-reference/clients-sdks">
Official TypeScript, Python, and Rust libraries.
</Card>
</CardGroup>
</CardGroup>
@@ -1,106 +0,0 @@
> ## 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.
# Check if a safe is deployed
> Returns a payload that determines if a safe is deployed. Takes in the user's Polymarket proxy address.
## OpenAPI
````yaml /api-spec/relayer-openapi.yaml get /deployed
openapi: 3.0.3
info:
title: Polymarket Relayer API
version: 1.0.0
description: HTTP API for the Polymarket Relayer. Submit and track gasless transactions.
servers:
- url: https://relayer-v2.polymarket.com
description: Polymarket Relayer API
security: []
tags:
- name: Relayer
description: Relayer transaction operations
- name: Relayer API Keys
description: >
Relayer API keys let a user authenticate requests to relayer endpoints
without Gamma auth.
However, Relayer API keys can only be created using Gamma auth. Every
address can create a maximum of 100 keys.
The API key auth headers are:
- `RELAYER_API_KEY`
- `RELAYER_API_KEY_ADDRESS`
`RELAYER_API_KEY_ADDRESS` must match the address that owns the key.
paths:
/deployed:
get:
tags:
- Relayer
summary: Check if a safe is deployed
description: >
Returns a payload that determines if a safe is deployed. Takes in the
user's Polymarket proxy address.
parameters:
- name: address
in: query
required: true
description: User's Polymarket proxy address
schema:
$ref: '#/components/schemas/Address'
example: '0x6d8c4e9aDF5748Af82Dabe2C6225207770d6B4fa'
responses:
'200':
description: Deployment status retrieved successfully
content:
application/json:
schema:
$ref: '#/components/schemas/DeployedResponse'
example:
deployed: true
'400':
description: Bad Request - Missing or invalid address
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error: invalid address
'500':
description: Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
components:
schemas:
Address:
type: string
description: Ethereum address (0x-prefixed, 40 hex chars)
pattern: ^0x[a-fA-F0-9]{40}$
example: '0x6e0c80c90ea6c15917308F820Eac91Ce2724B5b5'
DeployedResponse:
type: object
properties:
deployed:
type: boolean
description: Whether the safe is deployed
example: true
ErrorResponse:
type: object
properties:
error:
type: string
required:
- error
````
@@ -12,7 +12,7 @@ Builder-authenticated clients can also use this endpoint to retrieve orders attr
## OpenAPI
````yaml /api-spec/clob-openapi.yaml get /order/{orderID}
````yaml /api-spec/clob-openapi.yaml get /data/order/{orderID}
openapi: 3.1.0
info:
title: Polymarket CLOB API
@@ -41,7 +41,7 @@ tags:
- name: Rebates
description: Maker rebate endpoints
paths:
/order/{orderID}:
/data/order/{orderID}:
get:
tags:
- Trade
+2 -2
View File
@@ -12,7 +12,7 @@ Requires readonly or level 2 API key authentication.
## OpenAPI
````yaml /api-spec/clob-openapi.yaml get /trades
````yaml /api-spec/clob-openapi.yaml get /data/trades
openapi: 3.1.0
info:
title: Polymarket CLOB API
@@ -41,7 +41,7 @@ tags:
- name: Rebates
description: Maker rebate endpoints
paths:
/trades:
/data/trades:
get:
tags:
- Trade