# Wizzair — 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 Wizz Air flights and compare prices across dates with interactive price calendars, while discovering available routes and airports to plan your budget travel. Find the best fares for your desired destination and access complete flight timetables for any route.

**Category:** Travel | **Website:** [wizzair.com/](https://wizzair.com/) | **Docs:** [parse.bot/marketplace/11c44931-5d3f-4a6e-9ecb-ec67d9d42137/wizzair-com-api](https://parse.bot/marketplace/11c44931-5d3f-4a6e-9ecb-ec67d9d42137/wizzair-com-api)

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

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/wizzair/`
**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

### Fare finder search

Search for the cheapest fares from an origin city to a specific destination or anywhere in the Wizz Air network. Returns the lowest-priced round-trip or one-way flight options across all available dates. Results include both regular and Wizz Discount Club pricing.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `destination_iata` | string | No | Destination IATA code or 'anywhere' to search all destinations. |
| `is_return` | boolean | No | Search for return (round-trip) flights. |
| `origin_iata` | string | Yes | Origin airport IATA code (e.g. 'BUD'). |
| `passengers` | integer | No | Number of passengers. |
| `trip_duration` | string | No | Trip duration. Accepted values: '1 week'. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/wizzair/fare-finder-search \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"destination_iata":"<string>","is_return":"<boolean>","origin_iata":"<string>","passengers":"<integer>","trip_duration":"<string>"}'
```

### Get all airports

Retrieve the full list of Wizz Air airports and their connections. Returns all cities in the network with IATA codes, coordinates, country info, and lists of connected routes. This is the complete route map.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/wizzair/get-all-airports \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get destinations from origin

Get all reachable destinations from a given origin airport. Returns the origin airport details and a list of all destination airports with full city info (IATA code, name, country, coordinates, their own connections). Derived from the route map filtered by the origin's connection list.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `origin_iata` | string | Yes | Origin airport IATA code (e.g. 'BUD'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/wizzair/get-destinations-from-origin \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"origin_iata":"<string>"}'
```

### Get flight price calendar

Retrieve a price calendar for a route across a range of nearby dates. Returns the cheapest price per day for approximately 7 days centered on the reference date. Useful for identifying the best travel dates on a given route.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `adults` | integer | No | Number of adults. |
| `date` | string | Yes | Reference date in YYYY-MM-DD format. |
| `destination_iata` | string | Yes | Destination airport IATA code (e.g. 'LTN'). |
| `origin_iata` | string | Yes | Origin airport IATA code (e.g. 'BUD'). |
| `wdc` | boolean | No | Use Wizz Discount Club prices. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/wizzair/get-flight-price-calendar \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"adults":"<integer>","date":"<string>","destination_iata":"<string>","origin_iata":"<string>","wdc":"<boolean>"}'
```

### Get timetable

Get the full flight timetable and cheapest daily prices for a date range between two airports. Returns both outbound and return flights with the cheapest price per day and available departure times. Useful for comparing prices across a multi-day window.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `adults` | integer | No | Number of adults. |
| `destination_iata` | string | Yes | Destination airport IATA code (e.g. 'LTN'). |
| `from_date` | string | Yes | Start date in YYYY-MM-DD format. |
| `origin_iata` | string | Yes | Origin airport IATA code (e.g. 'BUD'). |
| `to_date` | string | Yes | End date in YYYY-MM-DD format. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/wizzair/get-timetable \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"adults":"<integer>","destination_iata":"<string>","from_date":"<string>","origin_iata":"<string>","to_date":"<string>"}'
```

### Search flights

Search for available flights between two airports on a specific date. Returns detailed flight info and fares. Note: May be subject to stricter rate limiting.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `adults` | integer | No | Number of adults |
| `children` | integer | No | Number of children |
| `departure_date` | string | Yes | Departure date (YYYY-MM-DD) |
| `destination_iata` | string | Yes | Destination airport IATA code |
| `infants` | integer | No | Number of infants |
| `origin_iata` | string | Yes | Origin airport IATA code |
| `return_date` | string | No | Return date (YYYY-MM-DD) or null for one-way |
| `wdc` | boolean | No | Use Wizz Discount Club prices |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/wizzair/search-flights \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"adults":"<integer>","children":"<integer>","departure_date":"<string>","destination_iata":"<string>","infants":"<integer>","origin_iata":"<string>","return_date":"<string>","wdc":"<boolean>"}'
```

## Next steps

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