# Polymarket — Get Trading Competition Widget

Get Polymarket Perps Contest Widget Data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Polymarket, pass parameters such as address, and retrieve structured data including widget response timestamp to display components, and empty-detail handling, ready for production pipelines and AI agent automation using a single OpenAny API key.

Documentation: https://openany.si/polymarket/polymarket-get-trading-competition-widget/29a81761-9421-4158-a923-82d4efc8e1a1/
API ID: 29a81761-9421-4158-a923-82d4efc8e1a1
Provider: Polymarket
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/v1/info/competition/widget
Page update time: 2026-12-03T02:49:32.667Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:32.001Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Polymarket Perps Contest Widget Data API

address is optional. The response can contain timestamp without competition details. Treat that payload as its own display state, and read contest-specific details through the dedicated competition operation when you have an identifier.

## What You Can Build

- **Display components**: Read the available widget payload for presentation.
- **Empty-detail handling**: Retain the timestamp when no competition details are returned.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `timestamp` | Widget response timestamp |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Polymarket — Get Trading Competition Widget request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "address": {
          "type": "string",
          "description": "Address"
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "timestamp": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/polymarket/v1/info/competition/widget?address=0x4c4f4d655B77c4d1cB4343AF6c54c2Ec8f4022b4' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "timestamp": 1793282476751
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Is address required?
No. It is optional account context for the widget read.

### Why might the payload contain only timestamp?
The response can provide a timestamp without contest detail records. Handle that state before rendering a competition card.

### Does this endpoint return a rendered widget image?
It returns data for a display component. Your application is responsible for rendering the widget.

### How do I retrieve a known competition's configuration?
Use the dedicated competition details implementation with its required positive competition_id.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

## Available implementations
- Polymarket: https://openany.si/polymarket/polymarket-get-trading-competition-widget/29a81761-9421-4158-a923-82d4efc8e1a1/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
