# Kayak One-Way Flight Search

Returns structured itineraries, fares, providers, legs, segments, airlines, airports, filters, counts, pagination metadata, and price insights when available.

- **Documentation:** [https://scrappa.co/docs/kayak-flights-api/kayak_flights_one_way](https://scrappa.co/docs/kayak-flights-api/kayak_flights_one_way)
- **API group:** Kayak Flights API
- **Endpoint:** `GET https://scrappa.co/api/kayak/flights/one-way`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `origin` | string | Yes | 3-letter IATA airport or metro code. |
| `destination` | string | Yes | 3-letter IATA airport or metro code. |
| `departure_date` | string | Yes | Departure date in YYYY-MM-DD format. |
| `adults` | integer | No | Adult passengers, 1-9. |
| `children` | integer | No | Child passengers, 0-8. |
| `infants_in_seat` | integer | No | Infants with a seat, 0-8. |
| `infants_on_lap` | integer | No | Lap infants, 0-8. |
| `cabin` | string | No | economy, premium_economy, business, or first. |
| `sort` | string | No | best, price, or duration. |
| `page` | integer | No | Results page, 1-20. |
| `currency` | string | No | 3-letter ISO currency code. |
| `locale` | string | No | Language locale such as en-US. |
| `include_price_prediction` | boolean | No | Include available price insight data. |
| `include_display_metadata` | boolean | No | Include available display and offer metadata. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/kayak/flights/one-way?origin=JFK&destination=LAX&departure_date=2026-09-15&adults=1"
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error |  |
| 502 | Upstream Unavailable |  |
| 503 | Proxy Capacity Unavailable |  |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
