# Polymarket — Get current nonce for a user

Get Polymarket Wallet Nonce data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Polymarket, pass parameters such as address, type, and retrieve structured data including structured JSON records, identifiers, and response metadata for account diagnostics, and exact state storage, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/polymarket/polymarket-get-current-nonce-for-a-user/5db743e1-3f97-436f-9b2d-360f42bf3ead/
API ID: 5db743e1-3f97-436f-9b2d-360f42bf3ead
Provider: Polymarket
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/nonce
Page update time: 2026-12-03T02:49:30.925Z
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:30.235Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Polymarket Wallet Nonce API

Both address and type are required query fields. address identifies the signer, while type selects PROXY or SAFE. The response nonce is a string; retain it without coercing large values into an imprecise numeric type.

## What You Can Build

- **Account diagnostics**: Inspect the nonce for a specific signer and wallet type.
- **Exact state storage**: Retain nonce values without floating-point precision loss.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `nonce` | Current nonce as a string |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Polymarket — Get current nonce for a user 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": "User's signer address"
        },
        "type": {
          "type": "string",
          "description": "Type of nonce to retrieve",
          "enum": [
            "PROXY",
            "SAFE"
          ]
        }
      },
      "required": [
        "address",
        "type"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

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

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/polymarket/nonce?address=0x17eC161f126e82A8ba337f4022d574DBEaFef575&type=SAFE' \
  -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
{
  "nonce": "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 type optional?
No. Supply either PROXY or SAFE explicitly. This differs from the deployment-status route, which has a default type.

### Is address the relayer address?
The request contract identifies it as the user's signer address. A relayer address is a different role.

### How should I store nonce?
Keep the returned string, or use an exact integer representation when arithmetic is required. A value of "0" is a returned nonce, not a missing response.

### Does a nonce lookup execute a transaction?
No. It reads state without signing or submitting a transaction. A later action must use state appropriate to that action.

### 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-current-nonce-for-a-user/5db743e1-3f97-436f-9b2d-360f42bf3ead/

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