# Prediction Market Total Volume (Time-Bucketed)

> Prediction Market Total Volume (Time-Bucketed) is a paid API for AI agents from d2ngmd5yvdfkqu.cloudfront.net, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns time-bucketed aggregate prediction-market trading volume across all exchanges for a specified time range and interval.

## Facts

- Endpoint: GET https://d2ngmd5yvdfkqu.cloudfront.net/prediction-total-volume
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/prediction-market-total-volume-time-bucketed-cb9abc6c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_108C_1PHThWbatXDjL375

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-total-volume-time-bucketed-cb9abc6c
```

Example prompt: Can you pull the total prediction market volume across all exchanges for the past 30 days, bucketed into 1-hour intervals — so from 2024-05-01T00:00:00Z to 2024-05-31T00:00:00Z with an interval of 3600000 milliseconds?

## When to prefer this

Use this endpoint when you need a rolled-up, cross-exchange view of total prediction market volume over time — ideal for macro trend analysis, dashboard charting, or comparing activity levels across different periods. Prefer this over the per-exchange volume endpoint when you don't need exchange-level breakdown and want a single aggregate series.

## Known failure modes

- Missing required query parameters (from, to, interval) returns a 400 error
- Invalid ISO-8601 timestamp format causes a parse error
- Interval value of 0 or negative milliseconds may return an error or empty results
- Very large time ranges with very small intervals may exceed response size limits or time out
- Future timestamps may return empty buckets or an error
- Payment not included or insufficient USDC triggers a 402 Payment Required response

## How this service works

Time-bucketed total prediction-market volume across all exchanges.

## Output

A time-series array of volume buckets, each representing the aggregate prediction-market trading volume across all exchanges for that time interval, spanning the requested from/to range at the specified bucket granularity.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "from",
      "to",
      "interval"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "UTC end timestamp in ISO-8601 format."
      },
      "from": {
       "type": "string",
       "description": "UTC start timestamp in ISO-8601 format."
      },
      "interval": {
       "type": "string",
       "description": "Bucket size in milliseconds."
      }
     }
    }
   },
   "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-total-volume-time-bucketed-cb9abc6c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from d2ngmd5yvdfkqu.cloudfront.net](https://www.zero.xyz/host/d2ngmd5yvdfkqu.cloudfront.net/llms.txt)
