# Prediction Markets Semantic Similarity Search

> Prediction Markets Semantic Similarity Search is a paid API for AI agents from d2ngmd5yvdfkqu.cloudfront.net, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns semantically similar prediction markets given a source market event_ticker, with pagination support.

## Facts

- Endpoint: GET https://d2ngmd5yvdfkqu.cloudfront.net/prediction-markets/similar
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/prediction-markets-semantic-similarity-search-39629af9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xTmdH2-8c-hWVmnYI83p_

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-markets-semantic-similarity-search-39629af9
```

Example prompt: Find me the top 5 prediction markets most similar to the event ticker 'PRES-2024-US-WIN' — start from the first result.

## When to prefer this

Use this endpoint when you have a known prediction market event_ticker and want to discover semantically related or thematically similar markets — ideal for building recommendation flows, exploring correlated events, or finding alternative markets to trade on.

## Known failure modes

- Missing or invalid event_ticker returns error or empty results
- event_ticker not found in source markets index returns no matches
- Invalid or out-of-range offset/limit may return empty or truncated results
- Service unavailable or CloudFront timeout returns 5xx error
- Payment not processed (x402) blocks the request entirely

## How this service works

Find semantically similar prediction markets given an event_ticker.

## Output

A list of semantically similar prediction markets to the given event_ticker, each with their own ticker identifiers and event metadata, paginated by offset and limit.

## 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": [
      "event_ticker",
      "limit",
      "offset"
     ],
     "properties": {
      "limit": {
       "type": "string",
       "description": "Maximum number of similar events to return."
      },
      "offset": {
       "type": "string",
       "description": "Zero-based result offset."
      },
      "event_ticker": {
       "type": "string",
       "description": "Source market identifier from /prediction-markets."
      }
     }
    }
   },
   "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-markets-semantic-similarity-search-39629af9/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)
