# Destinedgamer — 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 through supported Palworld pals and instantly generate optimized build configurations tailored to any pal you choose, then add your custom creations directly to your cart for purchasing. Get instant access to recommended stat distributions, abilities, and gear setups for every supported pal in the game.

**Category:** Entertainment | **Website:** [destinedgamer.com/](https://destinedgamer.com/) | **Docs:** [parse.bot/marketplace/8ac09b7e-36ac-4961-b60d-84b7ef658a6f/destinedgamer-com-api](https://parse.bot/marketplace/8ac09b7e-36ac-4961-b60d-84b7ef658a6f/destinedgamer-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-destinedgamer-com-api-8ac09b7e/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### add_custom_pal_to_cart

Takes a pal name and returns a complete cart-ready configuration using the recommended build (max level 255, max IVs, max souls, work suitability 10, recommended passives and skills). Includes the checkout offer token needed to proceed with purchase. Returns stale_input if the pal name is not found.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `pal_name` | string | Yes | Name of the Palworld pal to configure (e.g. 'Lamball', 'Anubis', 'Shadowbeak'). Case-insensitive. Must match a supported pal from get_supported_pals. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-destinedgamer-com-api-8ac09b7e/add_custom_pal_to_cart \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"pal_name":"<string>"}'
```

### get_supported_pals

Returns the full list of Palworld pals available for custom configuration on DestinedGamer. Each pal includes its name, Paldex index, and elemental types. Use this to discover valid pal names for add_custom_pal_to_cart.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-destinedgamer-com-api-8ac09b7e/get_supported_pals \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```
