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

> Access comprehensive data for Marvel Snap cards, variants, and locations. Retrieve card stats, abilities, energy costs, art, and location effects via structured endpoints.

**Category:** Entertainment | **Website:** [marvelsnapzone.com/](https://marvelsnapzone.com/) | **Docs:** [parse.bot/marketplace/6e708934-7e29-4167-a4fe-fa2b5c9b1895/marvelsnapzone-com-api](https://parse.bot/marketplace/6e708934-7e29-4167-a4fe-fa2b5c9b1895/marvelsnapzone-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-marvelsnapzone-com-api-6e708934/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_card_details

Get full details for a specific card by its slug. Returns card metadata including name, cost, power, description, art URL, type, source, and all available variants. Returns input_not_found if the slug does not match any card.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | The URL-friendly identifier for the card (e.g., 'iron-man', 'doctor-doom', 'absorbing-man'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-marvelsnapzone-com-api-6e708934/get_card_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### get_cards

Get a paginated list of all Marvel Snap cards with metadata and variants. Returns cards sorted alphabetically by name. Supports offset-based pagination over the full card library.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Number of cards to return per page. |
| `offset` | integer | No | Starting index for pagination. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-marvelsnapzone-com-api-6e708934/get_cards \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","offset":"<integer>"}'
```

### get_locations

Get all Marvel Snap locations with their effects. Returns a list of locations sorted alphabetically, each containing the location's name, description, rarity, difficulty, tips, and featured dates.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-marvelsnapzone-com-api-6e708934/get_locations \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_cards

Search for cards by name or slug. Performs a case-insensitive substring match against both the card name and slug fields. Returns all matching cards with full metadata.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search term to match against card names and slugs (e.g., 'Iron Man', 'doom', 'spider'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-marvelsnapzone-com-api-6e708934/search_cards \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```
