# Flylax — 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 flylax.com.

**Category:** Travel | **Website:** [www.flylax.com/](https://www.flylax.com/) | **Docs:** [parse.bot/marketplace/a3c58edb-78d1-43e1-8206-17b96718e36f/flylax-com-api](https://parse.bot/marketplace/a3c58edb-78d1-43e1-8206-17b96718e36f/flylax-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-flylax-com-api-a3c58edb/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_arriving_flights

Retrieves all current arriving flights at LAX. Returns the full list of today's arrivals including flight numbers, codeshare partners, gates, origins, scheduled times, and live status updates (estimated, landed, cancelled). Results are a single-page snapshot of the current flight board.

**Estimated cost:** Metered

_No parameters required._

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

### get_departing_flights

Retrieves all current departing flights from LAX. Returns the full list of today's departures including flight numbers, codeshare partners, gates, destinations, scheduled times, and live status updates (estimated, departed, cancelled). Results are a single-page snapshot of the current flight board.

**Estimated cost:** Metered

_No parameters required._

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