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

> Retrieve real-time information about Duck.ai's available AI models, their capabilities, access tiers, and supported tools to understand what's currently available. Check the service status to ensure Duck.ai's AI chat service is running smoothly before integrating it into your application.

**Category:** Developer Tools | **Website:** [duck.ai/](https://duck.ai/) | **Docs:** [parse.bot/marketplace/b468630c-21d3-4ab7-9d08-97df9085be00/duck-ai-api](https://parse.bot/marketplace/b468630c-21d3-4ab7-9d08-97df9085be00/duck-ai-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-duck-ai-api-b468630c/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_models

Fetches all available AI models from Duck.ai including their capabilities, providers, access tiers, supported tools, and file type support. Returns structured model data along with a pre-formatted JavaScript export string. No parameters required — returns the full model catalog in a single response.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-duck-ai-api-b468630c/get_models \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_status

Fetches the current Duck.ai service status, including primary and secondary status codes indicating service health. A status of '0' indicates the service is fully operational.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-duck-ai-api-b468630c/get_status \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```
