# Prediction Market Sentiment Shift Detector

> Prediction Market Sentiment Shift Detector is a paid API for AI agents from prediction-bot-iggf.onrender.com, paid per call via x402, $0.35/call, status unknown (last checked 2026-10-20).

Returns the current sentiment score versus the last cached sentiment score for a given prediction market question, highlighting how sentiment has shifted.

## Facts

- Endpoint: GET https://prediction-bot-iggf.onrender.com/shift?utm_source=zero.xyz
- Price: $0.35/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/prediction-market-sentiment-shift-detector-a6cc0381
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ROdy0ZOhBK091wpc3M54W

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 prediction-market-sentiment-shift-detector-a6cc0381
```

Example prompt: How has sentiment shifted on the 'Will the Fed cut rates in July 2025?' prediction market compared to the last cached reading?

## When to prefer this

Choose this endpoint when you specifically need to understand how sentiment has *changed* over time for a prediction market question, rather than just the raw current score. It is best when you want to detect momentum, reversals, or news-driven sentiment shifts on Polymarket or Kalshi markets based on X (Twitter) activity.

## Known failure modes

- Missing required query parameter 'q' returns an error
- Unrecognized or malformed market question may return null or empty scores
- No cached score available if question is new or never previously queried
- Service cold start on Render.com may cause latency or timeout
- Question text not matching any Polymarket or Kalshi market returns no data

## How this service works

Sentiment shift detector for Polymarket/Kalshi: current X score minus last cached score — catch narrative flips between agent polls. Lite discovery price $0.01 (aligns with Bazaar indexes).

## Output

Returns the current sentiment score for the queried prediction market question alongside the previously cached sentiment score, allowing the caller to see the magnitude and direction of sentiment change between the two readings.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "maxLength": 200,
       "description": "Polymarket or Kalshi market question in plain words, e.g. 'Will the Fed cut rates in October 2026'"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/prediction-market-sentiment-shift-detector-a6cc0381/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prediction-bot-iggf.onrender.com](https://www.zero.xyz/host/prediction-bot-iggf.onrender.com/llms.txt)
