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

> Track Pokemon TCG market trends and indices to monitor card value movements, then search for specific card prices to find the best deals on TCGFish.net. Get real-time market data including detailed index information to make informed decisions about buying and selling collectible cards.

**Category:** Finance & Markets | **Website:** [www.tcgfish.net/market/indices](https://www.tcgfish.net/market/indices) | **Docs:** [parse.bot/marketplace/896399d8-0de6-434c-a6a9-735130e49d57/tcgfish-net-api](https://parse.bot/marketplace/896399d8-0de6-434c-a6a9-735130e49d57/tcgfish-net-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-tcgfish-net-api-896399d8/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_index_detail

Get detailed data for a specific market index including current level, momentum metrics (7d, 30d, 90d percentage changes), and historical daily data points covering the last 12 months. The historical_points array contains one entry per day with date and value fields.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | No | Index identifier. Accepts exactly one of: graded, sealed, top-100, top-250. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-tcgfish-net-api-896399d8/get_index_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### list_indices

List all Pokemon TCG market indices with their current level, 7-day and 30-day performance changes. Returns data for the Graded Index (PSA 10), Sealed Index, Top 100 Most Valuable, and Top 250 Index. Always returns all four indices in a single response with no pagination.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-tcgfish-net-api-896399d8/list_indices \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_cards

Search for Pokemon cards by name or keyword. Returns paginated results (24 per page) sorted by market value descending. Each card includes identifiers, metadata (set info), image URL, and current market prices for ungraded and PSA 10 conditions. Fields rarity, artist, edition, and foil_type are no longer populated in search results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. Each page returns up to 24 results. |
| `query` | string | Yes | Search query for Pokemon card name or keyword (e.g. charizard, pikachu, base set). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-tcgfish-net-api-896399d8/search_cards \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>"}'
```
