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

> Retrieve pending resolution questions and detailed forecasting data from Metaculus to track prediction outcomes and question metrics. Monitor active forecasting questions to stay updated on community predictions and resolution timelines.

**Category:** Other | **Website:** [metaculus.com/](https://metaculus.com/) | **Docs:** [parse.bot/marketplace/b9c3dcb6-bd41-4c05-a19c-a889820e04e4/metaculus-com-api](https://parse.bot/marketplace/b9c3dcb6-bd41-4c05-a19c-a889820e04e4/metaculus-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-metaculus-com-api-b9c3dcb6/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_pending_resolution_questions

Fetch questions with pending resolution status from Metaculus. Returns paginated results with question metadata, forecaster counts, topics, subquestions, and community predictions. Pagination is offset-based; use next_offset from a previous response to advance.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Number of questions per page. |
| `offset` | integer | No | Pagination offset. Use next_offset from a previous response to fetch the next page. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-metaculus-com-api-b9c3dcb6/get_pending_resolution_questions \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","offset":"<integer>"}'
```

### get_question_detail

Fetch detailed information for a single Metaculus question/post by ID, including full description, resolution criteria, fine print, community predictions, subquestions, and vote score. Returns a single question object.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `question_id` | string | Yes | The numeric ID of the Metaculus question/post. |

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