# Rapidapi

Google Flights Live and Booking.com Live search via RapidAPI.

- Repository: https://github.com/borski/travel-hacking-toolkit (839 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-10-26
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add borski/travel-hacking-toolkit --skill rapidapi -g -a claude-code -y`
Codex: `npx skills add borski/travel-hacking-toolkit --skill rapidapi -g -a codex -y`
Cursor: `npx skills add borski/travel-hacking-toolkit --skill rapidapi -g -a cursor -y`
Gemini CLI: `npx skills add borski/travel-hacking-toolkit --skill rapidapi -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add borski/travel-hacking-toolkit`

## Description

Google Flights Live and Booking.com Live search via RapidAPI. Secondary source for cash flight prices and hotel availability when SerpAPI needs a second opinion.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# RapidAPI Skill

Search Google Flights and Booking.com via RapidAPI scrapers. Secondary source for cash flight prices and hotel/vacation rental pricing.

**Sources:**
- [Google Flights Live API on RapidAPI](https://rapidapi.com/apiheya/api/google-flights-live-api)
- [Booking.com Live API on RapidAPI](https://rapidapi.com/apiheya/api/booking-live-api)

## Authentication

`RAPIDAPI_KEY` is set in `.env`. All requests use `x-rapidapi-key` header.

## Google Flights Live API

Real-time Google Flights scraping. Use when SerpAPI results seem stale or you want a second price opinion.

### Search One-Way

```bash
curl -s -X POST "https://google-flights-live-api.p.rapidapi.com/api/v1/searchFlights" \
  -H "x-rapidapi-key: $RAPIDAPI_KEY" \
  -H "x-rapidapi-host: google-flights-live-api.p.rapidapi.com" \
  -H "Content-Type: application/json" \
  -d '{
    "origin": "SFO",
    "destination": "NRT",
    "date": "2026-08-10",
    "adults": 2,
    "cabinClass": "economy",
    "currency": "USD"
  }' | jq '.'
```

### Search Round Trip

```bash
curl -s -X POST "https://google-flights-live-api.p.rapidapi.com/api/v1/searchFlights" \
  -H "x-rapidapi-key: $RAPIDAPI_KEY" \
  -H "x-rapidapi-host: google-flights-live-api.p.rapidapi.com" \
  -H "Content-Type: application/json" \
  -d '{
    "origin": "SFO",
    "destination": "NRT",
    "date": "2026-08-10",
    "returnDate": "2026-08-26",
    "adults": 2,
    "cabinClass": "economy",
    "currency": "USD"
  }' | jq '.'
```

### Parameters

| Param | Required | Description |
|-------|----------|-------------|
| `origin` | Yes | Airport IATA code |
| `destination` | Yes | Airport IATA code |
| `date` | Yes | `YYYY-MM-DD` departure |
| `returnDate` | No | `YYYY-MM-DD` for round trip |
| `adults` | No | Default 1 |
| `children` | No | Default 0 |
| `infants` | No | Default 0 |
| `cabinClass` | No | `economy`, `premium_economy`, `business`, `first` |
| `currency` | No | Default `USD` |

## Booking.com Live API

The rest: https://github.com/borski/travel-hacking-toolkit/blob/HEAD/plugins/travel-hacking-toolkit/skills/rapidapi/SKILL.md
