# Otcmarkets — Wrapped API

> **You are on:** `https://api.beta.paywithlocus.com/api` | [llms.txt](https://beta.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.

> Get real-time quotes and detailed company profiles for over 12,000 OTC securities, plus access market-wide news, compliance badges, and performance screeners to find advancing stocks. Research OTC companies with comprehensive data to make informed investment decisions.

**Category:** Finance & Markets | **Website:** [otcmarkets.com/](https://otcmarkets.com/) | **Docs:** [parse.bot/marketplace/e8ee52b8-6513-4837-aa48-d0b5fc9dc459/otcmarkets-com-api](https://parse.bot/marketplace/e8ee52b8-6513-4837-aa48-d0b5fc9dc459/otcmarkets-com-api)

Pay-per-use API proxy for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.beta.paywithlocus.com/api/wrapped/credits/otcmarkets/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## Endpoints

### Get advancers

Get current market advancers (top gainers) for a specific OTC tier group. Returns stocks sorted by percentage change descending. Paginated.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination |
| `page_size` | integer | No | Number of items per page |
| `tier` | string | No | Tier group: QX (OTCQX Best Market), QB (OTCQB Venture Market), DQ (Pink), or ALL (all tiers) |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/otcmarkets/get-advancers \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","page_size":"<integer>","tier":"<string>"}'
```

### Get company badges

Get company compliance status and risk badges for an OTC-listed company. Returns boolean flags for shell, bankruptcy, dark, delinquent, caveat emptor, and profile verification.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `symbol` | string | Yes | Stock ticker symbol (e.g., OTCM, GTII) |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/otcmarkets/get-company-badges \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"symbol":"<string>"}'
```

### Get company news

Get recent news articles and press releases for an OTC-listed company. Supports pagination via page number. Results sorted by release date descending.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination |
| `page_size` | integer | No | Number of news items per page |
| `symbol` | string | Yes | Stock ticker symbol (e.g., OTCM, AAPL) |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/otcmarkets/get-company-news \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","page_size":"<integer>","symbol":"<string>"}'
```

### Get company profile

Get detailed company profile for an OTC-listed company. Returns business description, contact information, key executives, securities details, and incorporation information.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `symbol` | string | Yes | Stock ticker symbol (e.g., OTCM, GTII) |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/otcmarkets/get-company-profile \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"symbol":"<string>"}'
```

### Get stock quote

Get real-time and summary stock quote data for an OTC security. Returns price, volume, bid/ask, and key financial ratios. Quote data is delayed 15 minutes.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `symbol` | string | Yes | Stock ticker symbol (e.g., OTCM, GTII) |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/otcmarkets/get-stock-quote \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"symbol":"<string>"}'
```

### List symbols

Get a full list of all OTC symbols and company names. Returns all listed securities with symbol, company name, venue, and tier ID.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/otcmarkets/list-symbols \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

## Next steps

- [All wrapped API providers](https://beta.paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://beta.paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://beta.paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://beta.paywithlocus.com/agent/index.md): every Locus agent page.