[Integrations](https://spiral.ai/integrations) › [Factory Droid](https://spiral.ai/integrations/factory-droid) › [Google Flights airport and city lookup](https://spiral.ai/integrations/factory-droid/google-flights-airport-and-city-lookup)

# How to Use Google Flights airport and city lookup in Factory Droid

Returns Google Flights city and airport identifiers from a place name or IATA code, including nearby airports without duplicates. Use it to resolve destinations before searching fares; rail stations and regions are excluded.

|  |  |
| --- | --- |
| Model | Google Flights airport and city lookup |
| Available through | Alexandria |
| Category | Maps & Reviews |
| Price | $0.013 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Google Flights airport and city lookup in Factory Droid

- Use Google Flights airport and city lookup for London, United Kingdom, and add the returned names and identifiers to the destination picker in this project.
- Use Google Flights airport and city lookup for Tokyo, Japan, and inspect how our destination selector handles city matches versus airport matches.
- Use Google Flights airport and city lookup to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Google Flights airport and city lookup and tell me what changed since last week.
- Check Google Flights airport and city lookup and summarize what you find in three bullet points.

## How to set up Google Flights airport and city lookup in Factory Droid

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Droid saves it to your user config, `~/.factory/mcp.json`, so it works in every project.

```bash
droid mcp add spiral https://api.spiral.ai/mcp --type http
```

2. **Sign in**: Start `droid`, type `/mcp`, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

3. **Check it**: Spiral shows as connected. needs authentication means the sign-in did not finish: run `/mcp` again.

```bash
droid mcp list
```

### Use the Spiral skill

1. **Send Factory Droid this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Google Flights airport and city lookup**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "flights-google-com/flights/suggest_places",
    "input": {
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: Factory Droid finds Google Flights airport and city lookup on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/factory-droid

## Google Flights airport and city lookup tools and prices

- [Google Flights · Suggest places](https://spiral.ai/tools/alexandria/flights-google-com/flights/suggest_places) (Alexandria): $0.013 per call.

## What can you do with Google Flights airport and city lookup in Factory Droid?

Build a travel picker that turns Google Flights airport matches into fare comparisons for specific dates. Use the results in your project to compare airport choices and complete round trips.

### Compare airports serving one destination

Resolve London into its city and airport matches, then compare fares from New York for the same dates. Show which arrival airport each option uses.

### Check alternative departure airports

Look up airports around the San Francisco Bay Area, then compare departures to Chicago. Keep the departure airport visible beside each fare so travelers can weigh the airport choice.

### Prepare a business travel shortlist

Resolve Boston and Washington, DC, before comparing flights for a fixed business trip. Present fare options alongside their airport choices for review.

### Compare nearby departure dates

Resolve Lisbon as the destination, then compare separate New York searches for adjacent departure dates. Keep the route and trip length consistent to make the date comparison useful.

### Build an event travel brief

Find the Google Flights airport identifiers for Las Vegas, then compare fares from Los Angeles, Chicago, and New York for an event's travel dates. Produce a separate shortlist for each departure city.

### Compare complete round trips

Resolve Tokyo's city and airport choices before searching from Seattle. Select an outbound option and retrieve matching returns before comparing the fares for complete trips.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Factory Droid guides](https://spiral.ai/integrations/factory-droid)

## Google Flights airport and city lookup in other agents

- [Amp](https://spiral.ai/integrations/amp/google-flights-airport-and-city-lookup)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/google-flights-airport-and-city-lookup)
- [Claude](https://spiral.ai/integrations/claude-desktop/google-flights-airport-and-city-lookup)
- [Claude Code](https://spiral.ai/integrations/claude-code/google-flights-airport-and-city-lookup)
- [Cline](https://spiral.ai/integrations/cline/google-flights-airport-and-city-lookup)
- [Codex](https://spiral.ai/integrations/codex/google-flights-airport-and-city-lookup)
- [Cursor](https://spiral.ai/integrations/cursor/google-flights-airport-and-city-lookup)
- [Devin](https://spiral.ai/integrations/devin/google-flights-airport-and-city-lookup)
- [dots](https://spiral.ai/integrations/dots/google-flights-airport-and-city-lookup)
- [Gemini](https://spiral.ai/integrations/gemini/google-flights-airport-and-city-lookup)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/google-flights-airport-and-city-lookup)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/google-flights-airport-and-city-lookup)
- [goose](https://spiral.ai/integrations/goose/google-flights-airport-and-city-lookup)
- [Grok](https://spiral.ai/integrations/grok/google-flights-airport-and-city-lookup)
- [Grok Build](https://spiral.ai/integrations/grok-build/google-flights-airport-and-city-lookup)
- [Hermes](https://spiral.ai/integrations/hermes/google-flights-airport-and-city-lookup)
- [Instinct](https://spiral.ai/integrations/instinct/google-flights-airport-and-city-lookup)
- [Manus](https://spiral.ai/integrations/manus/google-flights-airport-and-city-lookup)
- [Muse](https://spiral.ai/integrations/muse/google-flights-airport-and-city-lookup)
- [Muse Code](https://spiral.ai/integrations/muse-code/google-flights-airport-and-city-lookup)
- [n8n](https://spiral.ai/integrations/n8n/google-flights-airport-and-city-lookup)
- [Notion](https://spiral.ai/integrations/notion/google-flights-airport-and-city-lookup)
- [OpenClaw](https://spiral.ai/integrations/openclaw/google-flights-airport-and-city-lookup)
- [opencode](https://spiral.ai/integrations/opencode/google-flights-airport-and-city-lookup)
- [Perplexity](https://spiral.ai/integrations/perplexity/google-flights-airport-and-city-lookup)
- [Raycast](https://spiral.ai/integrations/raycast/google-flights-airport-and-city-lookup)
- [VS Code](https://spiral.ai/integrations/vscode/google-flights-airport-and-city-lookup)
- [Windsurf](https://spiral.ai/integrations/windsurf/google-flights-airport-and-city-lookup)
- [Zapier](https://spiral.ai/integrations/zapier/google-flights-airport-and-city-lookup)

## More Factory Droid guides

- [GolfNow tee time rate options](https://spiral.ai/integrations/factory-droid/golfnow-tee-time-rate-options)
- [Google Flights fare search](https://spiral.ai/integrations/factory-droid/google-flights-fare-search)
- [GolfNow nearby courses](https://spiral.ai/integrations/factory-droid/golfnow-nearby-courses)
- [Google Maps business rating trend](https://spiral.ai/integrations/factory-droid/google-maps-business-rating-trend)
- [GolfNow location search](https://spiral.ai/integrations/factory-droid/golfnow-location-search)
- [Google Maps business reviews](https://spiral.ai/integrations/factory-droid/google-maps-business-reviews)

## Questions about Google Flights airport and city lookup in Factory Droid

**Can Factory Droid use Google Flights airport and city lookup?**

Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run Google Flights airport and city lookup like any built-in tool.

**How much does Google Flights airport and city lookup cost in Factory Droid?**

$0.013 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Factory Droid plan is separate.

**Do I need an Alexandria account to use Google Flights airport and city lookup in Factory Droid?**

No. Spiral runs Google Flights airport and city lookup on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Google Flights airport and city lookup in Factory Droid?**

About two minutes: add the server, then sign in, then check it.

**Does Factory Droid wait while Google Flights airport and city lookup runs?**

Google Flights airport and city lookup runs in the background. Factory Droid starts the run, checks on it and gives you the json when it's ready.

**Does Google Flights cover every airline and flight?**

No. Google Flights compares offers from more than 300 partners, but airlines and flights can be absent because a partnership is required. An empty search does not establish that no flight exists.

**How fresh is Google Flights fare information?**

Google's calendar date-selection guidance says flight prices update approximately every 24 hours. That statement does not establish an exact refresh schedule for every fare search or for airport and city suggestions.

**Does the first Google Flights result mean the lowest fare?**

Google ranks top departing flights by a balance of fare and convenience. Duration, stop count, and airport changes during layovers affect that ranking, so the first result need not have the lowest fare.

**Can Google Flights coverage differ for users in Europe?**

Yes. EEA businesses can opt out of showing their fare and availability content on Google Flights to EEA users, with removal within 30 days.

**Where does Google Flights get baggage information?**

Google displays baggage information supplied by its partners. Estimated baggage charges can also be subject to additional government taxes.

