# Scrapling x402 Polymarket Lookup

> Scrapling x402 Polymarket Lookup is a paid API for AI agents from scraplingdata.xyz, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-22).

Search Polymarket prediction markets by keyword and retrieve current yes-probability and 24h price change data

## Facts

- Endpoint: GET https://scraplingdata.xyz/v1/lookup/polymarket?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapling-x402-polymarket-lookup-5297ce25
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZJzBMk9I8hsaA5n3SS-5u

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 scrapling-x402-polymarket-lookup-5297ce25
```

Example prompt: Search Polymarket for prediction markets about Bitcoin hitting $100k and tell me the current yes-probability and how much it has moved in the last 24 hours.

## When to prefer this

Use this endpoint when you need to programmatically search Polymarket prediction markets by keyword and retrieve current probability data and recent price movement. It is well-suited for agents that need to monitor sentiment or odds on specific topics without scraping Polymarket directly. Prefer this over manual browsing when keyword-based search and structured JSON output are needed.

## Known failure modes

- No results found if keyword matches no active markets (empty results array)
- Missing or empty 'q' query parameter returns a validation error
- Service may return stale or cached data if Polymarket upstream is unavailable
- Payment failure (402) if x402 payment header is missing or insufficient
- Rate limiting or timeout if the upstream Polymarket data source is slow

## How this service works

Polymarket odds for an event: up to 10 markets matching a keyword with YES probability %, 1h/24h/7d odds change, volume and liquidity. Example: q=bitcoin, q=election, q=fed rate. Refreshed about every 30 min

## Output

Returns a count of matching markets and a list of results, each containing the market question text, the current yes-probability as a percentage, and the 24-hour change in yes-probability in percentage points.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Keyword in the market question"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "results": [
   {
    "question": "Will BTC hit $100k?",
    "yes_change_24h_pts": 2.1,
    "yes_probability_pct": 34
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapling-x402-polymarket-lookup-5297ce25/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scraplingdata.xyz](https://www.zero.xyz/host/scraplingdata.xyz/llms.txt)
