# AgentDiet MCP Gateway - Market Odds

> AgentDiet MCP Gateway - Market Odds is a paid API for AI agents from mcp-gateway.agentdiet.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Retrieves market odds data for a given topic via the AgentDiet x402-enabled MCP broker gateway.

## Facts

- Endpoint: GET https://mcp-gateway.agentdiet.dev/v1/market-odds?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-mcp-gateway-market-odds-b9503387
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_roz4n6nGzQ9VORL3K_m7j

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 agentdiet-mcp-gateway-market-odds-b9503387
```

Example prompt: Can you pull the current market odds for the 2024 US presidential election from the AgentDiet market odds endpoint?

## When to prefer this

Choose this endpoint when you need market odds data retrieved through a pay-per-call x402 micropayment gateway that settles in USDC on Base, especially in agentic workflows that require verifiable ROI proof alongside the data. Prefer this over direct prediction market APIs when operating within an MCP/A2A agent infrastructure that benefits from the broker's aggregation across 31,390+ servers.

## Known failure modes

- Missing or invalid 'topic' query parameter may return empty or default data
- Payment failure (USDC on Base) may result in HTTP 402 Payment Required
- Malformed request method (non-GET/POST) rejected by schema validation
- Topic not found may return empty 'data' object with 'ok' status
- Network or gateway timeout if upstream MCP servers are unavailable

## How this service works

Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.

## Output

Returns a JSON object with a 'data' field containing the market odds payload for the requested topic, a 'status' field (e.g. 'ok'), and an 'roi_proof' object including a compression_ratio_pct value (e.g. 91.4%) indicating data compression efficiency.

## 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",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "topic": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "status": "ok",
  "roi_proof": {
   "compression_ratio_pct": 91.4
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-mcp-gateway-market-odds-b9503387/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-gateway.agentdiet.dev](https://www.zero.xyz/host/mcp-gateway.agentdiet.dev/llms.txt)
