# 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 for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/footcards/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## 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/credits/footcards/get-card-offers \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/footcards/search-cards \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"items_per_page":"<integer>","page":"<integer>","query":"<string>","sort_by":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://paywithlocus.com/agent/index.md): every Locus agent page.