# Polymarket — Get fee rate

Read the Polymarket base-fee field via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by Polymarket, pass parameters such as token_id, and retrieve structured data including base fee for market details, and metadata enrichment, ready for production pipelines and AI agent automation using a single OpenAny API key.

Documentation: https://openany.si/polymarket/polymarket-get-fee-rate/fdb4c4ac-44c8-48b2-8e5e-4581fffc0078/
API ID: fdb4c4ac-44c8-48b2-8e5e-4581fffc0078
Provider: Polymarket
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/fee-rate
Page update time: 2026-12-03T02:49:26.302Z
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:26.031Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Polymarket Fee Rate API

Provide the target outcome token\_id as a string query value; this selected contract marks it optional, so supply it explicitly for a targeted lookup. The response is an object with base\_fee. Keep its fee context separate from OpenAny API request pricing.

## What You Can Build

- **Market details**: Display returned fee context alongside token identity.
- **Metadata enrichment**: Keep market fees and API request charges separate.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `base_fee` | Reported base-fee value for the selected token |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Polymarket — Get fee rate 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": {
        "token_id": {
          "type": "string",
          "description": "Token ID (asset ID)"
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

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

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/polymarket/fee-rate?token_id=20006732765674855733524007935991362439352594042415161039767275461950712817548' \
  -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
{
  "base_fee": 0
}
```

## 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 base_fee the OpenAny request price?
No. It is returned market-fee context. OpenAny pricing follows the selected API implementation’s billing contract.

### Does a zero value prove all trading is always free?
No. It is a reported value for the selected token and observation. Do not generalize it to every market or future request.

### Can I pass a market ID instead of token_id?
Use the outcome token identifier accepted by this route; preserve it as a string.

### Where does token_id go?
Pass it as a query parameter. The path-based fee-rate lookup is a separate implementation.

### 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-fee-rate/fdb4c4ac-44c8-48b2-8e5e-4581fffc0078/

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