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

> Compare AI model performance across mathematical reasoning benchmarks by retrieving real-time scores from Epoch AI's FrontierMath leaderboard, including separate tiers for challenging problems and provider information for 86+ models from major AI labs. Track how leading models from OpenAI, Anthropic, Google DeepMind, and other providers perform on different difficulty levels with their release dates.

**Category:** Developer Tools | **Website:** [epoch.ai/frontiermath/tiers-1-4](https://epoch.ai/frontiermath/tiers-1-4) | **Docs:** [parse.bot/marketplace/e5b5862e-5aba-4faa-a972-d0b53011f231/epoch-ai-api](https://parse.bot/marketplace/e5b5862e-5aba-4faa-a972-d0b53011f231/epoch-ai-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-epoch-ai-api-e5b5862e/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_scores

Fetches all FrontierMath benchmark scores for both Tier 4 and Tier 1-3, merged into a single response. Each model carries scores for both tiers (null when not evaluated for a tier). Models are sorted by Tier 4 score descending, then Tier 1-3 score. A single CSV fetch powers the response — no pagination, no parameters.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-epoch-ai-api-e5b5862e/get_scores \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_tier13_scores

Fetches FrontierMath Tier 1-3 benchmark scores only (290 problems of standard to moderate difficulty). Returns all models evaluated on Tiers 1-3, sorted by score descending. Each model includes display name, organization, release date, mean score, standard error, and best score.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-epoch-ai-api-e5b5862e/get_tier13_scores \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_tier4_scores

Fetches FrontierMath Tier 4 benchmark scores only (the hardest problems, approximately 50 total). Returns all models evaluated on Tier 4, sorted by score descending. Each model includes display name, organization, release date, mean score, standard error, and best score.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-epoch-ai-api-e5b5862e/get_tier4_scores \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```
