# Polymarket — Get a quote

Get Polymarket Bridge Quote data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Polymarket, pass parameters such as fromAmountBaseUnit, fromChainId, fromTokenAddress, and retrieve structured data including quote identifier to route review, and unit conversion, ready for production pipelines and AI agent automation using a single OpenAny API key.

Documentation: https://openany.si/polymarket/polymarket-get-a-quote/70b660f4-7929-4594-8817-74364444d00c/
API ID: 70b660f4-7929-4594-8817-74364444d00c
Provider: Polymarket
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/quote
Page update time: 2026-12-03T02:49:30.956Z
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: application/json
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:30.295Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Polymarket Bridge Quote API

POST a JSON object with all six required string fields: fromAmountBaseUnit, fromChainId, fromTokenAddress, recipientAddress, toChainId and toTokenAddress. The response contains estimated values and a quoteId. A quote read does not execute the transfer.

## What You Can Build

- **Route review**: Display estimated output and timing for the selected assets.
- **Unit conversion**: Use token decimals when preparing a base-unit quote amount.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `quoteId` | Quote identifier |
| `estToTokenBaseUnit` | Estimated output in destination-token base units |
| `estInputUsd` | Estimated input value in USD |
| `estOutputUsd` | Estimated output value in USD |
| `estCheckoutTimeMs` | Estimated checkout time in milliseconds |
| `estFeeBreakdown` | Estimated bridge fee and impact breakdown |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Polymarket — Get a quote 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": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "description": "Get a quote — complete native JSON request body.",
      "examples": [
        {
          "fromAmountBaseUnit": "10000000",
          "fromChainId": "137",
          "fromTokenAddress": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
          "recipientAddress": "0x17eC161f126e82A8ba337f4022d574DBEaFef575",
          "toChainId": "137",
          "toTokenAddress": "0xC011a7E12a19f7B1f670d46F03B03f3342E82DFB"
        }
      ],
      "properties": {
        "fromAmountBaseUnit": {
          "description": "Amount of tokens to send",
          "example": "10000000",
          "type": "string"
        },
        "fromChainId": {
          "description": "Source Chain ID",
          "example": "137",
          "type": "string"
        },
        "fromTokenAddress": {
          "description": "Source token address",
          "example": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
          "type": "string"
        },
        "recipientAddress": {
          "description": "Address of the recipient",
          "example": "0x17eC161f126e82A8ba337f4022d574DBEaFef575",
          "type": "string"
        },
        "toChainId": {
          "description": "Destination Chain ID",
          "example": "137",
          "type": "string"
        },
        "toTokenAddress": {
          "description": "Destination token address",
          "example": "0xC011a7E12a19f7B1f670d46F03B03f3342E82DFB",
          "type": "string"
        }
      },
      "required": [
        "fromAmountBaseUnit",
        "fromChainId",
        "fromTokenAddress",
        "recipientAddress",
        "toChainId",
        "toTokenAddress"
      ],
      "type": "object"
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "estCheckoutTimeMs": {
      "type": "integer"
    },
    "estFeeBreakdown": {
      "type": "object",
      "properties": {
        "appFeeLabel": {
          "type": "string"
        },
        "appFeePercent": {
          "type": "integer"
        },
        "appFeeUsd": {
          "type": "integer"
        },
        "fillCostPercent": {
          "type": "integer"
        },
        "fillCostUsd": {
          "type": "integer"
        },
        "gasUsd": {
          "type": "number"
        },
        "maxSlippage": {
          "type": "integer"
        },
        "minReceived": {
          "type": "number"
        },
        "swapImpact": {
          "type": "number"
        },
        "swapImpactUsd": {
          "type": "number"
        },
        "totalImpact": {
          "type": "number"
        },
        "totalImpactUsd": {
          "type": "number"
        }
      }
    },
    "estInputUsd": {
      "type": "number"
    },
    "estOutputUsd": {
      "type": "number"
    },
    "estToTokenBaseUnit": {
      "type": "string"
    },
    "quoteId": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/polymarket/quote' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "fromAmountBaseUnit": "10000000",
  "fromChainId": "137",
  "fromTokenAddress": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
  "recipientAddress": "0x17eC161f126e82A8ba337f4022d574DBEaFef575",
  "toChainId": "137",
  "toTokenAddress": "0xC011a7E12a19f7B1f670d46F03B03f3342E82DFB"
}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "estCheckoutTimeMs": 27000,
  "estFeeBreakdown": {
    "appFeeLabel": "Swap fee",
    "appFeePercent": 0,
    "appFeeUsd": 0,
    "fillCostPercent": 0,
    "fillCostUsd": 0,
    "gasUsd": 0.004491,
    "maxSlippage": 0,
    "minReceived": 9.894910999999999,
    "swapImpact": 0.033805949847173104,
    "swapImpactUsd": 0.0033799999999999998,
    "totalImpact": 0.033805949847173104,
    "totalImpactUsd": 0.00338
  },
  "estInputUsd": 9.99824,
  "estOutputUsd": 9.99486,
  "estToTokenBaseUnit": "9997559",
  "quoteId": "0x1793282429d2747107a3ad309e09248c83f28f335df9c50cc8cb0b3188c2ca59"
}
```

## 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
### What units does fromAmountBaseUnit use?
Send the amount as a string in the source token's base units. Use that token's decimals rather than passing a formatted human-readable amount.

### Are all six body fields required?
Yes. Provide both chain IDs, both token addresses, fromAmountBaseUnit and recipientAddress. Chain IDs and amounts are strings in this JSON contract.

### Does a quote send funds?
No. It previews a route. A transfer is a separate action, and estimates are not a confirmation of execution.

### Is estFeeBreakdown the OpenAny call price?
No. It describes the bridge estimate. Check OpenAny request pricing separately for the selected 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-a-quote/70b660f4-7929-4594-8817-74364444d00c/

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