Api Endpoint

Textokit

Polymarket markets and prediction market odds: one page of public markets from the Gamma API (text and status filters, order by volume or liquidity, outcome prices) or a wallet's positions and activity from the Data API, with source URL and read time. Use this when an agent needs prediction-market odds, event lists or a trader's positions as evidence for a forecast or a report. JSON, no model inference. Free sample at /api/polymarket-markets/sample.

Open interactive test console

Offering

Provider
tienda.textokit.store
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Prediction Markets
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://tienda.textokit.store/api/polymarket-markets
MIME type
application/json
First seen
2026-10-16T02:01:55.574Z
Last seen
Tags
polymarket, prediction-markets, odds, market-data, Base

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0x6b5aF9924f4CD35643c11a9fd1C983f77261A6E1"
  }
]

Observed health

Status
Reachable
Latest latency
497 ms
Average latency
1081 ms
HTTP status
405
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "required": [
    "type",
    "method",
    "body"
  ],
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "const": "POST"
    },
    "bodyType": {
      "type": "string",
      "const": "json"
    },
    "body": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "resource": {
          "type": "string",
          "enum": [
            "markets",
            "positions",
            "activity"
          ],
          "description": "Defaults to markets. Positions and activity require user."
        },
        "query": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "description": "Case-insensitive substring search in question and slug within the received market page. Whitespace-only values are rejected. Markets only."
        },
        "status": {
          "type": "string",
          "enum": [
            "all",
            "active",
            "closed"
          ],
          "description": "Filter the received market page. Active requires active=true and closed=false; closed requires closed=true. Defaults to all. Markets only."
        },
        "order": {
          "type": "string",
          "enum": [
            "volume",
            "liquidity"
          ],
          "description": "Descending ordering within the received market page; missing numeric values sort last. Defaults to volume. Markets only."
        },
        "user": {
          "type": "string",
          "pattern": "^0x[0-9a-fA-F]{40}$",
          "description": "Public wallet address required for positions and activity; rejected for markets."
        },
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 20,
          "description": "Upstream page size before local filtering; defaults to 5. A filtered page may return fewer records or none."
        },
        "offset": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991,
          "description": "Offset passed to the upstream endpoint before local filtering; defaults to 0. Endpoint-specific restrictions may cause an upstream error."
        }
      },
      "allOf": [
        {
          "if": {
            "required": [
              "resource"
            ],
            "properties": {
              "resource": {
                "enum": [
                  "positions",
                  "activity"
                ]
              }
            }
          },
          "then": {
            "required": [
              "user"
            ],
            "not": {
              "anyOf": [
                {
                  "required": [
                    "query"
                  ]
                },
                {
                  "required": [
                    "status"
                  ]
                },
                {
                  "required": [
                    "order"
                  ]
                }
              ]
            }
          },
          "else": {
            "not": {
              "required": [
                "user"
              ]
            }
          }
        }
      ]
    }
  }
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "properties": {
        "body": {
          "additionalProperties": false,
          "allOf": [
            {
              "else": {
                "not": {
                  "required": [
                    "user"
                  ]
                }
              },
              "if": {
                "properties": {
                  "resource": {
                    "enum": [
                      "positions",
                      "activity"
                    ]
                  }
                },
                "required": [
                  "resource"
                ]
              },
              "then": {
                "not": {
                  "anyOf": [
                    {
                      "required": [
                        "query"
                      ]
                    },
                    {
                      "required": [
                        "status"
                      ]
                    },
                    {
                      "required": [
                        "order"
                      ]
                    }
                  ]
                },
                "required": [
                  "user"
                ]
              }
            }
          ],
          "properties": {
            "limit": {
              "description": "Upstream page size before local filtering; defaults to 5. A filtered page may return fewer records or none.",
              "maximum": 20,
              "minimum": 1,
              "type": "integer"
            },
            "offset": {
              "description": "Offset passed to the upstream endpoint before local filtering; defaults to 0. Endpoint-specific restrictions may cause an upstream error.",
              "maximum": 9007199254740991,
              "minimum": 0,
              "type": "integer"
            },
            "order": {
              "description": "Descending ordering within the received market page; missing numeric values sort last. Defaults to volume. Markets only.",
              "enum": [
                "volume",
                "liquidity"
              ],
              "type": "string"
            },
            "query": {
              "description": "Case-insensitive substring search in question and slug within the received market page. Whitespace-only values are rejected. Markets only.",
              "maxLength": 200,
              "minLength": 1,
              "type": "string"
            },
            "resource": {
              "description": "Defaults to markets. Positions and activity require user.",
              "enum": [
                "markets",
                "positions",
                "activity"
              ],
              "type": "string"
            },
            "status": {
              "description": "Filter the received market page. Active requires active=true and closed=false; closed requires closed=true. Defaults to all. Markets only.",
              "enum": [
                "all",
                "active",
                "closed"
              ],
              "type": "string"
            },
            "user": {
              "description": "Public wallet address required for positions and activity; rejected for markets.",
              "pattern": "^0x[0-9a-fA-F]{40}$",
              "type": "string"
            }
          },
          "type": "object"
        },
        "bodyType": {
          "const": "json",
          "type": "string"
        },
        "method": {
          "const": "POST",
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "items": {
          "type": "array"
        },
        "pagination": {
          "type": "object"
        },
        "readAt": {
          "type": "string"
        },
        "resource": {
          "type": "string"
        },
        "scope": {
          "type": "string"
        },
        "selection": {
          "type": "object"
        },
        "sourceUrl": {
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}