Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the SerpApi Travel APIs, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fserpapi%2Fserpapi-travel" | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fserpapi%2Fserpapi-travel" | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with SerpApi Travel APIs.
Search Google Flights between departure_id and arrival_id airports for an outbound_date and optional return_date
Filter flights by travel_class, stops, bags, max_price, max_duration, and included or excluded airlines
Sort flight results by price, departure time, duration, or emissions with sort_by
Follow a departure_token to pick a return leg and a booking_token to get booking options
GET STARTED
Search Google Hotels for a q location between check_in_date and check_out_date
Filter hotels by min_price, max_price, rating, hotel_class, free_cancellation, and eco_certified
Switch hotel search to vacation rentals with bedrooms and bathrooms filters
Patterns agents use SerpApi Travel APIs for, with concrete tasks.
★ AI Travel Planning Agent Through Jentic
A trip-planning agent connected through Jentic can pull live flight and hotel options without anyone hand-wiring SerpApi's api_key query parameter. It searches by intent, receives searchFlights or searchHotels with its input schema, and fills in airports, dates, and filters from the user's request. The JSON results let it present ranked options rather than links.
Search Jentic for 'search flights between two airports', load searchFlights, and call it with engine 'google_flights', departure_id 'DUB', arrival_id 'JFK', outbound_date '2027-03-12', type 2, and stops 1
Fare Comparison and Filtering
Travellers want the trade-off between price, stops, and cabin. The flight search accepts travel_class, stops, bags, max_price, and max_duration, and sort_by orders results by price, duration, or emissions, so an agent can show the cheapest nonstop or the lowest-emission option. Setting deep_search to true returns results matching what Google Flights shows in the browser.
Call GET /search with engine 'google_flights', departure_id 'LHR', arrival_id 'HND', outbound_date '2027-01-10', return_date '2027-01-20', travel_class 3, and sort_by 2
Hotel and Vacation Rental Shortlists
Accommodation searches need dates, a place, and a few hard requirements. The hotel search takes q, check_in_date, and check_out_date, with adults, children, and children_ages for party size, and narrows by rating, hotel_class, free_cancellation, and price. Setting vacation_rentals switches to rentals, where bedrooms and bathrooms filters apply.
Call the hotel search with engine 'google_hotels', q 'Lisbon', check_in_date '2027-05-02', check_out_date '2027-05-05', adults 2, rating 9, and free_cancellation true
2 endpoints — the serpapi travel apis return google flights and google hotels search results as structured json.
METHOD
PATH
DESCRIPTION
/search
Search Google Flights
/search?engine=google_hotels
Search Google Hotels
/search
Search Google Flights
/search?engine=google_hotels
Search Google Hotels
What agents get from Jentic-routed access to this vendor.
Setup
Wiring SerpApi Travel by hand means appending its api_key query parameter to each call, setting the right engine value for flights or hotels, and decoding integer enums such as travel_class and sort_by yourself. Through Jentic you install once, import it from the API Directory, store the key once, and your agent calls it.
Permission scoping
Flight and hotel search share the /search path and differ only by the engine query parameter, so a rule bounds whether your agent may call this API rather than which engine. Both operations are read-only searches, so the agent cannot book or pay through them.
Credential isolation
Your SerpApi key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
Intent-based discovery
Agents search Jentic by intent such as 'search flights between two airports' or 'find hotels for my dates', and Jentic returns the matching SerpApi operation with its input schema so the agent calls the right endpoint without browsing the reference docs.
Alternatives and complements available in the Jentic catalogue.
Specific to using SerpApi Travel APIs through Jentic.
Is there a SerpApi Travel MCP server?
You don't need an MCP server to give your agent SerpApi's flight and hotel search. Jentic connects it directly from the API Directory: import it, store your api_key once, and your agent calls Google Flights or Google Hotels search when a trip question comes up.
Can I limit what my agent is allowed to do with the SerpApi Travel APIs?
Yes, at the API level. Both searches are read-only GET calls on /search, so the practical rule is whether your agent may call SerpApi Travel at all: allow it for your trip-planning agent and leave it out for other agents, and every search it runs is logged by your self-hosted instance. Neither operation books or pays for travel.
What authentication do the SerpApi Travel APIs use?
Per the OpenAPI spec, SerpApi authenticates with a private API key passed as the api_key query parameter on every search. Through Jentic the key is stored encrypted by your own Jentic One instance and appended at call time, so it never appears in the agent's prompt or in URLs it can see.
Can I book a flight with the SerpApi Travel APIs?
No. The flight search returns itineraries and a booking_token; passing booking_token back to the search returns booking options from Google Flights, but the purchase happens with the airline or agent, not through SerpApi.
What are the rate limits for the SerpApi Travel APIs?
The OpenAPI spec does not state rate limits. SerpApi plans are metered by monthly searches; check https://serpapi.com/pricing for current limits.
How do I search for hotels through Jentic?
Search Jentic for 'find hotels for my dates' and it returns searchHotels with its input schema. Supply engine google_hotels, q (the location), check_in_date, and check_out_date, which are all required, plus optional filters such as hotel_class or max_price. To run it on your own infrastructure, install Jentic One from its GitHub repo.
For Agents
Search Google Flights for itineraries and prices between two airports, and Google Hotels for hotels or vacation rentals with rates, ratings, and amenities, returned as JSON.
Use for: I need the cheapest nonstop flight from Dublin to New York on 12 March, Find business class flights from London to Tokyo next month, Search for hotels in Lisbon for three nights with free cancellation, List all 4-star hotels in Barcelona rated 4.5 or higher
Not supported: Does not book flights, reserve hotels, or process travel payments. Use for searching Google Flights and Google Hotels results only.
The SerpApi Travel APIs return Google Flights and Google Hotels search results as structured JSON. A flight search takes departure_id and arrival_id airport codes, an outbound_date, and filters such as travel_class, stops, bags, max_price, and include_airlines, and returns itineraries with prices, durations, airlines, layovers, carbon emissions, and booking tokens. A hotel search takes a q location, check_in_date, and check_out_date, filters by price, rating, hotel_class, free_cancellation, or vacation_rentals, and returns properties with rates, ratings, amenities, and location data.
This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.
Base layer of spec validity and structural soundness.
Aggregated quality score from linter diagnostics, weighted by severity.
Percentage of `$ref` references that resolve successfully.
Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).
Structural correctness score based on schema issues using logarithmic dampening.
Clarity, completeness, and ingestion readiness for developers and tooling.
How richly the API is illustrated with examples.
Percentage of examples that conform to their schemas.
Percentage of operations with complete response definitions (success, client error, server error).
Health of API ingestion, bundling, and resolution within Jentic pipelines.
Semantic breadth, depth, and agent comprehension for AI systems.
Coverage of descriptions across API elements.
Coverage of RFC 9457 Problem Details for error responses.
Coverage, uniqueness, and casing consistency of operationIds for AI inference.
Coverage of summaries across operations/tags/info.
Functional utility, complexity comfort, and AI orchestration readiness.
Agent comfort level based on API operational and structural complexity.
Trust, risk posture, and security compliance.
Average quality of security schemes based on authentication method strength (weakest link for OAuth2).
Findability, semantic richness, and reasoning readiness.
Clarity and depth of descriptions across API elements.
Score it yourself
Every API in the directory is allowlisted, so you can re-score it with no key required.
npx @jentic/api-scorecard-cli score <openapi-url>