---
title: "Opodo API: Locations | Perceptlayer"
description: "Locations from Opodo as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/opodo/locations
---

[APIs](https://perceptlayer.com/apis) / [Opodo](https://perceptlayer.com/apis/opodo) / Locations

# Opodo: Locations

Locations from Opodo as JSON. 1 credit per successful call.

GET `/v1/opodo/locations`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `iatas[]` | list of string | Optional | Any |
| `query` | string | Optional | Up to 100 characters |

## Example request

Opodo

GET /v1/opodo/locations?query=london 

```
{
  "success": true,
  "data": {
    "mode": "query",
    "query": "london",
    "locations": [
      {
        "geo_node_id": 9743,
        "iata": "LON",
        "city": "London",
        "name": "London",
        "country_name": "Vereinigtes Königreich Großbritannien und Nordirland",
        "geo_node_type": "CITY"
      },
      {
        "geo_node_id": 1072084,
        "iata": "LDY",
        "city": "Derry",
        "name": "Derry",
        "country_name": "Vereinigtes Königreich Großbritannien und Nordirland",
        "geo_node_type": "CITY"
      },
      {
        "geo_node_id": 2554,
        "iata": "ELS",
        "city": "East London",
        "name": "East London",
        "country_name": "Südafrika",
        "geo_node_type": "CITY"
      }
    ]
  },
  "meta": {
    "endpoint_family": "locations"
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/opodo?try=locations#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

Each item in `data.locations` has these 6 fields, read from a recorded call that returned 12 items. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `geo_node_id` | integer |
| `iata` | string |
| `city` | string |
| `name` | string |
| `country_name` | string |
| `geo_node_type` | string |
