# Stockhouse — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Monitor real-time community discussions by accessing the latest 24 hours of posts and comments from Stockhouse Bullboards for any Canadian-listed stock. Stay informed on investor sentiment and trading insights shared by the community on your favorite Canadian equities.

**Category:** Finance & Markets | **Website:** [stockhouse.com/companies/bullboard?symbol=c.qimc](https://stockhouse.com/companies/bullboard?symbol=c.qimc) | **Docs:** [parse.bot/marketplace/d8caa075-2dbe-4925-992c-f6308bddd863/stockhouse-com-api](https://parse.bot/marketplace/d8caa075-2dbe-4925-992c-f6308bddd863/stockhouse-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-stockhouse-com-api-d8caa075/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_bullboard_comments

Retrieve Bullboard posts and comments published within the last 24 hours for a given stock. Accepts a ticker plus exchange (TSX, TSXV, CSE) or a direct Stockhouse symbol. Paginates through listing pages until the oldest item falls outside the 24-hour window or the limit is reached. Returns results in newest-first order. Returns an empty successful result with status 'no_posts_in_window' when no posts exist in the 24-hour window. Each page fetch returns up to ~15 items; a board with heavy activity may require multiple pages.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `exchange` | string | No | Exchange code. Required when using 'ticker'. Determines the Stockhouse prefix: TSX=t, TSXV=v, CSE=c. |
| `limit` | integer | No | Maximum number of posts to return. Safety cap at 1000. The endpoint still returns the complete 24-hour window when within this limit. |
| `symbol` | string | No | Full Stockhouse symbol with exchange prefix (e.g. 'c.qimc', 't.shop', 'v.ami'). Case-insensitive. Use this when the mapping is unambiguous. If provided, 'ticker' and 'exchange' are ignored. |
| `ticker` | string | No | Stock ticker symbol (e.g. QIMC, SHOP). Case-insensitive. Required if 'symbol' is not provided. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-stockhouse-com-api-d8caa075/get_bullboard_comments \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"exchange":"<string>","limit":"<integer>","symbol":"<string>","ticker":"<string>"}'
```
