# Predict — Recent Trades for Prediction Market

> Predict — Recent Trades for Prediction Market is a paid API for AI agents from predict.gocreativeai.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Fetches recent trade history for a specific Polymarket prediction-market outcome token, returning live trade data without an API key.

## Facts

- Endpoint: GET https://predict.gocreativeai.com/v1/predict/trades/%7Barg%7D
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/predict-recent-trades-for-prediction-market-b516ebe2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pthGXmNWwZ3-ogPlBje_H

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 predict-recent-trades-for-prediction-market-b516ebe2
```

Example prompt: Pull the most recent trades for the Polymarket market on whether the Fed will cut rates in September — I want to see what prices and sizes people have been trading at.

## When to prefer this

Use this endpoint when you need live, recent trade history for a specific Polymarket outcome token and want a keyless, pay-per-call approach. Prefer this over scraping Polymarket directly or using a full brokerage SDK when you only need trade flow data for a single market.

## Known failure modes

- Invalid or unknown market token ID returns an error or empty result
- Market no longer active returns no trades
- Network timeout or upstream Polymarket API unavailability causes a 5xx error
- Malformed query parameter returns a 400-level validation error
- Payment of 0.01 USDC not completed results in 402 Payment Required

## How this service works

Predict gives AI agents live prediction-market odds, order-book depth and recent trades across thousands of markets (Polymarket) in one keyless call. Pay per call in USDC — no demo, no API key. For forecasting, trading and research agents.

## Output

Returns a list of recent trades for the specified Polymarket outcome token, including trade price, size, direction, and timestamp, drawn live from Polymarket's CLOB.

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "input"
     ],
     "properties": {
      "input": {
       "type": "string",
       "description": "endpoint argument"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/predict-recent-trades-for-prediction-market-b516ebe2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from predict.gocreativeai.com](https://www.zero.xyz/host/predict.gocreativeai.com/llms.txt)
