# 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. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-pwccmarketplace-com-api-fd876e79/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## 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/parse-pwccmarketplace-com-api-fd876e79/get_listing_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-pwccmarketplace-com-api-fd876e79/search_listings \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"hits_per_page":"<integer>","keywords":"<string>","marketplace":"<string>","page":"<integer>","status":"<string>"}'
```
