# Fandango — 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 for movies and retrieve nearby theater listings with showtimes by ZIP code and date, plus showtimes for a specific movie at nearby theaters.

**Category:** Entertainment | **Website:** [fandango.com/](https://fandango.com/) | **Docs:** [parse.bot/marketplace/aca2d167-e4f9-4aea-a328-f11239dbe76b/fandango-com-api](https://parse.bot/marketplace/aca2d167-e4f9-4aea-a328-f11239dbe76b/fandango-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-fandango-com-api-aca2d167/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_movie_calendar

Get available show dates for a specific movie at a location. Returns a calendar with dates indicating whether showtimes are available. The movie_slug is the URL path segment (e.g., 'disclosure-day-2026-244050' from the movie link). For movies without scheduled showtimes yet, returns empty calendar and available_dates arrays with null start/end dates.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `movie_slug` | string | Yes | Movie URL slug from the search results link field (e.g., 'disclosure-day-2026-244050') |
| `zip_code` | string | No | 5-digit US zip code |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-fandango-com-api-aca2d167/get_movie_calendar \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"movie_slug":"<string>","zip_code":"<string>"}'
```

### get_movie_formats

Get available viewing formats for a movie (Standard, Premium Format, 3D, IMAX, Dolby, etc.) at nearby theaters with their showtimes. Uses the same underlying data as get_movie_showtimes but focused on format availability. The movie_id is the numeric portion from the Fandango movie URL path.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `date` | string | No | Date in YYYY-MM-DD format. Omitting defaults to today's date. |
| `movie_id` | string | Yes | Fandango numeric movie ID extracted from the movie URL slug (e.g., '244050' from '/disclosure-day-2026-244050/movie-overview') |
| `zip_code` | string | No | 5-digit US zip code |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-fandango-com-api-aca2d167/get_movie_formats \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date":"<string>","movie_id":"<string>","zip_code":"<string>"}'
```

### get_movie_showtimes

Get showtimes for a specific movie at nearby theaters, grouped by theater and viewing format (Standard, Premium Format, 3D, IMAX, etc.). The movie_id is the numeric portion from the Fandango movie URL path (e.g., '244050' from '/disclosure-day-2026-244050/movie-overview'). Returns empty theaters array when no showtimes are scheduled for the given date/location.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `date` | string | No | Date in YYYY-MM-DD format. Omitting defaults to today's date. |
| `movie_id` | string | Yes | Fandango numeric movie ID extracted from the movie URL slug (e.g., '244050' from '/disclosure-day-2026-244050/movie-overview') |
| `zip_code` | string | No | 5-digit US zip code |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-fandango-com-api-aca2d167/get_movie_showtimes \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date":"<string>","movie_id":"<string>","zip_code":"<string>"}'
```

### get_theaters

Get list of theaters near a zip code with their currently showing movies and showtimes for a given date. Each theater includes address, amenities, and a movies array with title and viewing format variants (each with showtimes). Useful for browsing all nearby options without a specific movie in mind.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `date` | string | No | Date in YYYY-MM-DD format. Omitting defaults to today's date. |
| `limit` | integer | No | Max theaters to return |
| `zip_code` | string | No | 5-digit US zip code |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-fandango-com-api-aca2d167/get_theaters \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date":"<string>","limit":"<integer>","zip_code":"<string>"}'
```

### search_movies

Full-text search over movies by title keyword. Returns matching movies with IDs, titles, release dates, and poster thumbnails. The returned movie ID is an alphanumeric identifier used for search display; for showtimes and format lookups, use the numeric ID extracted from the movie link path (e.g., link '/disclosure-day-2026-244050/movie-overview' yields numeric ID '244050').

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Max results to return |
| `query` | string | Yes | Search keyword (movie title) |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-fandango-com-api-aca2d167/search_movies \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","query":"<string>"}'
```
