# Polymarket — Check Invite Code

Get Polymarket Perps Invite Code Check data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Polymarket, pass parameters such as address, code, and retrieve structured data including reported code validation state for entry screens, and context handling, ready for production pipelines and AI agent automation using a single OpenAny API key.

Documentation: https://openany.si/polymarket/polymarket-check-invite-code/0a46f167-dbd2-460a-8580-8332bb80ee6d/
API ID: 0a46f167-dbd2-460a-8580-8332bb80ee6d
Provider: Polymarket
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/v1/info/invite
Page update time: 2026-12-03T02:49:30.996Z
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.385Z. 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 Invite Code Check API

code is a required query string and address is optional. Inspect valid together with error when present. A negative validation result can carry address-related context, so do not reduce every false result to a malformed code.

## What You Can Build

- **Entry screens**: Display the returned validation result and error detail.
- **Context handling**: Retain optional address context with the checked code.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `valid` | Reported code validation state |
| `error` | Validation error detail when returned |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Polymarket — Check Invite Code 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": {
        "code": {
          "type": "string",
          "description": "Referral or invite code"
        },
        "address": {
          "type": "string",
          "description": "Address"
        }
      },
      "required": [
        "code"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

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

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/polymarket/v1/info/invite?address=0x4c4f4d655B77c4d1cB4343AF6c54c2Ec8f4022b4&code=ABC123' \
  -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
{
  "error": "address already exists",
  "valid": false
}
```

## 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
### Which field is required?
Supply the invite or referral code in code. address is optional context.

### Does valid=false always mean invalid code syntax?
No. Read error as well. The response can describe address-related conditions such as an address that already exists.

### Does this request register an account?
No. It is a GET check, separate from registration or invitation acceptance.

### Is this a prediction-market invite endpoint?
This implementation belongs to Polymarket Perps public data. Keep that product context when integrating the code check.

### 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-check-invite-code/0a46f167-dbd2-460a-8580-8332bb80ee6d/

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