# 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. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-wizzair-com-api-11c44931/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## 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/parse-wizzair-com-api-11c44931/fare_finder_search \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-wizzair-com-api-11c44931/get_all_airports \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-wizzair-com-api-11c44931/get_destinations_from_origin \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-wizzair-com-api-11c44931/get_flight_price_calendar \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-wizzair-com-api-11c44931/get_timetable \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-wizzair-com-api-11c44931/search_flights \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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>"}'
```
