mcpField
R
rapidapi

rapidapi

github.com/borskiOther78075 installsUpdated 2d ago
Repository

About rapidapi

RapidAPI is a travel-search skill for checking live Google Flights fares and Booking.com hotel and rental prices. It serves as a secondary pricing source for targeted comparisons.

Key features

  1. 01Search live one-way and round-trip flights
  2. 02Set passenger counts and cabin class
  3. 03Search hotels and vacation rentals
  4. 04Filter stays by price and rating
  5. 05Retrieve hotel details

Use cases

  1. 01Cross-check flight prices against another source
  2. 02Check Booking.com prices for a destination
  3. 03Compare hotel options by dates and budget

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/borski/travel-hacking-toolkit --skill rapidapi

After installing, type/rapidapiin Claude Code to confirm it loaded.

Details

From the project README

RapidAPI Skill

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

Sources:

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
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
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
ParamRequiredDescription
originYesAirport IATA code
destinationYesAirport IATA code
dateYesYYYY-MM-DD departure
returnDateNoYYYY-MM-DD for round trip
adultsNoDefault 1
childrenNoDefault 0
infantsNoDefault 0
cabinClassNoeconomy, premium_economy, business, first
currencyNoDefault USD

Booking.com Live API

Search hotels and vacation rentals with real Booking.com pricing. Good complement to SerpAPI Hotels and LiteAPI.

Search Hotels
curl -s "https://booking-live-api.p.rapidapi.com/api/v1/searchHotels?location=Tokyo%2C%20Japan&checkin=2026-08-10&checkout=2026-08-13&adults=2&rooms=1&currency=USD" \
  -H "x-rapidapi-key: $RAPIDAPI_KEY" \
  -H "x-rapidapi-host: booking-live-api.p.rapidapi.com" | jq '.'
Parameters
ParamRequiredDescription
locationYesCity/area name: Tokyo, Japan
checkinYesYYYY-MM-DD
checkoutYesYYYY-MM-DD
adultsNoDefault 2
childrenNoDefault 0
roomsNoDefault 1
currencyNoDefault USD
sortByNoprice, rating, popularity
minPriceNoMinimum price filter
maxPriceNoMaximum price filter
starRatingNo3,4,5 comma-separated
Get Hotel Details
curl -s "https://booking-live-api.p.rapidapi.com/api/v1/getHotelDetails?hotelId=HOTEL_ID&checkin=2026-08-10&checkout=2026-08-13&adults=2" \
  -H "x-rapidapi-key: $RAPIDAPI_KEY" \
  -H "x-rapidapi-host: booking-live-api.p.rapidapi.com" | jq '.'

Rate Limits

Free tier: 100 requests/month across all RapidAPI APIs. Use sparingly. Prefer SerpAPI for flights and LiteAPI/SerpAPI for hotels as primary sources.

When to Use

  • Google Flights Live: Secondary price check when SerpAPI results seem off, or for routes SerpAPI doesn't cover well.
  • Booking.com Live: When you want Booking.com specific pricing/availability (different inventory than Google Hotels).

Do not:

  • Use as primary search (SerpAPI and Seats.aero are primary).
  • Burn through free tier on broad searches. Be targeted.

Comments

Markdown supported