{
  "x402Version": 2,
  "id": 29020,
  "slug": "29020",
  "resource": "https://quotient-api-gateway.onrender.com/api/v1/markets/search",
  "description": "Use this to search market titles plus the latest Q summary for a shortlist of recent, open contracts. Returns 10 results by default, at most 20. Use direct topic keywords. Useful alternate angles may use focused searches within a 10-second discovery budget. On a timeout, return candidates already found instead of retrying. Use explicit as_of only for historical questions. Search does not expand graph relationships or run embedding search.",
  "type": "http",
  "resourceType": "Utilities",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xC3d01FD2F79d4c57aD106AB8ecc12a5dE24F97cB",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "discoverable": true,
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "group_by": "event",
            "q": "oil supply disruption",
            "tag": [
              "oil"
            ]
          },
          "type": "http"
        },
        "output": {
          "example": {
            "as_of": "2026-08-11T23:59:59.999Z",
            "events": [],
            "facets": {
              "categories": [],
              "tags": [
                {
                  "count": 1,
                  "value": "oil"
                }
              ]
            },
            "group_by": "event",
            "historical": true,
            "markets": [
              {
                "categories": [],
                "event": {
                  "id": "e1",
                  "slug": "hormuz-traffic",
                  "title": "Strait of Hormuz traffic"
                },
                "forecast_at": "2026-08-11T20:14:03Z",
                "has_forecast": true,
                "has_published_signal": false,
                "latest_q_probability": 0.57,
                "marketKey": "polymarket:123",
                "marketUrl": "https://polymarket.com/event/hormuz-traffic",
                "market_odds": 0.42,
                "market_odds_at_forecast": 0.4,
                "nativeEventId": "e1",
                "nativeMarketId": "123",
                "published_signal_count": 0,
                "question": "Will Strait of Hormuz traffic be restored by September?",
                "quotientMarketId": "123",
                "relevance": {
                  "matched_by": [
                    "graph"
                  ],
                  "matched_fields": [
                    "summary"
                  ],
                  "score": 0.0503
                },
                "seriesTicker": null,
                "slug": "strait-of-hormuz-traffic-restored-by-september",
                "sourceUrl": "https://gamma-api.polymarket.com/markets/123",
                "tags": [
                  "oil",
                  "Strait of Hormuz"
                ],
                "thesis": "Q expects traffic normalization to remain constrained through the cutoff.",
                "venue": "polymarket",
                "venue_quote": {
                  "freshness": "verified",
                  "market_id": "123",
                  "observed_at": "2026-08-31T12:00:00Z",
                  "quote_method": "midpoint",
                  "schema_version": "1",
                  "selected_probability": 0.42,
                  "venue": "polymarket",
                  "venue_timestamp": "2026-08-31T12:00:00Z",
                  "yes_ask": 0.42,
                  "yes_bid": 0.42,
                  "yes_last": null
                }
              }
            ],
            "query": "oil supply disruption",
            "retrieval": {
              "graph": "ok",
              "semantic": "unconfigured",
              "typesense": "unconfigured"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "additionalProperties": false,
                "properties": {
                  "as_of": {
                    "type": "string"
                  },
                  "category": {
                    "items": {
                      "maxLength": 80,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "group_by": {
                    "default": "market",
                    "enum": [
                      "market",
                      "event"
                    ],
                    "type": "string"
                  },
                  "limit": {
                    "default": 10,
                    "maximum": 20,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "max_forecast_age": {
                    "default": 168,
                    "maximum": 720,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "q": {
                    "type": "string"
                  },
                  "tag": {
                    "items": {
                      "maxLength": 80,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "venue": {
                    "description": "Prediction-market venue key: polymarket (Polymarket International), polymarket_us (Polymarket US), kalshi, or hl_outcomes (HL Outcomes, Hyperliquid's outcome markets; covered sports game-winner markets only). HL Outcomes marketKeys contain # (hl_outcomes:#<outcome id>); percent-encode it as %23 in paths and query strings.",
                    "enum": [
                      "polymarket",
                      "polymarket_us",
                      "kalshi",
                      "hl_outcomes"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "queryParams"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input",
          "output"
        ],
        "type": "object"
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "payment-identifier"
  ],
  "sourceHost": "quotient-api-gateway.onrender.com",
  "lastUpdated": "2026-10-04T00:02:49.038Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-04T00:02:48.735Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "discoverable": true,
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "group_by": "event",
              "q": "oil supply disruption",
              "tag": [
                "oil"
              ]
            },
            "type": "http"
          },
          "output": {
            "example": {
              "as_of": "2026-08-11T23:59:59.999Z",
              "events": [],
              "facets": {
                "categories": [],
                "tags": [
                  {
                    "count": 1,
                    "value": "oil"
                  }
                ]
              },
              "group_by": "event",
              "historical": true,
              "markets": [
                {
                  "categories": [],
                  "event": {
                    "id": "e1",
                    "slug": "hormuz-traffic",
                    "title": "Strait of Hormuz traffic"
                  },
                  "forecast_at": "2026-08-11T20:14:03Z",
                  "has_forecast": true,
                  "has_published_signal": false,
                  "latest_q_probability": 0.57,
                  "marketKey": "polymarket:123",
                  "marketUrl": "https://polymarket.com/event/hormuz-traffic",
                  "market_odds": 0.42,
                  "market_odds_at_forecast": 0.4,
                  "nativeEventId": "e1",
                  "nativeMarketId": "123",
                  "published_signal_count": 0,
                  "question": "Will Strait of Hormuz traffic be restored by September?",
                  "quotientMarketId": "123",
                  "relevance": {
                    "matched_by": [
                      "graph"
                    ],
                    "matched_fields": [
                      "summary"
                    ],
                    "score": 0.0503
                  },
                  "seriesTicker": null,
                  "slug": "strait-of-hormuz-traffic-restored-by-september",
                  "sourceUrl": "https://gamma-api.polymarket.com/markets/123",
                  "tags": [
                    "oil",
                    "Strait of Hormuz"
                  ],
                  "thesis": "Q expects traffic normalization to remain constrained through the cutoff.",
                  "venue": "polymarket",
                  "venue_quote": {
                    "freshness": "verified",
                    "market_id": "123",
                    "observed_at": "2026-08-31T12:00:00Z",
                    "quote_method": "midpoint",
                    "schema_version": "1",
                    "selected_probability": 0.42,
                    "venue": "polymarket",
                    "venue_timestamp": "2026-08-31T12:00:00Z",
                    "yes_ask": 0.42,
                    "yes_bid": 0.42,
                    "yes_last": null
                  }
                }
              ],
              "query": "oil supply disruption",
              "retrieval": {
                "graph": "ok",
                "semantic": "unconfigured",
                "typesense": "unconfigured"
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "additionalProperties": false,
                  "properties": {
                    "as_of": {
                      "type": "string"
                    },
                    "category": {
                      "items": {
                        "maxLength": 80,
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "group_by": {
                      "default": "market",
                      "enum": [
                        "market",
                        "event"
                      ],
                      "type": "string"
                    },
                    "limit": {
                      "default": 10,
                      "maximum": 20,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "max_forecast_age": {
                      "default": 168,
                      "maximum": 720,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "q": {
                      "type": "string"
                    },
                    "tag": {
                      "items": {
                        "maxLength": 80,
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "venue": {
                      "description": "Prediction-market venue key: polymarket (Polymarket International), polymarket_us (Polymarket US), kalshi, or hl_outcomes (HL Outcomes, Hyperliquid's outcome markets; covered sports game-winner markets only). HL Outcomes marketKeys contain # (hl_outcomes:#<outcome id>); percent-encode it as %23 in paths and query strings.",
                      "enum": [
                        "polymarket",
                        "polymarket_us",
                        "kalshi",
                        "hl_outcomes"
                      ],
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "queryParams"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input",
            "output"
          ],
          "type": "object"
        }
      },
      "payment-identifier": {
        "info": {
          "required": false
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "id": {
              "maxLength": 128,
              "minLength": 16,
              "pattern": "^[a-zA-Z0-9_-]+$",
              "type": "string"
            },
            "required": {
              "type": "boolean"
            }
          },
          "required": [
            "required"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "quotient-api-gateway.onrender.com",
    "manifest_name": "quotient-api-gateway.onrender.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}