# 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/market/apis/polymarket/polymarket-get-a-quote/?offering=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
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
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
}
```

## 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.

## Available implementations
- Polymarket: https://openany.si/market/apis/polymarket/polymarket-get-a-quote/?offering=70b660f4-7929-4594-8817-74364444d00c

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