---
name: "xpay-flight-search-get-reference-data"
description: "Get travel reference data - airports, cities, airlines, or countries. Use 'list' to get all data or 'search' with query to find specific items. Helpful for finding IATA codes and location information."
version: "1.0.0"
price: "$0.01/call"
provider: "Flight Search"
---

# Get Reference Data

Get travel reference data - airports, cities, airlines, or countries. Use 'list' to get all data or 'search' with query to find specific items. Helpful for finding IATA codes and location information.

**Provider:** Flight Search
**Price:** $0.01/call
**Pricing model:** Flat rate per call

## When to Use

Use this tool when you need to get travel reference data - airports, cities, airlines, or countries. use 'list' to get all data or 'search' with query to find specific items. helpful for finding iata codes and location information.. This is part of the Flight Search provider on xpay✦.

## MCP Connection

Connect to xpay✦ to access this tool (and 3+ others):

```json
{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
```

For Claude Code:
```bash
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
```

## How to Execute

Use the xpay✦ meta-tools to run this tool:

1. **`xpay_details`** — Get full input schema: `xpay_details("flight-search/get_reference_data")`
2. **`xpay_run`** — Execute: `xpay_run("flight-search/get_reference_data", { ...inputs })`

## Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | Number of results to return for 'search' action. |
| `action` | string | Yes |  |
| `type` | string | Yes |  |
| `query` | string | No | Search query for 'search' action. |

## Pricing

- **Cost:** $0.01/call
- **Balance check:** Use `xpay_balance` to check remaining credits
- Get your API key at [xpay.tools](https://xpay.tools/account/settings/api-keys/) — $5 free credits included

## Related Skills

- [Flight Search (all tools)](https://xpay.tools/skills/flight-search/SKILL.md) — 4 tools
- [Search Flights](https://xpay.tools/skills/flight-search/search-flights/SKILL.md) — $0.01/call
- [Search Calendar](https://xpay.tools/skills/flight-search/search-calendar/SKILL.md) — $0.01/call
- [Discover Flights](https://xpay.tools/skills/flight-search/discover-flights/SKILL.md) — $0.01/call

## Links

- Tool page: https://xpay.tools/flight-search/get-reference-data/
- Provider: https://xpay.tools/flight-search/
- All tools: https://xpay.tools/explore
