# Ryanair API Documentation

<p><strong>Ryanair API Documentation</strong> Pass two IATA codes and a departure date range. The answer holds the cheapest one-way fares with numeric prices, currency codes, ISO dates and flight numbers. One request performs one upstream lookup and costs one credit when it succeeds.</p>

- **Documentation:** [https://scrappa.co/docs/ryanair-api/ryanair_fares_one_way](https://scrappa.co/docs/ryanair-api/ryanair_fares_one_way)
- **API group:** Ryanair API
- **Endpoint:** `GET https://scrappa.co/api/ryanair/fares/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 | Origin IATA code |
| `destination` | string | Yes | Destination IATA code |
| `departure_date_from` | string | Yes | First departure date, YYYY-MM-DD |
| `departure_date_to` | string | Yes | Last departure date, YYYY-MM-DD |
| `currency` | string | No | Currency code, default EUR |
| `adults` | integer | No | Adult passengers, 1 to 9 |
| `market` | string | No | Market locale, default en-gb |
| `limit` | integer | No | Maximum fares, 1 to 200 |

## Example response

```json
{
    "data": {
        "fares": [
            {
                "price": 19.99,
                "currency": "EUR",
                "departure_date": "2026-12-05"
            }
        ]
    },
    "meta": {
        "credits": 1,
        "billable": true
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A query parameter is missing or invalid. This response is not billed. |

## 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)
