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

# Analyze Market

> MCP composite tool. Calls Market Pulse Summary (593), Market Pulse Positions (594), Sport Market Insights (600), Polymarket Markets, Closing Line (602), and Price Jumps (596, token-resolved from the market) in parallel and returns one combined response.

**Platform:** Polymarket\
**Endpoint:** `POST /v2/semantic/retrieve/parameterized`\
**Authentication:** Bearer token

## Analyze Market

```bash cURL theme={null}
curl --request POST \
  --url https://narrative.agent.heisenberg.so/api/v2/semantic/retrieve/parameterized \
  --header 'Authorization: Bearer YOUR_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "agent_id": 0,
  "params": {
    "condition_id": "0xc094fd60c0a09ba0df48a086ef91e12390fa8777fcd9cb63c154e9622cb1d497",
    "sport": "NBA",
    "min_sport_pnl": "1000",
    "lookback_hours": "24"
  },
  "pagination": {
    "limit": 10,
    "offset": 0
  },
  "formatter_config": {
    "format_type": "raw"
  }
}'
```

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

response = requests.post(
    "https://narrative.agent.heisenberg.so/api/v2/semantic/retrieve/parameterized",
    headers={"Authorization": "Bearer YOUR_TOKEN"},
    json={
    "agent_id": 0,
    "params": {
        "condition_id": "0xc094fd60c0a09ba0df48a086ef91e12390fa8777fcd9cb63c154e9622cb1d497",
        "sport": "NBA",
        "min_sport_pnl": "1000",
        "lookback_hours": "24"
    },
    "pagination": {
        "limit": 10,
        "offset": 0
    },
    "formatter_config": {
        "format_type": "raw"
    }
}
)

print(response.json())
```

```javascript JavaScript theme={null}
const response = await fetch("https://narrative.agent.heisenberg.so/api/v2/semantic/retrieve/parameterized", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_TOKEN",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
  "agent_id": 0,
  "params": {
    "condition_id": "0xc094fd60c0a09ba0df48a086ef91e12390fa8777fcd9cb63c154e9622cb1d497",
    "sport": "NBA",
    "min_sport_pnl": "1000",
    "lookback_hours": "24"
  },
  "pagination": {
    "limit": 10,
    "offset": 0
  },
  "formatter_config": {
    "format_type": "raw"
  }
})
});

const data = await response.json();
```

## Query Parameters

**condition\_id** `String`

Hex condition ID of the market. Required. (for example, `"0xc094fd60c0a09ba0df48a086ef91e12390fa8777fcd9cb63c154e9622cb1d497"`).

**sport** `String`

Sport filter — auto-detected if omitted (for example, `"NBA"`).

**min\_sport\_pnl** `String`

Minimum sport PnL to qualify as sharp (for example, `"1000"`).

**lookback\_hours** `String`

Hours to scan back from now (for example, `"24"`).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.