rapidapi

rapidapi is a skill for Claude Code, Codex from borski/travel-hacking-toolkit. It costs 33 tokens per session (1,204 once invoked), scanned A, original, MIT.

A skill for searching live Google Flights and Booking.com results through RapidAPI, an online service that provides access to external APIs. It is intended as a secondary source for current flight and hotel prices.

In plain words
What is it for?
Searching one-way or return flights and looking up current hotel or holiday-rental prices, including searches with dates, travelers, cabin class, and currency.
Why use it?
It provides another price check when a primary search result may be old or needs confirmation.

Skill for Claude CodeCodex

Part of the travel-hacker plugin — 48 skills, 1 agent, 6 MCP servers shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/borski/travel-hacking-toolkit/rapidapi
Any agent
npx skills add borski/travel-hacking-toolkit --skill rapidapi
Clone the repo
git clone --depth 1 https://github.com/borski/travel-hacking-toolkit

Made for: Claude Code, Codex.

Or install travel-hacker, the plugin that ships this one along with the rest of its 48 skills, 1 agent, 6 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rapidapi

README.md
[![agentmods](https://agentmods.dev/badge/skills/borski/travel-hacking-toolkit/rapidapi.svg)](https://agentmods.dev/skills/borski/travel-hacking-toolkit/rapidapi)
Your own site
<a href="https://agentmods.dev/skills/borski/travel-hacking-toolkit/rapidapi"><img src="https://agentmods.dev/badge/skills/borski/travel-hacking-toolkit/rapidapi.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,204 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00033 $0.01204
Opus 5 $0.00016 $0.00602
Sonnet 5 $0.00007 $0.00241
Haiku 4.5 $0.00003 $0.00120

Measured 4d ago against content hash 923cd2346112, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

rapidapi scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -X POST "https://google-flights-live-api.p.rapidapi.com/api/v1/searchFlights" \
plugins/travel-hacking-toolkit/skills/rapidapi/SKILL.md · 124 lines

How it starts

The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

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

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

Read the full file on GitHub · 124 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 124 lines · 33 tokens per session scan A 923cd2346112

Subscribe to this mod's changes

rapidapi is a skill published in the GitHub repository borski/travel-hacking-toolkit (650 stars, last pushed 3d ago), licensed MIT. It adds 33 tokens to every session and 1,204 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.