# Motionsites — 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 data from motionsites.ai.

**Category:** Developer Tools | **Website:** [motionsites.ai/](https://motionsites.ai/) | **Docs:** [parse.bot/marketplace/de81827b-6832-4a1c-8897-4491b67070f5/motionsites-ai-api](https://parse.bot/marketplace/de81827b-6832-4a1c-8897-4491b67070f5/motionsites-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-motionsites-ai-api-de81827b/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_all_free_content

Fetches all free content across all four MotionSites AI pages in a single request: hero prompts, landing page prompts, app prompts, backgrounds, and free sections. Results are grouped by source type. Prompt text is included where available within the request time budget (sections and apps first, then hero prompts). Use get_prompt for guaranteed full text of any individual prompt.

**Estimated cost:** Metered

_No parameters required._

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

### get_prompt

Retrieves the full prompt text and metadata for a specific template by its ID. Free prompts return the complete prompt text; premium prompts return metadata (section names, pricing) but prompt_text is null unless the user has purchased access.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `prompt_id` | string | Yes | The prompt slug identifier, e.g. 'mostar-guide'. Obtainable from list_prompts results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-motionsites-ai-api-de81827b/get_prompt \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt_id":"<string>"}'
```

### list_prompts

Lists all available AI website design prompts/templates. Each prompt has metadata including title, category, type, pricing tier (free or premium), and preview URLs. Results can be filtered by category (fuzzy match) and pricing tier. When no filters are applied, returns the complete catalog across all categories and both pricing tiers in a single response, ordered by newest first.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | No | Filter by category name (case-insensitive partial match, e.g. 'Travel', 'SaaS', 'Landing Page'). |
| `pricing` | string | No | Filter by pricing tier. Omitting returns all prompts. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-motionsites-ai-api-de81827b/list_prompts \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>","pricing":"<string>"}'
```
