a2bflight fares is an MCP server published by com.a2bflight, hosted at mcp.a2bflight.com. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 5 tools, including cheapest_routes, find_airports, meet_link, route_fares, where_to_meet.
Cheap flight fares by route and date, each with the day it was found, and where a group can meet.
2 connections through 4 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
Use this when someone asks where they can fly cheaply from a city, or for flight deals under a budget or in a month. Returns the cheapest fare on each route with fares from an origin (or into a destination), cheapest one-way first, each with its cheapest round trip of a 3 to 21 day stay in `return` when the route has one. Filter by a maximum price and a departure month here rather than by reading the list; both apply to the one-way. Prices are for one adult in economy; each fare carries found_at, the day it was found (or checked, the day its route was last checked, when it has none), and a one-way may carry typical_price and pct_below_typical.
| Parameter | Type | Description |
|---|---|---|
| to | string | where the flights land: destination IATA airport or city code |
| from | string | where the flights leave from: origin IATA airport or city code (NYC covers JFK, LGA and EWR); give from, to or both |
| limit | integer | how many routes to return, 1 to 20; 10 when omitted |
| month |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
| string |
| YYYY-MM: the cheapest fare departing in that month; needs from |
| max_price | number | keep only fares at or under this amount, in the currency the results carry |
{
"name": "cheapest_routes",
"title": "Cheapest routes",
"description": "Use this when someone asks where they can fly cheaply from a city, or for flight deals under a budget or in a month. Returns the cheapest fare on each route with fares from an origin (or into a destination), cheapest one-way first, each with its cheapest round trip of a 3 to 21 day stay in `return` when the route has one. Filter by a maximum price and a departure month here rather than by reading the list; both apply to the one-way. Prices are for one adult in economy; each fare carries found_at, the day it was found (or checked, the day its route was last checked, when it has none), and a one-way may carry typical_price and pct_below_typical.",
"inputSchema": {
"type": "object",
"properties": {
"to": {
"type": "string",
"description": "where the flights land: destination IATA airport or city code"
},
"from": {
"type": "string",
"description": "where the flights leave from: origin IATA airport or city code (NYC covers JFK, LGA and EWR); give from, to or both"
},
"limit": {
"type": "integer",
"description": "how many routes to return, 1 to 20; 10 when omitted"
},
"month": {
"type": "string",
"description": "YYYY-MM: the cheapest fare departing in that month; needs from"
},
"max_price": {
"type": "number",
"description": "keep only fares at or under this amount, in the currency the results carry"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"routes"
],
"properties": {
"note": {
"type": "string"
},
"routes": {
"type": [
"null",
"array"
],
"items": {
"type": "object",
"required": [
"from",
"to",
"trip",
"price",
"currency",
"travellers",
"cabin",
"checked",
"page_url"
],
"properties": {
"to": {
"type": "string"
},
"ref": {
"type": "string"
},
"from": {
"type": "string"
},
"trip": {
"type": "string",
"description": "one-way or return"
},
"cabin": {
"type": "string"
},
"lands": {
"type": "string",
"description": "local arrival time with the airport's offset"
},
"month": {
"type": "string",
"description": "YYYY-MM, on a per-month row that has no single date"
},
"price": {
"type": "number"
},
"stops": {
"type": [
"null",
"integer"
],
"description": "connections; on a return, both directions together"
},
"flight": {
"type": "string"
},
"return": {
"type": [
"null",
"object"
],
"required": [
"from",
"to",
"trip",
"price",
"currency",
"travellers",
"cabin",
"checked",
"page_url"
],
"properties": {
"to": {
"type": "string"
},
"ref": {
"type": "string"
},
"from": {
"type": "string"
},
"trip": {
"type": "string",
"description": "one-way or return"
},
"cabin": {
"type": "string"
},
"lands": {
"type": "string",
"description": "local arrival time with the airport's offset"
},
"month": {
"type": "string",
"description": "YYYY-MM, on a per-month row that has no single date"
},
"price": {
"type": "number"
},
"stops": {
"type": [
"null",
"integer"
],
"description": "connections; on a return, both directions together"
},
"flight": {
"type": "string"
},
"carrier": {
"type": "string"
},
"checked": {
"type": "string",
"description": "YYYY-MM-DD: the day this route was last checked; found_at, when present, is the day this fare was found"
},
"departs": {
"type": "string",
"description": "local departure time with the airport's offset"
},
"book_url": {
"type": "string",
"description": "opens the seller's booking page for this fare, where the final price and bag fees appear at checkout"
},
"currency": {
"type": "string"
},
"duration": {
"type": "string",
"description": "flying time; on a return, both directions together"
},
"found_at": {
"type": "string",
"description": "YYYY-MM-DD: the day this fare was found; absent when only checked is known"
},
"page_url": {
"type": "string",
"description": "the route's page on a2bflight.com — give the user this link first"
},
"travellers": {
"type": "integer"
},
"depart_date": {
"type": "string"
},
"return_date": {
"type": "string"
},
"carrier_name": {
"type": "string"
},
"typical_price": {
"type": "number",
"description": "one-way only: the route's typical one-way fare, the median of each departure date's cheapest one-way, in currency"
},
"pct_below_typical": {
"type": "integer",
"description": "one-way only: how many percent this fare is under typical_price; present only when 10 or more"
}
},
"description": "the route's cheapest round trip of a 3 to 21 day stay; absent when the route has none, and the route's page_url then offers a return search",
"additionalProperties": false
},
"carrier": {
"type": "string"
},
"checked": {
"type": "string",
"description": "YYYY-MM-DD: the day this route was last checked; found_at, when present, is the day this fare was found"
},
"departs": {
"type": "string",
"description": "local departure time with the airport's offset"
},
"book_url": {
"type": "string",
"description": "opens the seller's booking page for this fare, where the final price and bag fees appear at checkout"
},
"currency": {
"type": "string"
},
"duration": {
"type": "string",
"description": "flying time; on a return, both directions together"
},
"found_at": {
"type": "string",
"description": "YYYY-MM-DD: the day this fare was found; absent when only checked is known"
},
"page_url": {
"type": "string",
"description": "the route's page on a2bflight.com — give the user this link first"
},
"travellers": {
"type": "integer"
},
"depart_date": {
"type": "string"
},
"return_date": {
"type": "string"
},
"carrier_name": {
"type": "string"
},
"typical_price": {
"type": "number",
"description": "one-way only: the route's typical one-way fare, the median of each departure date's cheapest one-way, in currency"
},
"pct_below_typical": {
"type": "integer",
"description": "one-way only: how many percent this fare is under typical_price; present only when 10 or more"
}
},
"additionalProperties": false
}
},
"currency": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Cheapest routes",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Look up airports and city codes by name, or list the airports near an airport code. Use it to turn a city name into the IATA code a flight search with the other tools takes.
| Parameter | Type | Description |
|---|---|---|
| near | string | an IATA airport code, to list the airports near it; give this or query |
| query | string | a city or airport name or the start of one; give this or near |
{
"name": "find_airports",
"title": "Find airports",
"description": "Look up airports and city codes by name, or list the airports near an airport code. Use it to turn a city name into the IATA code a flight search with the other tools takes.",
"inputSchema": {
"type": "object",
"properties": {
"near": {
"type": "string",
"description": "an IATA airport code, to list the airports near it; give this or query"
},
"query": {
"type": "string",
"description": "a city or airport name or the start of one; give this or near"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"places"
],
"properties": {
"places": {
"type": [
"null",
"array"
],
"items": {
"type": "object",
"required": [
"code",
"city",
"country"
],
"properties": {
"city": {
"type": "string"
},
"code": {
"type": "string"
},
"metro": {
"type": "boolean",
"description": "true for a city code that covers several airports"
},
"country": {
"type": "string"
},
"airports": {
"type": [
"null",
"array"
],
"items": {
"type": "string"
}
},
"distance_km": {
"type": [
"null",
"integer"
]
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"title": "Find airports",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}A link to a2bflight.com's group page for people flying from different homes to meet in one place. Use it when the user already knows where; where_to_meet when they ask where. Without dates it picks the weekend, of the next eight, whose round trips cover everyone for the lowest total, and returns each fare and the total; with dates it returns no price, and the page shows each person's cheapest fare for those dates or the closest. A warning says why the fares are a poor option and what to try instead: pass it on.
| Parameter | Type | Description |
|---|---|---|
| to * | string | the IATA airport where they all meet — an airport, not a city code |
| out | string | YYYY-MM-DD: the day they meet; leave out and back both empty for a suggested long weekend |
| back | string | YYYY-MM-DD: the day everyone flies home |
| mode | string | cheapest_total (the default: the lowest sum), fairest (the lowest dearest ticket), least_travel (the least flying time) or earliest_together (everyone landed soonest) |
| members * | ["null","array"] | 2 to 8 people, each flying from their own home; person 1 first |
{
"name": "meet_link",
"title": "Group trip link",
"description": "A link to a2bflight.com's group page for people flying from different homes to meet in one place. Use it when the user already knows where; where_to_meet when they ask where. Without dates it picks the weekend, of the next eight, whose round trips cover everyone for the lowest total, and returns each fare and the total; with dates it returns no price, and the page shows each person's cheapest fare for those dates or the closest. A warning says why the fares are a poor option and what to try instead: pass it on.",
"inputSchema": {
"type": "object",
"required": [
"members",
"to"
],
"properties": {
"to": {
"type": "string",
"description": "the IATA airport where they all meet — an airport, not a city code"
},
"out": {
"type": "string",
"description": "YYYY-MM-DD: the day they meet; leave out and back both empty for a suggested long weekend"
},
"back": {
"type": "string",
"description": "YYYY-MM-DD: the day everyone flies home"
},
"mode": {
"type": "string",
"description": "cheapest_total (the default: the lowest sum), fairest (the lowest dearest ticket), least_travel (the least flying time) or earliest_together (everyone landed soonest)"
},
"members": {
"type": [
"null",
"array"
],
"items": {
"type": "object",
"required": [
"home"
],
"properties": {
"home": {
"type": "string",
"description": "the person's home IATA airport, such as JFK — an airport, not a city code"
},
"adults": {
"type": "integer",
"description": "how many adults fly from this home together; omit for 1"
}
},
"additionalProperties": false
},
"description": "2 to 8 people, each flying from their own home; person 1 first"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"meet_url",
"members",
"to",
"to_city",
"out",
"back",
"dates"
],
"properties": {
"to": {
"type": "string"
},
"out": {
"type": "string"
},
"back": {
"type": "string"
},
"dates": {
"type": "string",
"description": "asked: the user's dates; priced: the weekend of the next eight whose round trips cover everyone, cheapest summed; suggested: no weekend does, so a long weekend three weeks out, whose page links each person to a search for those dates"
},
"fares": {
"type": [
"null",
"array"
],
"items": {
"type": "object",
"required": [
"from",
"to",
"trip",
"price",
"currency",
"travellers",
"cabin",
"checked",
"page_url"
],
"properties": {
"to": {
"type": "string"
},
"ref": {
"type": "string"
},
"from": {
"type": "string"
},
"trip": {
"type": "string",
"description": "one-way or return"
},
"cabin": {
"type": "string"
},
"lands": {
"type": "string",
"description": "local arrival time with the airport's offset"
},
"month": {
"type": "string",
"description": "YYYY-MM, on a per-month row that has no single date"
},
"price": {
"type": "number"
},
"stops": {
"type": [
"null",
"integer"
],
"description": "connections; on a return, both directions together"
},
"flight": {
"type": "string"
},
"carrier": {
"type": "string"
},
"checked": {
"type": "string",
"description": "YYYY-MM-DD: the day this route was last checked; found_at, when present, is the day this fare was found"
},
"departs": {
"type": "string",
"description": "local departure time with the airport's offset"
},
"book_url": {
"type": "string",
"description": "opens the seller's booking page for this fare, where the final price and bag fees appear at checkout"
},
"currency": {
"type": "string"
},
"duration": {
"type": "string",
"description": "flying time; on a return, both directions together"
},
"found_at": {
"type": "string",
"description": "YYYY-MM-DD: the day this fare was found; absent when only checked is known"
},
"page_url": {
"type": "string",
"description": "the route's page on a2bflight.com — give the user this link first"
},
"travellers": {
"type": "integer"
},
"depart_date": {
"type": "string"
},
"return_date": {
"type": "string"
},
"carrier_name": {
"type": "string"
},
"typical_price": {
"type": "number",
"description": "one-way only: the route's typical one-way fare, the median of each departure date's cheapest one-way, in currency"
},
"pct_below_typical": {
"type": "integer",
"description": "one-way only: how many percent this fare is under typical_price; present only when 10 or more"
}
},
"additionalProperties": false
},
"description": "on priced dates, each person's cheapest round trip, in the order of members"
},
"total": {
"type": "number",
"description": "on priced dates, the fares added up; absent when anyone is more than one adult or the currencies differ"
},
"members": {
"type": [
"null",
"array"
],
"items": {
"type": "object",
"required": [
"home",
"city",
"adults"
],
"properties": {
"city": {
"type": "string"
},
"home": {
"type": "string"
},
"adults": {
"type": "integer"
}
},
"additionalProperties": false
}
},
"to_city": {
"type": "string"
},
"warning": {
"type": "string",
"description": "why these fares are a poor option and what to try instead — tell the user both"
},
"currency": {
"type": "string"
},
"meet_url": {
"type": "string",
"description": "the group's page on a2bflight.com with everyone filled in — give the user this link"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Group trip link",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Use this when someone asks about flights, flight prices, airfare or cheap plane tickets between two airports or cities (for example Seoul to Tokyo; find_airports turns a city into its airports). Returns the fares for one airport pair: the cheapest one-way, the cheapest round trip of a 3 to 21 day stay, a fare calendar of the cheapest one-way by departure date, the cheapest one-way in each month, and the cheapest round trips. A one-way may carry typical_price, the route's typical one-way fare, and pct_below_typical. When the pair has no fares yet, it looks the route up; if the fares are not back in time it answers status "pricing", and asking again a minute later reads them.
| Parameter | Type | Description |
|---|---|---|
| to * | string | where the flight lands: destination IATA airport code |
| from * | string | where the flight leaves from: origin IATA airport code (an airport, not a city code) |
| month | string | YYYY-MM: keep only departure dates in that month |
{
"name": "route_fares",
"title": "Route fares",
"description": "Use this when someone asks about flights, flight prices, airfare or cheap plane tickets between two airports or cities (for example Seoul to Tokyo; find_airports turns a city into its airports). Returns the fares for one airport pair: the cheapest one-way, the cheapest round trip of a 3 to 21 day stay, a fare calendar of the cheapest one-way by departure date, the cheapest one-way in each month, and the cheapest round trips. A one-way may carry typical_price, the route's typical one-way fare, and pct_below_typical. When the pair has no fares yet, it looks the route up; if the fares are not back in time it answers status \"pricing\", and asking again a minute later reads them.",
"inputSchema": {
"type": "object",
"required": [
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"description": "where the flight lands: destination IATA airport code"
},
"from": {
"type": "string",
"description": "where the flight leaves from: origin IATA airport code (an airport, not a city code)"
},
"month": {
"type": "string",
"description": "YYYY-MM: keep only departure dates in that month"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"from",
"to",
"status",
"page_url"
],
"properties": {
"to": {
"type": "string"
},
"from": {
"type": "string"
},
"dates": {
"type": [
"null",
"array"
],
"items": {
"type": "object",
"required": [
"from",
"to",
"trip",
"price",
"currency",
"travellers",
"cabin",
"checked",
"page_url"
],
"properties": {
"to": {
"type": "string"
},
"ref": {
"type": "string"
},
"from": {
"type": "string"
},
"trip": {
"type": "string",
"description": "one-way or return"
},
"cabin": {
"type": "string"
},
"lands": {
"type": "string",
"description": "local arrival time with the airport's offset"
},
"month": {
"type": "string",
"description": "YYYY-MM, on a per-month row that has no single date"
},
"price": {
"type": "number"
},
"stops": {
"type": [
"null",
"integer"
],
"description": "connections; on a return, both directions together"
},
"flight": {
"type": "string"
},
"carrier": {
"type": "string"
},
"checked": {
"type": "string",
"description": "YYYY-MM-DD: the day this route was last checked; found_at, when present, is the day this fare was found"
},
"departs": {
"type": "string",
"description": "local departure time with the airport's offset"
},
"book_url": {
"type": "string",
"description": "opens the seller's booking page for this fare, where the final price and bag fees appear at checkout"
},
"currency": {
"type": "string"
},
"duration": {
"type": "string",
"description": "flying time; on a return, both directions together"
},
"found_at": {
"type": "string",
"description": "YYYY-MM-DD: the day this fare was found; absent when only checked is known"
},
"page_url": {
"type": "string",
"description": "the route's page on a2bflight.com — give the user this link first"
},
"travellers": {
"type": "integer"
},
"depart_date": {
"type": "string"
},
"return_date": {
"type": "string"
},
"carrier_name": {
"type": "string"
},
"typical_price": {
"type": "number",
"description": "one-way only: the route's typical one-way fare, the median of each departure date's cheapest one-way, in currency"
},
"pct_below_typical": {
"type": "integer",
"description": "one-way only: how many percent this fare is under typical_price; present only when 10 or more"
}
},
"additionalProperties": false
},
"description": "the cheapest one-way fares by departure date, cheapest first"
},
"months": {
"type": [
"null",
"array"
],
"items": {
"type": "object",
"required": [
"from",
"to",
"trip",
"price",
"currency",
"travellers",
"cabin",
"checked",
"page_url"
],
"properties": {
"to": {
"type": "string"
},
"ref": {
"type": "string"
},
"from": {
"type": "string"
},
"trip": {
"type": "string",
"description": "one-way or return"
},
"cabin": {
"type": "string"
},
"lands": {
"type": "string",
"description": "local arrival time with the airport's offset"
},
"month": {
"type": "string",
"description": "YYYY-MM, on a per-month row that has no single date"
},
"price": {
"type": "number"
},
"stops": {
"type": [
"null",
"integer"
],
"description": "connections; on a return, both directions together"
},
"flight": {
"type": "string"
},
"carrier": {
"type": "string"
},
"checked": {
"type": "string",
"description": "YYYY-MM-DD: the day this route was last checked; found_at, when present, is the day this fare was found"
},
"departs": {
"type": "string",
"description": "local departure time with the airport's offset"
},
"book_url": {
"type": "string",
"description": "opens the seller's booking page for this fare, where the final price and bag fees appear at checkout"
},
"currency": {
"type": "string"
},
"duration": {
"type": "string",
"description": "flying time; on a return, both directions together"
},
"found_at": {
"type": "string",
"description": "YYYY-MM-DD: the day this fare was found; absent when only checked is known"
},
"page_url": {
"type": "string",
"description": "the route's page on a2bflight.com — give the user this link first"
},
"travellers": {
"type": "integer"
},
"depart_date": {
"type": "string"
},
"return_date": {
"type": "string"
},
"carrier_name": {
"type": "string"
},
"typical_price": {
"type": "number",
"description": "one-way only: the route's typical one-way fare, the median of each departure date's cheapest one-way, in currency"
},
"pct_below_typical": {
"type": "integer",
"description": "one-way only: how many percent this fare is under typical_price; present only when 10 or more"
}
},
"additionalProperties": false
},
"description": "the cheapest one-way fare in each month"
},
"status": {
"type": "string",
"description": "held: fares below; pricing: the route is still being looked up, ask again in a minute; none: no fares for it yet"
},
"returns": {
"type": [
"null",
"array"
],
"items": {
"type": "object",
"required": [
"from",
"to",
"trip",
"price",
"currency",
"travellers",
"cabin",
"checked",
"page_url"
],
"properties": {
"to": {
"type": "string"
},
"ref": {
"type": "string"
},
"from": {
"type": "string"
},
"trip": {
"type": "string",
"description": "one-way or return"
},
"cabin": {
"type": "string"
},
"lands": {
"type": "string",
"description": "local arrival time with the airport's offset"
},
"month": {
"type": "string",
"description": "YYYY-MM, on a per-month row that has no single date"
},
"price": {
"type": "number"
},
"stops": {
"type": [
"null",
"integer"
],
"description": "connections; on a return, both directions together"
},
"flight": {
"type": "string"
},
"carrier": {
"type": "string"
},
"checked": {
"type": "string",
"description": "YYYY-MM-DD: the day this route was last checked; found_at, when present, is the day this fare was found"
},
"departs": {
"type": "string",
"description": "local departure time with the airport's offset"
},
"book_url": {
"type": "string",
"description": "opens the seller's booking page for this fare, where the final price and bag fees appear at checkout"
},
"currency": {
"type": "string"
},
"duration": {
"type": "string",
"description": "flying time; on a return, both directions together"
},
"found_at": {
"type": "string",
"description": "YYYY-MM-DD: the day this fare was found; absent when only checked is known"
},
"page_url": {
"type": "string",
"description": "the route's page on a2bflight.com — give the user this link first"
},
"travellers": {
"type": "integer"
},
"depart_date": {
"type": "string"
},
"return_date": {
"type": "string"
},
"carrier_name": {
"type": "string"
},
"typical_price": {
"type": "number",
"description": "one-way only: the route's typical one-way fare, the median of each departure date's cheapest one-way, in currency"
},
"pct_below_typical": {
"type": "integer",
"description": "one-way only: how many percent this fare is under typical_price; present only when 10 or more"
}
},
"additionalProperties": false
},
"description": "the cheapest round trips, any stay, cheapest first"
},
"cheapest": {
"type": [
"null",
"object"
],
"required": [
"from",
"to",
"trip",
"price",
"currency",
"travellers",
"cabin",
"checked",
"page_url"
],
"properties": {
"to": {
"type": "string"
},
"ref": {
"type": "string"
},
"from": {
"type": "string"
},
"trip": {
"type": "string",
"description": "one-way or return"
},
"cabin": {
"type": "string"
},
"lands": {
"type": "string",
"description": "local arrival time with the airport's offset"
},
"month": {
"type": "string",
"description": "YYYY-MM, on a per-month row that has no single date"
},
"price": {
"type": "number"
},
"stops": {
"type": [
"null",
"integer"
],
"description": "connections; on a return, both directions together"
},
"flight": {
"type": "string"
},
"carrier": {
"type": "string"
},
"checked": {
"type": "string",
"description": "YYYY-MM-DD: the day this route was last checked; found_at, when present, is the day this fare was found"
},
"departs": {
"type": "string",
"description": "local departure time with the airport's offset"
},
"book_url": {
"type": "string",
"description": "opens the seller's booking page for this fare, where the final price and bag fees appear at checkout"
},
"currency": {
"type": "string"
},
"duration": {
"type": "string",
"description": "flying time; on a return, both directions together"
},
"found_at": {
"type": "string",
"description": "YYYY-MM-DD: the day this fare was found; absent when only checked is known"
},
"page_url": {
"type": "string",
"description": "the route's page on a2bflight.com — give the user this link first"
},
"travellers": {
"type": "integer"
},
"depart_date": {
"type": "string"
},
"return_date": {
"type": "string"
},
"carrier_name": {
"type": "string"
},
"typical_price": {
"type": "number",
"description": "one-way only: the route's typical one-way fare, the median of each departure date's cheapest one-way, in currency"
},
"pct_below_typical": {
"type": "integer",
"description": "one-way only: how many percent this fare is under typical_price; present only when 10 or more"
}
},
"description": "the cheapest one-way; absent when the pair has no dated one-way",
"additionalProperties": false
},
"currency": {
"type": "string"
},
"page_url": {
"type": "string"
},
"cheapest_return": {
"type": [
"null",
"object"
],
"required": [
"from",
"to",
"trip",
"price",
"currency",
"travellers",
"cabin",
"checked",
"page_url"
],
"properties": {
"to": {
"type": "string"
},
"ref": {
"type": "string"
},
"from": {
"type": "string"
},
"trip": {
"type": "string",
"description": "one-way or return"
},
"cabin": {
"type": "string"
},
"lands": {
"type": "string",
"description": "local arrival time with the airport's offset"
},
"month": {
"type": "string",
"description": "YYYY-MM, on a per-month row that has no single date"
},
"price": {
"type": "number"
},
"stops": {
"type": [
"null",
"integer"
],
"description": "connections; on a return, both directions together"
},
"flight": {
"type": "string"
},
"carrier": {
"type": "string"
},
"checked": {
"type": "string",
"description": "YYYY-MM-DD: the day this route was last checked; found_at, when present, is the day this fare was found"
},
"departs": {
"type": "string",
"description": "local departure time with the airport's offset"
},
"book_url": {
"type": "string",
"description": "opens the seller's booking page for this fare, where the final price and bag fees appear at checkout"
},
"currency": {
"type": "string"
},
"duration": {
"type": "string",
"description": "flying time; on a return, both directions together"
},
"found_at": {
"type": "string",
"description": "YYYY-MM-DD: the day this fare was found; absent when only checked is known"
},
"page_url": {
"type": "string",
"description": "the route's page on a2bflight.com — give the user this link first"
},
"travellers": {
"type": "integer"
},
"depart_date": {
"type": "string"
},
"return_date": {
"type": "string"
},
"carrier_name": {
"type": "string"
},
"typical_price": {
"type": "number",
"description": "one-way only: the route's typical one-way fare, the median of each departure date's cheapest one-way, in currency"
},
"pct_below_typical": {
"type": "integer",
"description": "one-way only: how many percent this fare is under typical_price; present only when 10 or more"
}
},
"description": "the cheapest round trip of a 3 to 21 day stay; absent when the pair has none, and page_url then offers a return search",
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"title": "Route fares",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Where 2 to 8 people flying from different homes can meet cheapest: the places every home has a route into, each with a weekend that has a round trip for everyone, each person's fare, the total, and meet_url — the group's page with all of it filled in. A place with a warning is a poor option: say why, and offer the better pick it names. Prices are for one adult in economy; each fare carries found_at, the day it was found (or checked, the day its route was last checked, when it has none).
| Parameter | Type | Description |
|---|---|---|
| homes * | ["null","array"] | 2 to 8 home airports or city codes, one per person, person 1 first (NYC covers JFK, LGA and EWR) |
| limit | integer | how many places to return, 1 to 8; 5 when omitted |
| month | string | YYYY-MM: meet on a weekend in that month; the next eight weekends from two weeks out when omitted |
| nights | integer | nights they stay, 1 to 14; 3 (Friday to Monday) when omitted |
{
"name": "where_to_meet",
"title": "Where to meet",
"description": "Where 2 to 8 people flying from different homes can meet cheapest: the places every home has a route into, each with a weekend that has a round trip for everyone, each person's fare, the total, and meet_url — the group's page with all of it filled in. A place with a warning is a poor option: say why, and offer the better pick it names. Prices are for one adult in economy; each fare carries found_at, the day it was found (or checked, the day its route was last checked, when it has none).",
"inputSchema": {
"type": "object",
"required": [
"homes"
],
"properties": {
"homes": {
"type": [
"null",
"array"
],
"items": {
"type": "string"
},
"description": "2 to 8 home airports or city codes, one per person, person 1 first (NYC covers JFK, LGA and EWR)"
},
"limit": {
"type": "integer",
"description": "how many places to return, 1 to 8; 5 when omitted"
},
"month": {
"type": "string",
"description": "YYYY-MM: meet on a weekend in that month; the next eight weekends from two weeks out when omitted"
},
"nights": {
"type": "integer",
"description": "nights they stay, 1 to 14; 3 (Friday to Monday) when omitted"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"places"
],
"properties": {
"note": {
"type": "string"
},
"places": {
"type": [
"null",
"array"
],
"items": {
"type": "object",
"required": [
"to",
"city",
"country",
"out",
"back",
"leave_from",
"fares",
"meet_url"
],
"properties": {
"to": {
"type": "string",
"description": "the airport everyone flies into"
},
"out": {
"type": "string",
"description": "the Friday they meet"
},
"back": {
"type": "string",
"description": "the day home"
},
"city": {
"type": "string"
},
"fares": {
"type": [
"null",
"array"
],
"items": {
"type": "object",
"required": [
"from",
"to",
"trip",
"price",
"currency",
"travellers",
"cabin",
"checked",
"page_url"
],
"properties": {
"to": {
"type": "string"
},
"ref": {
"type": "string"
},
"from": {
"type": "string"
},
"trip": {
"type": "string",
"description": "one-way or return"
},
"cabin": {
"type": "string"
},
"lands": {
"type": "string",
"description": "local arrival time with the airport's offset"
},
"month": {
"type": "string",
"description": "YYYY-MM, on a per-month row that has no single date"
},
"price": {
"type": "number"
},
"stops": {
"type": [
"null",
"integer"
],
"description": "connections; on a return, both directions together"
},
"flight": {
"type": "string"
},
"carrier": {
"type": "string"
},
"checked": {
"type": "string",
"description": "YYYY-MM-DD: the day this route was last checked; found_at, when present, is the day this fare was found"
},
"departs": {
"type": "string",
"description": "local departure time with the airport's offset"
},
"book_url": {
"type": "string",
"description": "opens the seller's booking page for this fare, where the final price and bag fees appear at checkout"
},
"currency": {
"type": "string"
},
"duration": {
"type": "string",
"description": "flying time; on a return, both directions together"
},
"found_at": {
"type": "string",
"description": "YYYY-MM-DD: the day this fare was found; absent when only checked is known"
},
"page_url": {
"type": "string",
"description": "the route's page on a2bflight.com — give the user this link first"
},
"travellers": {
"type": "integer"
},
"depart_date": {
"type": "string"
},
"return_date": {
"type": "string"
},
"carrier_name": {
"type": "string"
},
"typical_price": {
"type": "number",
"description": "one-way only: the route's typical one-way fare, the median of each departure date's cheapest one-way, in currency"
},
"pct_below_typical": {
"type": "integer",
"description": "one-way only: how many percent this fare is under typical_price; present only when 10 or more"
}
},
"additionalProperties": false
},
"description": "each person's cheapest round trip for these dates, in the order of homes"
},
"total": {
"type": "number",
"description": "the round trips below added up, one adult each; absent when they are in different currencies"
},
"country": {
"type": "string"
},
"warning": {
"type": "string",
"description": "why this place is a poor option, and the better pick in this list — tell the user both"
},
"currency": {
"type": "string"
},
"meet_url": {
"type": "string",
"description": "the group's page with everyone, the place and the dates filled in — give the user this link"
},
"leave_from": {
"type": "string",
"description": "the earliest day a fare below leaves; each lands by out"
},
"home_within_days": {
"type": "integer",
"description": "a fare below may fly home this many days either side of back"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"title": "Where to meet",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Flight fares from a2bflight.com, cheapest first. Every price is for one adult in economy. Each fare carries found_at, the day it was found (a row without one carries checked, the day its route was last checked); give that day with the price. Fares are shown before bags: bag fees and the final price appear at checkout on the seller's page. Quote each price in the currency its row gives: never convert it or look up an exchange rate. A one-way row may carry typical_price, the route's typical one-way fare, and pct_below_typical, how many percent below it the fare is; use both as given. Lead with the few cheapest rows rather than every row. Each row's trip says one-way or return; most travellers fly there and back, so give both when a route has both, the one-way first, and say a return's stops and duration cover both directions. Give the user the row's page_url first: it shows the whole route on a2bflight.com. book_url opens the seller's booking page for that fare. Never invent a link. Look up codes with find_airports; use cheapest_routes for where to go from a city, and route_fares for one airport pair. For a group flying from several cities, use where_to_meet to find where they can meet, or meet_link when they know where, and give the user its meet_url.
Names, descriptions and schemas were written by the server and are shown as data.