serpapi

Featured

Google Flights cash prices, Google Hotels, and Google Travel Explore via SerpAPI. Use for award-vs-cash comparison, hotel search, and destination discovery.

API & Backend 600 stars 56 forks Updated today MIT

Install

View on GitHub

Quality Score: 98/100

Stars 20%
93
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# SerpAPI Skill Scrape Google Flights, Google Hotels, and Google Travel Explore via SerpAPI. Provides cash flight prices (for Chase/Amex portal comparison), hotel pricing, and destination discovery. **Source:** [serpapi.com](https://serpapi.com) — Free tier available, paid plans for higher volume. ## Authentication `SERPAPI_API_KEY` is set in `.env`. All requests use `api_key` query parameter. ## API Base ``` https://serpapi.com/search ``` ## Google Flights (Cash Prices) Search for flight prices and schedules. Essential for comparing: "Is 88,000 United miles better than paying $900 cash through the Chase portal?" (Chase portal pricing is now dynamic via Points Boost, ~1.5-2.0 cpp on select bookings; verify the actual quote.) ### One-Way Search ```bash curl -s "https://serpapi.com/search?engine=google_flights&departure_id=SFO&arrival_id=NRT&outbound_date=2026-08-10&type=2&adults=2&travel_class=1&currency=USD&stops=2&sort_by=2&api_key=$SERPAPI_API_KEY" | jq '{best: [.best_flights[]? | {price: .price, duration: .total_duration, stops: (.layovers | length), flights: [.flights[] | {from: .departure_airport.id, to: .arrival_airport.id, airline: .airline, flight: .flight_number, depart: .departure_airport.time, arrive: .arrival_airport.time}]}], price_insights: .price_insights}' ``` ### Parameters | Param | Required | Description | |-------|----------|-------------| | `engine` | Yes | `google_flights` | | `departure_id` | Yes | Airport code(s), comma-separated: `SFO,PDX`...

Details

Author
borski
Repository
borski/travel-hacking-toolkit
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category