> ## Documentation Index
> Fetch the complete documentation index at: https://docs.probsights.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Related search endpoints

> Combined search, recent listings, and event markets.

These routes complement the core series / events / markets trio.

| Endpoint                                | Description                                                                |
| --------------------------------------- | -------------------------------------------------------------------------- |
| `GET /search`                           | Combined search returning `{ "series": [], "events": [], "markets": [] }`. |
| `GET /search/recent/events`             | Latest ingested events.                                                    |
| `GET /search/recent/markets`            | Latest ingested markets (playground below).                                |
| `GET /search/events/{event_id}/markets` | All markets under one event.                                               |

## Request

```
https://api.probsights.com/search/recent/markets
```

### Query parameters

<ParamField query="limit" type="integer" default="25">
  Number of results (1–100).
</ParamField>

<ParamField query="offset" type="integer" default="0">
  Pagination offset.
</ParamField>

## Examples

### Recent markets

<CodeGroup>
  ```bash cURL theme={null}
  curl -H "X-API-Key: YOUR_API_KEY" \
    "https://api.probsights.com/search/recent/markets?limit=25"
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      "https://api.probsights.com/search/recent/markets",
      headers={"X-API-Key": "YOUR_API_KEY"},
      params={"limit": 25},
  )
  markets = response.json()
  ```
</CodeGroup>

### Markets under one event

<CodeGroup>
  ```bash cURL theme={null}
  curl -H "X-API-Key: YOUR_API_KEY" \
    "https://api.probsights.com/search/events/KXBTC15M-26MAY040400/markets"
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      "https://api.probsights.com/search/events/KXBTC15M-26MAY040400/markets",
      headers={"X-API-Key": "YOUR_API_KEY"},
  )
  markets = response.json()
  ```
</CodeGroup>
