# Manifold Markets — 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.

> Search and discover prediction markets on Manifold Markets by keyword, with flexible sorting and filtering options to find exactly what you're looking for. Easily browse markets with pagination support to explore thousands of predictions on topics from politics to pop culture.

**Category:** Finance & Markets | **Website:** [manifold.markets/](https://manifold.markets/) | **Docs:** [parse.bot/marketplace/dbe2fd90-e69b-4f34-8dfb-b4a15f8b77ab/manifold-markets-api](https://parse.bot/marketplace/dbe2fd90-e69b-4f34-8dfb-b4a15f8b77ab/manifold-markets-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-manifold-markets-api-dbe2fd90/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### search_markets

Search for prediction markets by keyword. Returns market details including probabilities, trading volume, creator info, and resolution status. Paginates via offset. Each market carries a probability (null for multiple-choice), volume metrics, bettor counts, and timestamps. An empty term returns trending/top markets in the chosen sort order.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `filter` | string | No | Filter markets by resolution status. |
| `limit` | integer | No | Maximum number of results to return. |
| `offset` | integer | No | Offset for pagination (0-based). |
| `sort` | string | No | Sort order for results. |
| `term` | string | No | Search query term. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-manifold-markets-api-dbe2fd90/search_markets \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"filter":"<string>","limit":"<integer>","offset":"<integer>","sort":"<string>","term":"<string>"}'
```
