# Footcards — 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 for football trading cards and stickers across the footcards.eu marketplace to compare current listing prices and seller offers all in one place. Find the best deals by instantly viewing what multiple sellers are charging for the cards you're looking for.

**Category:** Marketplaces | **Website:** [footcards.eu/](https://footcards.eu/) | **Docs:** [parse.bot/marketplace/ec8b6179-9209-4b2a-9a43-e892527280cf/footcards-eu-api](https://parse.bot/marketplace/ec8b6179-9209-4b2a-9a43-e892527280cf/footcards-eu-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-footcards-eu-api-ec8b6179/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_card_offers

Get detailed information and seller offers for a specific card by its URL path. Returns the card title, main price, stock status, product features (editor, country, year, team, format, etc.), and all seller offers with vendor name, rating, sales count, condition, price, and quantity. Use the card_path from search_cards results (the path portion after footcards.eu/).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `card_path` | string | Yes | URL path of the card on footcards.eu, without the domain (e.g. 'stickers/world-cup/qatar-2022/arg20-lionel-messi'). Obtainable from search_cards results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-footcards-eu-api-ec8b6179/get_card_offers \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"card_path":"<string>"}'
```

### search_cards

Search for football cards and stickers by keyword. Returns paginated listings with current prices and availability status. Items marked in_stock=false represent sold-out or unavailable cards. Supports sorting by relevance, price, name, or date. Pagination is controlled via page and items_per_page parameters.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `items_per_page` | integer | No | Number of results per page. The site supports 16, 32, or 64. |
| `page` | integer | No | Page number for pagination. |
| `query` | string | Yes | Search keyword for card name, player, or code (e.g. 'Messi', 'ARG20', 'Ronaldo'). |
| `sort_by` | string | No | Sort order for results. When omitted, results are sorted by relevance. |

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