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

> Discover all of Avianca's current flight promotions and special deals in one place to find the best offers available. Browse through active promotional actions to compare prices and plan your next trip with Avianca at discounted rates.

**Category:** Travel | **Website:** [www.avianca.com/en](https://www.avianca.com/en) | **Docs:** [parse.bot/marketplace/82bf8287-a0c7-4d75-adfb-cc057ac36de2/avianca-com-api](https://parse.bot/marketplace/82bf8287-a0c7-4d75-adfb-cc057ac36de2/avianca-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-avianca-com-api-82bf8287/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_all_actions

Returns all current promotional flight offers (actions) from Avianca across all points of sale. Each action includes origin/destination IATA codes, prices in available currencies, trip type, category, discount info, and miles eligibility. Returns the complete set in a single call (typically 200-300 offers). No pagination needed.

**Estimated cost:** Metered

_No parameters required._

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