# Eldorado (Guernsey) — 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.

> Check real-time game currency prices and seller offers across multiple games on Eldorado.gg's marketplace. Compare pricing, find the best deals, and discover available currency listings to make informed purchasing decisions.

**Category:** Marketplaces | **Website:** [eldorado.gg/](https://eldorado.gg/) | **Docs:** [parse.bot/marketplace/d8b16007-57c1-4ddd-8558-f1fbe8c83d43/eldorado-gg-api](https://parse.bot/marketplace/d8b16007-57c1-4ddd-8558-f1fbe8c83d43/eldorado-gg-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-eldorado-gg-api-d8b16007/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_currency_offers

Retrieves currency seller offers for a specific game, ranked by the platform's recommendation algorithm. Returns individual seller prices and an average price across the top N sellers. Each offer includes the seller's username, verification status, price per unit in USD, stock quantity, minimum order, and delivery time guarantee.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `game_id` | string | Yes | Numeric game identifier from list_currency_games (e.g. '10' for OSRS, '0' for World of Warcraft). |
| `sort` | string | No | Sort order for offers. |
| `top_n` | integer | No | Number of top sellers to return. Used to compute the average price. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-eldorado-gg-api-d8b16007/get_currency_offers \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"game_id":"<string>","sort":"<string>","top_n":"<integer>"}'
```

### list_currency_games

Lists all games that have in-game currency available for sale on Eldorado.gg. Returns game IDs, names, currency titles, and SEO aliases. Use the game_id from results to query offers via get_currency_offers.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-eldorado-gg-api-d8b16007/list_currency_games \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```
