Kansen logoKansen
Discovery
GET
/search

Query Parameters

q*string
page?integer
Default1
Range1 <= value
limit_per_type?integer
Default40
Range1 <= value

Response Body

application/json

curl -X GET "https://example.com/search?q=string"
{
  "events": [
    {
      "id": "string",
      "ticker": "string",
      "slug": "string",
      "title": "string",
      "description": "string",
      "image": "string",
      "icon": "string",
      "startDate": "2019-08-24T14:15:22Z",
      "endDate": "2019-08-24T14:15:22Z",
      "active": true,
      "closed": true,
      "liquidity": 0,
      "volume": 0,
      "volume24hr": 0,
      "openInterest": 0,
      "commentCount": 0,
      "markets": [
        {
          "id": "string",
          "question": "string",
          "slug": "string",
          "conditionId": "string",
          "ticker": "string",
          "endDate": "2019-08-24T14:15:22Z",
          "startDate": "2019-08-24T14:15:22Z",
          "description": "string",
          "outcomes": [
            "string"
          ],
          "outcomePrices": [
            "string"
          ],
          "clobTokenIds": [
            "string"
          ],
          "volume": "string",
          "volumeNum": 0,
          "volume24hr": 0,
          "liquidity": "string",
          "liquidityNum": 0,
          "active": true,
          "closed": true,
          "enableOrderBook": true,
          "bestBid": 0,
          "bestAsk": 0,
          "spread": 0,
          "lastTradePrice": 0,
          "oneDayPriceChange": 0,
          "oneWeekPriceChange": 0,
          "image": "string",
          "icon": "string",
          "acceptingOrders": true,
          "negRisk": true,
          "groupItemTitle": "string",
          "orderPriceMinTickSize": 0,
          "orderMinSize": 0,
          "tags": [
            {
              "id": "string",
              "label": "string",
              "slug": "string"
            }
          ]
        }
      ],
      "tags": [
        {
          "id": "string",
          "label": "string",
          "slug": "string"
        }
      ]
    }
  ],
  "profiles": [
    {}
  ],
  "tags": [
    {}
  ]
}