- Home
- Skills
- APIs & Backend
- Travel Data API: flight and hotel price reference
Travel Data API: flight and hotel price reference
The reference an agent needs to call live Google Flights and Booking.com price data: auth, endpoints, every parameter and response field, runnable curl, and how to tell an empty result from a failed one.
Free
Works with the AI Agents you already use
Travel Data API: flight and hotel price reference
Example session with this skill installed
Give me a curl for a non-stop Berlin to London one-way on 28 June 2027, run it, and tell me how I know the search finished.
- Read your context and instructions
- Compiled the travel data api
: "${RAPIDAPI_KEY:?set RAPIDAPI_KEY to your FlightPowers key}"
curl -sS -D - -X POST "https://google-flights-live-api.p.rapidapi.com/api/google_flights/oneway/v1" \
-H "x-rapidapi-key: $RAPIDAPI_KEY" \
-H "x-rapidapi-host: google-flights-live-api.p.rapidapi.com" \
-H "Content-Type: application/json" \
-d '{"from_airport":"BER","to_airport":"LHR","departure_date":"2027-06-28","currency":"USD","max_stops":0,"limit":5}'
The search finished: the response came back with X-Search-Status: ok, X-Search-Results: 5, X-Search-Attempts: 1. ok means the list is complete. (empty would mean Google really has nothing; degraded would mean the search did not finish and [] says nothing.)
| Price | Airline | Departs | Arrives | Duration |
|---|---|---|---|---|
| $96 | Eurowings | 5:00 PM | 6:05 PM | 2 hr 5 min |
| $106 | British Airways | 9:20 PM | 10:15 PM | 1 hr 55 min |
| $118 | Eurowings | 7:00 AM | 8:10 AM | 2 hr 10 min |
| $159 | British Airways | 3:00 PM | 4:05 PM | 2 hr 5 min |
| $159 | British Airways | 7:00 AM | 8:05 AM | 2 hr 5 min |
Every row has price_range_in_relation_to_other_periods: "typical" with price_insights_low 85 and price_insights_high 175, so $96 is typical for this route. One call, one billed request. Checked 2026-10-23 16:48 UTC.
(Real call on 2026-10-23 through the FlightPowers API.)
Connects securely to your tools. The creator never sees your data.
About this skill
For developers wiring flight or hotel prices into code or an agent.
The skill holds the whole reference in one place: the RapidAPI header pair, both hosts, the four endpoints (one-way, round trip, hotel search, one named hotel), every request parameter, the exact response field names, the hosted MCP servers and their tools, and what each call costs. It writes runnable curl that reads the key from the environment and never prints it. It also knows the one thing that trips most integrations: an empty [] is only "no flights" when the X-Search-Status header says ok or empty; degraded means the search did not finish.
What it needs: a FlightPowers API key, sold on RapidAPI: free for 10 requests a month per API; PRO is $10 a month per API (2,500 flight searches, or 2,000 hotel searches). The skill reads the key from RAPIDAPI_KEY and sends it only to the FlightPowers hosts it names (the two RapidAPI hosts, or the flights./hotels.flightpowers.com MCP servers if you connect your key there). In an MCP client you can also add flights.flightpowers.com/mcp or hotels.flightpowers.com/mcp and sign in with Google: the first 10 searches a day are free, no key, shared across both. Every search is one billed request, and the skill tells you the count before it spends anything.
I wrote these skills (FlightPowers is mine). Source (MIT): https://github.com/mtnrabi/travel-agent-skills · Docs: https://flightpowers.com/docs
Independent API, not affiliated with Google or Booking.com.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.
A reference skill: it writes and explains calls, the other skills do the travel jobs. Live calls need a FlightPowers API key (sold on RapidAPI); every call is a billed request.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
1 use
Times used to date
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 24 days ago
- Free with an Agensi account
- Accounts
Rapidapi
Flightpowers
- Software
- curlGoogle Flights MCP
Permissions
Allowed Hosts
Network: HTTPS requests to google-flights-live-api.p.rapidapi.com and booking-live-api.p.rapidapi.com (REST) or flights.flightpowers.com/mcp and hotels.flightpowers.com/mcp (MCP) only, and only when you ask for a live call. Env: reads only RAPIDAPI_KEY. Writes no files unless you ask for code; written code uses a YOUR_RAPIDAPI_KEY placeholder, never the real key.