Skip to content
Scrappa Get API key
Opodo API 1 credit / request

Opodo Flight Search API Documentation

GET https://scrappa.co/api/opodo/flights/search

Opodo Flight Search API Documentation Pass origin and destination as three-letter IATA codes, a departure date, optional return date and passengers. Each offer keeps both fee layers: the original price and the public Prime sale price. Prices are numbers with currency and are per passenger. One credit per successful request.

Opodo Flight Search API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/opodo/flights/search
Auth header
x-api-key
Cost
1 credit / request
origin = example destination = example departure_date = 2026-06-15
Response preview
200 OK
{
    "data": {
        "currency": "EUR",
        "trip_type": "one_way",
        "itineraries": [
            {
                "key": "it-1",
                "legs": [],
                "price": {
                    "type": "DISCOUNTED",
                    "amount": 89.99,
                    "currency": "EUR"
                },
                "discount": 40,
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

3 required parameters needed before sending a request.

5 optional filters available.

origin string Required

Origin IATA code from the locations endpoint, for example BER.

Example value example
destination string Required

Destination IATA code from the locations endpoint, for example LHR.

Example value example
departure_date string Required

Departure date in YYYY-MM-DD format.

Example value 2026-06-15
return_date string Optional

Return date in YYYY-MM-DD format. Adds the return leg when given.

Example value 2026-06-15
adults integer Optional

Number of adults, 1 to 9. Defaults to 1.

Example value 10
children integer Optional

Number of children, 0 to 8.

Example value 10
infants integer Optional

Number of infants, 0 to 8 and never more than adults.

Example value 10
limit integer Optional

Offers to return, 1 to 100. Defaults to 25.

Example value 10

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data success
JSON Response
200 OK
{
    "data": {
        "currency": "EUR",
        "trip_type": "one_way",
        "itineraries": [
            {
                "key": "it-1",
                "legs": [],
                "price": {
                    "type": "DISCOUNTED",
                    "amount": 89.99,
                    "currency": "EUR"
                },
                "discount": 40,
                "sections": [],
                "sale_price": {
                    "type": "DISCOUNTED",
                    "amount": 89.99,
                    "currency": "EUR"
                },
                "total_price": 89.99,
                "original_price": {
                    "type": "UNDISCOUNTED",
                    "amount": 129.99,
                    "currency": "EUR"
                },
                "price_per_passenger": 89.99
            }
        ]
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

UPSTREAM_UNAVAILABLE

HTTP UPSTREAM_UNAVAILABLE

Opodo data is temporarily unavailable. Please retry.

PARSER_DRIFT

HTTP PARSER_DRIFT

The upstream response shape changed.

NOT_FOUND

HTTP NOT_FOUND

The requested location was not found.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.