# PolyNews Market Context

> PolyNews Market Context is a paid API for AI agents from polynews.news, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-13).

Delivers Grok-powered market analysis for a prediction market slug: breaking news, background context, forward-looking signals, and source citations from news and X (Twitter).

## Facts

- Endpoint: POST https://polynews.news/api/v1/market-context
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/polynews-news-4729053c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xaEO_P4uTvZ56wqtEygSH

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 polynews-news-4729053c -d '<json body>'
```

Example prompt: Can you pull the Grok-powered market context for the Polymarket slug 'will-trump-sign-tariff-bill-by-june' — I want breaking news, background, forward signals, and source citations from news and X?

## When to prefer this

Use this endpoint when you need a comprehensive, AI-synthesized narrative around a specific prediction market — combining news, X/Twitter signals, and forward-looking context in one call. Prefer this over the combined news+smart-money endpoint when you only need editorial/news intelligence without wallet-level data. Ideal for generating market briefings, explaining price moves, or helping a trader understand the narrative landscape before taking a position.

## Known failure modes

- Invalid or non-existent market slug returns 404 or empty result
- Market has insufficient news coverage, resulting in sparse or low-confidence output
- Grok API timeout causes delayed or failed response
- Payment not processed (x402 flow failure) results in 402 Payment Required
- Rate limiting if too many calls in short succession

## How this service works

Grok-powered market analysis: ranked news + X citations with a structured summary (recent developments, background context, market interpretation, what to watch)

## Output

Returns a structured Grok-generated analysis including: breaking news headlines relevant to the market, background context explaining the market's subject, forward-looking signals indicating likely price direction, and citations linking to the source news articles and X posts used in the analysis.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "object",
       "properties": {
        "items": {
         "type": "array",
         "items": {
          "type": "object",
          "properties": {
           "url": {
            "type": "string"
           },
           "type": {
            "type": "string",
            "description": "'news' or 'x_post'"
           },
           "title": {
            "type": "string"
           },
           "source": {
            "type": "string"
           }
          }
         },
         "description": "Ranked news + X citations"
        },
        "cached": {
         "type": "boolean"
        },
        "summary": {
         "type": "string",
         "description": "Structured markdown: recent developments, context, market interpretation, what to watch"
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "sources": [
    {
     "url": "https://politico.com/...",
     "type": "news",
     "title": "Newsom widens 2028 lead per latest internal",
     "publishedAt": "2026-05-11T19:00:00Z"
    },
    {
     "text": "Notable shift in California internals...",
     "type": "x",
     "author": "@nate_cohn",
     "postedAt": "2026-05-11T20:14:00Z"
    }
   ],
   "analysis": "Recent polling shifts in California and New Hampshire favor Newsom, with Politico reporting a 6-point swing over the past week tied to his climate-policy address. Pete Buttigieg's support softened after the Iowa endorsement of a rival surrogate.",
   "sentiment": "bullish-Newsom",
   "confidence": "medium"
  },
  "meta": {
   "tier": "premium",
   "version": "v1",
   "endpoint": "/api/v1/market-context",
   "latencyMs": 18400,
   "timestamp": "2026-05-12T04:30:00.000Z"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polynews-news-4729053c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from polynews.news](https://www.zero.xyz/host/polynews.news/llms.txt)
