# Pwccmarketplace — 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 and retrieve graded trading card listings from the Fanatics Collect marketplace, including details like PSA grades, certification numbers, card years, sets, and current auction or sale prices. Access comprehensive information about individual listings to compare values and track specific cards across the marketplace.

**Category:** Marketplaces | **Website:** [www.pwccmarketplace.com/market?keywords=charizard+psa+10](https://www.pwccmarketplace.com/market?keywords=charizard+psa+10) | **Docs:** [parse.bot/marketplace/fd876e79-7a46-42c6-a13c-35d4c5902c94/pwccmarketplace-com-api](https://parse.bot/marketplace/fd876e79-7a46-42c6-a13c-35d4c5902c94/pwccmarketplace-com-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/pwccmarketplace/`
**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 listing details

Get full details for a specific PWCC/Fanatics Collect listing by its UUID. Returns all card details including PSA certification number, grade, year, prices, and a full text description when available. The listing_uuid can be obtained from search_listings results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `listing_uuid` | string | Yes | UUID of the listing (e.g. '232c2cb0-6f25-11ed-a516-0a58a9feac02'). Available from search_listings results as listing_uuid. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/pwccmarketplace/get-listing-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"listing_uuid":"<string>"}'
```

### Search listings

Search PWCC/Fanatics Collect marketplace listings by keywords. Returns paginated results with card details including PSA grade, certification number, prices, year, and card number. Results are sorted by relevance by default.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `hits_per_page` | integer | No | Number of results per page. |
| `keywords` | string | Yes | Search keywords for finding listings (e.g. 'charizard psa 10', 'michael jordan rookie'). |
| `marketplace` | string | No | Filter by marketplace type. Accepts: PREMIER, WEEKLY, FIXED. Omitted returns all marketplace types. |
| `page` | integer | No | Zero-based page number for pagination. |
| `status` | string | No | Filter by listing status. Accepts: Sold, Live. Omitted returns all statuses. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/pwccmarketplace/search-listings \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"hits_per_page":"<integer>","keywords":"<string>","marketplace":"<string>","page":"<integer>","status":"<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.