# Sundance Institute — Wrapped API

> **You are on:** `https://api.beta.paywithlocus.com/api` | [llms.txt](https://beta.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.

> Discover and explore Sundance Institute film grants and funding opportunities, including detailed program information, eligibility criteria, application requirements, and award details from the official Sundance portal. List all active funding programs and retrieve comprehensive details for any specific grant.

**Category:** Entertainment | **Website:** [sundance.org/](https://sundance.org/) | **Docs:** [parse.bot/marketplace/7251ca0e-b93f-4306-8be6-f11db9b121b6/sundance-org-api](https://parse.bot/marketplace/7251ca0e-b93f-4306-8be6-f11db9b121b6/sundance-org-api)

Pay-per-use API proxy for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.beta.paywithlocus.com/api/wrapped/credits/sundance-institute/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## Endpoints

### Get grant details

Extract detailed program information for a specific Sundance grant including full description, eligibility requirements, deadlines, and platform source. Provide either a slug (from list_grants results, for programs on apply.sundance.org) or a full URL to any grant program page. Returns stale_input if the program page no longer exists (404).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | No | The program slug from list_grants results, used for programs on apply.sundance.org (e.g. '2026_graton_artist_opportunity'). Either slug or url must be provided. |
| `url` | string | No | The full URL to the grant program page (e.g. 'https://apply.sundance.org/prog/2026_graton_artist_opportunity/' or 'https://www.sundance.org/documentary-fund/'). Either slug or url must be provided. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/sundance-institute/get-grant-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>","url":"<string>"}'
```

### List grants

List all currently open Sundance Institute film grants and funding opportunities. Scrapes the sundance.org deadlines page to return active programs with their titles, descriptions, deadlines, application URLs, and slugs. The slug can be passed to get_grant_details for programs hosted on apply.sundance.org; programs on the main site or Sundance Collab require using the detail_url directly.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/sundance-institute/list-grants \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

## Next steps

- [All wrapped API providers](https://beta.paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://beta.paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://beta.paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://beta.paywithlocus.com/agent/index.md): every Locus agent page.