# Quantguide — 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.

> Access interview questions, company statistics, learning playlists, competitive leaderboards, and community discussions from QuantGuide.io, with full support for mathematical notation. Search questions by company, topic, and difficulty; retrieve leaderboard rankings; organize study playlists; and browse community discussions for quantitative finance interview preparation.

**Category:** Education | **Website:** [quantguide.io/](https://quantguide.io/) | **Docs:** [parse.bot/marketplace/561a79c4-ca0f-421b-96fe-f2b3e5bb57ee/quantguide-io-api](https://parse.bot/marketplace/561a79c4-ca0f-421b-96fe-f2b3e5bb57ee/quantguide-io-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-quantguide-io-api-561a79c4/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_discussion_posts

Retrieve discussion forum posts from a specific category. Returns posts with titles, metadata, vote counts, and tags. Posts are sorted by upvotes descending.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | No | Discussion category |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-quantguide-io-api-561a79c4/get_discussion_posts \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>"}'
```

### get_leaderboard

Retrieve the Quantify (mental math simulator) leaderboard. Returns ranked entries with usernames and scores for the default game mode (all operators, 2-minute duration).

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-quantguide-io-api-561a79c4/get_leaderboard \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_playlists

Retrieve featured question playlists from the questions page. Returns curated collections of questions organized by theme (e.g. top 50 most asked, topic-specific collections).

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-quantguide-io-api-561a79c4/get_playlists \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_question_detail

Retrieve full details for a single question by its URL slug, including the prompt text with LaTeX formatting preserved. Returns question content extracted from the page's server-rendered data. Premium questions may have restricted prompt content.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | The URL slug of the question (e.g. 'place-or-take'). Corresponds to urlEnding from get_questions_list results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-quantguide-io-api-561a79c4/get_question_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### get_questions_list

Retrieve the full list of quantitative finance interview questions. Supports filtering by topic, difficulty, company, and keyword search. Returns all matching questions in a single response with counts. The full question list (1000+) is loaded and filtered client-side.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `company` | string | No | Filter by company name (e.g. SIG, Jane Street, Citadel) |
| `difficulty` | string | No | Filter by difficulty level |
| `query` | string | No | Search keyword to filter questions by title |
| `topic` | string | No | Filter by topic slug |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-quantguide-io-api-561a79c4/get_questions_list \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"company":"<string>","difficulty":"<string>","query":"<string>","topic":"<string>"}'
```

### list_companies

Retrieve the list of all companies and the count of questions associated with each company. Derived from the full question list, sorted by question count descending.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-quantguide-io-api-561a79c4/list_companies \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```
