# Skyscanner place autocomplete API

Resolve Skyscanner places by text, market and locale via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, q, raw, and retrieve structured data including source place entity identifier, source place code, source location type, place display name, and source country code for location selector, and search preparation.

Documentation: https://openany.si/skyscanner/skyscanner-place-autocomplete-api/9b62d131-b3df-4ef8-8b77-8f92c12b13e9/
API ID: 9b62d131-b3df-4ef8-8b77-8f92c12b13e9
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/skyscanner/v1/autocomplete
Page update time: 2026-12-03T02:47:13.499Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:47:12.028Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## Skyscanner Place Search API

Pass q, optionally type, market and locale. Source code, IATA and entity\_id are separate references; use type=hotel when preparing hotel entity references.

## What You Can Build

- **Location selector**: Keep entity identity and source labels.
- **Search preparation**: Choose the place-lookup type for the target travel operation.

## Returned Data

| Field | Meaning |
| --- | --- |
| `places[].entity_id` | Source place entity identifier |
| `places[].code` | Source place code |
| `places[].iata` | Source IATA reference when present |
| `places[].type` | Source location type |
| `places[].name` | Place display name |
| `places[].country_code` | Source country code |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Skyscanner place autocomplete API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "q": {
          "type": "string",
          "description": "A few letters of a place name or code."
        },
        "type": {
          "type": "string",
          "description": "flight (default) or hotel.",
          "enum": [
            "flight",
            "hotel"
          ]
        },
        "market": {
          "type": "string",
          "description": "Market country (default US)."
        },
        "locale": {
          "type": "string",
          "description": "Language (default en-US)."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row."
        }
      },
      "required": [
        "q"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "market": {
      "type": "string"
    },
    "places": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "city": {
            "type": "string"
          },
          "city_code": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "country_code": {
            "type": "string"
          },
          "entity_id": {
            "type": "string"
          },
          "iata": {
            "type": "string"
          },
          "location": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "name": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        }
      }
    },
    "q": {
      "type": "string"
    },
    "type": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/skyscanner/v1/autocomplete?output=json&q=new+york&raw=0' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cached": false,
  "count": 10,
  "credits_used": 1,
  "fetched_at": "2026-11-19T12:24:22.533Z",
  "market": "US",
  "places": [
    {
      "city": "New York",
      "city_code": "NYCA",
      "code": "NYCA",
      "country": "United States",
      "country_code": "US",
      "entity_id": "27537542",
      "iata": "NYC",
      "location": [
        40.6940959901,
        -73.9282670243
      ],
      "name": "New York",
      "region": "NY",
      "type": "city"
    },
    {
      "city": "New York",
      "city_code": "NYCA",
      "code": "JFK",
      "country": "United States",
      "country_code": "US",
      "entity_id": "95565058",
      "iata": "JFK",
      "location": [
        40.6412215,
        -73.7781176
      ],
      "name": "New York John F. Kennedy",
      "region": "NY",
      "type": "airport"
    },
    {
      "city": "New York",
      "city_code": "NYCA",
      "code": "EWR",
      "country": "United States",
      "country_code": "US",
      "entity_id": "95565059",
      "iata": "EWR",
      "location": [
        40.695833,
        -74.171667
      ],
      "name": "New York Newark",
      "region": "NJ",
      "type": "airport"
    },
    {
      "city": "New York",
      "city_code": "NYCA",
      "code": "LGA",
      "country": "United States",
      "country_code": "US",
      "entity_id": "95565057",
      "iata": "LGA",
      "location": [
        40.779444,
        -73.875833
      ],
      "name": "New York LaGuardia",
      "region": "NY",
      "type": "airport"
    },
    {
      "city": "New York",
      "city_code": "NYCA",
      "code": "SWF",
      "country": "United States",
      "country_code": "US",
      "entity_id": "95566280",
      "iata": "SWF",
      "location": [
        41.505833,
        -74.097222
      ],
      "name": "Stewart International",
      "region": "NY",
      "type": "airport"
    },
    {
      "city": "Albany",
      "city_code": "ALBA",
      "code": "ALB",
      "country": "United States",
      "country_code": "US",
      "entity_id": "95674229",
      "iata": "ALB",
      "location": [
        42.745833,
        -73.805278
      ],
      "name": "Albany",
      "region": "NY",
      "type": "airport"
    },
    {
      "city": "Buffalo",
      "city_code": "BUFA",
      "code": "BUF",
      "country": "United States",
      "country_code": "US",
      "entity_id": "95673358",
      "iata": "BUF",
      "location": [
        42.941111,
        -78.736389
      ],
      "name": "Buffalo Niagara",
      "region": "NY",
      "type": "airport"
    },
    {
      "city": "Syracuse",
      "city_code": "SYRA",
      "code": "SYR",
      "country": "United States",
      "country_code": "US",
      "entity_id": "95674004",
      "iata": "SYR",
      "location": [
        43.110556,
        -76.1025
      ],
      "name": "Syracuse",
      "region": "NY",
      "type": "airport"
    },
    {
      "city": "Rochester",
      "city_code": "ROCA",
      "code": "ROC",
      "country": "United States",
      "country_code": "US",
      "entity_id": "95673928",
      "iata": "ROC",
      "location": [
        43.121389,
        -77.670833
      ],
      "name": "Rochester",
      "region": "NY",
      "type": "airport"
    },
    {
      "city": "Islip",
      "city_code": "ISPA",
      "code": "ISP",
      "country": "United States",
      "country_code": "US",
      "entity_id": "95566005",
      "iata": "ISP",
      "location": [
        40.795278,
        -73.100278
      ],
      "name": "Islip",
      "region": "NY",
      "type": "airport"
    }
  ],
  "q": "new york",
  "type": "flight"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### What does type control?
type is flight by default or hotel for hotel-place lookup.

### Are code, iata and entity_id interchangeable?
Keep them separate. A city source code can differ from its IATA label, and entity_id is a separate identity.

### Which market and locale are used by default?
market defaults to US and locale to en-US. Preserve these choices with the result labels.

### Does a location result establish available fares?
No. Use the selected supported place identity in the target flight, hotel or car operation with its own inputs.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/skyscanner/skyscanner-place-autocomplete-api/9b62d131-b3df-4ef8-8b77-8f92c12b13e9/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
