Manifold Market Scout

Manifold Market Scout · Actions GPT

Get manifold market data

Retrieves current data from a specific market.

  • GET /search-marketsSearch or filter markets

    Search or filter markets, similar to the browse page. Requires no Authorization.

Schéma original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "Get manifold market data",
    "description": "Retrieves current data from a specific market.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://manifold.markets/api/v0/"
    }
  ],
  "paths": {
    "/search-markets": {
      "get": {
        "operationId": "searchMarkets",
        "summary": "Search or filter markets",
        "description": "Search or filter markets, similar to the browse page. Requires no Authorization.",
        "parameters": [
          {
            "name": "term",
            "in": "query",
            "description": "The search query in question. Can be an empty string.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "Sort order: score (default), newest, liquidity, etc.",
            "required": false,
            "schema": {
              "type": "string",
              "default": "score"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "description": "Closing state filter: all (default), open, closed, resolved, etc.",
            "required": false,
            "schema": {
              "type": "string",
              "default": "all"
            }
          },
          {
            "name": "contractType",
            "in": "query",
            "description": "Type of contract: ALL (default), BINARY, MULTIPLE_CHOICE, etc.",
            "required": false,
            "schema": {
              "type": "string",
              "default": "ALL"
            }
          },
          {
            "name": "topicSlug",
            "in": "query",
            "description": "Only include questions with the topic tag with this slug.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "creatorId",
            "in": "query",
            "description": "Only include questions created by the user with this id.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Number of contracts to return, range 0 to 1000. Default is 100.",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 100,
              "minimum": 0,
              "maximum": 1000
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Number of contracts to skip for pagination.",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "question": {
                        "type": "string",
                        "description": "The market question."
                      },
                      "probability": {
                        "type": "number",
                        "description": "Probability of YES."
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}