# Textokit Polymarket Markets & Wallet Data

> Textokit Polymarket Markets & Wallet Data is a paid API for AI agents from tienda.textokit.store, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Fetches one page of public Polymarket prediction markets with filtering/ordering, or retrieves a wallet's positions and activity, returning structured JSON with source URL and read time.

## Facts

- Endpoint: POST https://tienda.textokit.store/api/polymarket-markets?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/textokit-polymarket-markets-wallet-data-e8706914
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Vj94ZVTZ4fIvi7PQGDxit

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability textokit-polymarket-markets-wallet-data-e8706914 -d '<json body>'
```

Example prompt: Pull the top 5 active Polymarket markets about the US election, ordered by volume — I need the current odds as evidence for my report.

## When to prefer this

Use this endpoint when an agent needs raw, structured Polymarket prediction-market data — current odds, market status, volume, or liquidity — without any model inference or interpretation. Prefer this over general web scraping when you specifically need Polymarket data in clean JSON form. Also prefer this when you need a specific trader's on-chain positions or activity on Polymarket by wallet address. Not suitable for other prediction market platforms or for AI-generated market analysis.

## Known failure modes

- Invalid wallet address format (not matching 0x + 40 hex chars) returns a validation error
- Supplying a user address with resource=markets is rejected
- Whitespace-only query string is rejected
- Offset or limit outside allowed range returns an error
- Upstream Polymarket Gamma or Data API unavailability causes fetch failure
- Status filter with no matching markets returns an empty list
- Offset too large for upstream endpoint may trigger upstream error

## How this service works

Servicios para trabajar con textos en Argentina: cartas de reclamo, resúmenes con citas, comparación, traducción y solicitudes. Pagá en pesos con Mercado Pago.

## Output

Returns a JSON object containing a list of prediction market records (question, slug, odds, status, volume, liquidity) for the markets resource, or a list of positions/activity records for wallet queries. Each response includes a source URL pointing to the upstream Polymarket API and a read timestamp indicating when the data was fetched.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "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",
   "maximum": 20,
   "minimum": 1,
   "description": "Upstream page size before local filtering; defaults to 5. A filtered page may return fewer records or none."
  },
  "order": {
   "enum": [
    "volume",
    "liquidity"
   ],
   "type": "string",
   "description": "Descending ordering within the received market page; missing numeric values sort last. Defaults to volume. Markets only."
  },
  "query": {
   "type": "string",
   "maxLength": 200,
   "minLength": 1,
   "description": "Case-insensitive substring search in question and slug within the received market page. Whitespace-only values are rejected. Markets only."
  },
  "offset": {
   "type": "integer",
   "maximum": 9007199254740991,
   "minimum": 0,
   "description": "Offset passed to the upstream endpoint before local filtering; defaults to 0. Endpoint-specific restrictions may cause an upstream error."
  },
  "status": {
   "enum": [
    "all",
    "active",
    "closed"
   ],
   "type": "string",
   "description": "Filter the received market page. Active requires active=true and closed=false; closed requires closed=true. Defaults to all. Markets only."
  },
  "resource": {
   "enum": [
    "markets",
    "positions",
    "activity"
   ],
   "type": "string",
   "description": "Defaults to markets. Positions and activity require user."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "id": "559651",
    "slug": "xi-jinping-out-before-2027",
    "active": true,
    "closed": false,
    "volume": "14770807.421027988",
    "endDate": "2027-01-01T04:59:00Z",
    "archived": false,
    "outcomes": "[\"Yes\", \"No\"]",
    "question": "Xi Jinping out before 2027?",
    "liquidity": "626904.29825",
    "volumeNum": 14770807.42102799,
    "conditionId": "0xa467b14d51f01b957109d9cbb1d6c124fab2a089d52ed8f471d23c2812e743b7",
    "clobTokenIds": "[\"32338220190071351435772801779725302244575775216413325951443816017994629993401\", \"25659310674993675562345759665114759892400026242514633218387667107987341231962\"]",
    "liquidityNum": 626904.29825,
    "outcomePrices": "[\"0.0285\", \"0.9715\"]"
   }
  ],
  "scope": "Text and status filters and ordering apply only to this source page. Results do not establish global matches or global ranking; an empty selection does not establish absence of matching markets.",
  "readAt": "2026-10-12T19:12:18.241Z",
  "resource": "markets",
  "selection": {
   "order": "volume",
   "scope": "received_page_only",
   "status": "all",
   "direction": "descending",
   "queryFields": [
    "question",
    "slug"
   ],
   "missingOrderValues": "last"
  },
  "sourceUrl": "https://gamma-api.polymarket.com/markets?limit=1&offset=0",
  "pagination": {
   "limit": 1,
   "offset": 0,
   "returned": 1,
   "totalKnown": false,
   "offsetScope": "upstream_page",
   "sourceReturned": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/textokit-polymarket-markets-wallet-data-e8706914/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tienda.textokit.store](https://www.zero.xyz/host/tienda.textokit.store/llms.txt)
