Independent airline and hotel loyalty-status calculator: where to credit a flight, tier gaps.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Resolves a city, airport name or partial code to IATA airport codes (up to eight matches).
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http status-lark https://mcp.status-lark.com/public/mcp
Resolves a city, airport name or partial code to IATA airport codes (up to eight matches).
| Argument | Type | Description |
|---|---|---|
| query* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"maxLength": 50,
"minLength": 2
}
},
"additionalProperties": false
}Compares 2 to 4 alternative itineraries for the same trip (different airlines, routings, cabins or fares) by what each earns towards status. Use it when the user is choosing between flights; use credit_options for a single itinerary. With the member's positions it also sets out, per programme held, what each option earns and what would remain to the next tier. Each option is answered exactly as credit_options answers it, cut to its top Lark-ranked programmes plus any programme the member holds; `rowsOmitted` counts the rest, and credit_options gives the full board for one option. Every honesty marker on a row applies as it does there: a `range` means the total is the lowest figure, `verified:false` and `disclosure` must be repeated. Status Lark compares what each option earns towards status. It does not see prices, schedules or availability, and it does not say which option to buy. Each segment may carry `travelDate` (the flight date): the figure is then for the rules in force on that day, and a blank date means today's rules. With a date the reply repeats, per segment, `coverage` (how far Status Lark can vouch for the rules that day: repeat its `text`) and, where the figure depends on when the flight was booked, `bookedSplit` (both figures; ask for `bookedDate` only when its `ask` is true). Never guess a date. Figures are status credits (tier points, XP, Qpoints, status credits, elite points) in each programme's own currency; award-mile earning is not yet computed. A programme's `verified`/`provisional` flags, `secondaryCriteria` footnotes and `zero` reasons are published to users and must be repeated, never smoothed over. A zero with reason `no-rate-captured` means Status Lark holds no published rate — it does not mean the flight earns nothing; `needs-fare` means the programme earns on the fare paid and no fare was supplied — pass `fare`. When a board carries `fareNeeded`, read it first: ask for the fare before calling any programme the best for the trip. A segment's `codeshare` note says which carrier's table priced a codeshare and whether that was the programme's published rule or an assumption; repeat it. A segment's `routeSetAssumed` note says the figure is the programme's "other routes" rate because the route could not be placed in the named route set(s) that earn differently; repeat it beside the figure. A segment with `verified: false` carries a `disclosure`: that figure is not fully confirmed (Status Lark keeps it, marked). Repeat the disclosure verbatim beside the figure. Zero reasons `ticket-not-eligible` (the programme's terms exclude this kind of ticket — quote `ticketTerms`) and `ticket-rule-not-captured` (not read; most programmes exclude such tickets, but it is not their published word) apply to a `ticketType` other than a paid fare. Figures assume a paid ticket unless you say otherwise. Award tickets bought with miles or points, and staff, industry and most companion fares, generally earn no status — check the programme's own terms.
| Argument | Type | Description |
|---|---|---|
| options* | array | The alternatives to compare, each a complete itinerary. |
| positions | array | Your standing in programmes you hold. Used for this reply only; never stored. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"options"
],
"properties": {
"options": {
"type": "array",
"items": {
"type": "object",
"required": [
"segments"
],
"properties": {
"label": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "A short name for the option, e.g. 'BA direct'. Defaults to Option 1, 2, …"
},
"segments": {
"type": "array",
"items": {
"type": "object",
"required": [
"origin",
"destination",
"marketingCarrier"
],
"properties": {
"fare": {
"type": "object",
"required": [
"amount",
"currency"
],
"properties": {
"amount": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "Base fare plus carrier-imposed charges, taxes excluded."
},
"currency": {
"type": "string"
}
},
"description": "Only needed when a candidate programme earns on spend; the result says when it is missing.",
"additionalProperties": false
},
"cabin": {
"enum": [
"economy",
"premium-economy",
"business",
"first"
],
"type": "string",
"description": "The cabin flown: economy, premium-economy, business or first. Pass it whenever you know it — it is the one input every traveller has. Alone it yields the cabin's honest range; add bookingClass and/or fareBrand when the ticket or confirmation shows one. Never derived from the letter or the fare type, and never the other way round."
},
"origin": {
"type": "string"
},
"fareBrand": {
"type": "string",
"maxLength": 64,
"description": "The fare type or brand, exactly as the engine names it (see resolve_booking_class) — for British Airways this is the fare printed on the booking confirmation, e.g. 'Club World Semi-Flex'; for Air Canada the fare brand, e.g. 'Flex' or 'Standard'. Supply cabin, bookingClass or this (at least one)."
},
"bookedDate": {
"$ref": "#/properties/options/items/properties/segments/items/properties/travelDate",
"description": "The date the ticket was or will be bought, YYYY-MM-DD, never after travelDate. Optional, and only useful with travelDate: where a programme's figure depends on when the flight was booked, this picks the side. Leave it out when unknown; the reply then gives both figures."
},
"ticketType": {
"enum": [
"revenue",
"award",
"staff-industry",
"companion"
],
"type": "string",
"description": "How the ticket was paid for. Omit for a paid fare. 'award' = bought with miles or points (taxes and carrier charges paid in cash still count as award); 'staff-industry' = staff or travel-industry discount; 'companion' = companion ticket or voucher. Non-paid tickets are answered from each programme's own terms."
},
"travelDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "The date this flight departs, YYYY-MM-DD, today or later and up to 366 days ahead. Optional: Status Lark then prices the flight on the rules in force on that day (a dated rule, an announced change) and says how far it can vouch for them. Leave it out to use today's rules — never guess a date."
},
"destination": {
"type": "string"
},
"bookingClass": {
"type": "string",
"description": "The booking class letter on the fare, not the cabin name. Optional: supply cabin, this, or fareBrand (at least one). Programmes that key on the letter need it; British Airways and Iberia key on the fare type instead, as does Aeroplan on Air Canada metal. Use resolve_booking_class when only the cabin or fare brand is known."
},
"marketingCarrier": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "The airline whose flight number is on the ticket — IATA code or name."
},
"operatingCarrier": {
"$ref": "#/properties/options/items/properties/segments/items/properties/marketingCarrier",
"description": "The airline flying the aircraft, when it differs (codeshare). Defaults to the marketing carrier."
},
"ticketingCarrier": {
"$ref": "#/properties/options/items/properties/segments/items/properties/operatingCarrier",
"description": "The airline that issued the ticket (the plating carrier). Defaults to the marketing carrier."
}
},
"additionalProperties": false
},
"maxItems": 16,
"minItems": 1
}
},
"additionalProperties": false
},
"maxItems": 4,
"minItems": 2,
"description": "The alternatives to compare, each a complete itinerary."
},
"positions": {
"type": "array",
"items": {
"type": "object",
"required": [
"programme",
"currentPoints"
],
"properties": {
"heldTier": {
"type": "string",
"maxLength": 60,
"description": "Tier held today, by its published name. Required for programmes whose counters reset, so renewal can be measured."
},
"programme": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"windowEnd": {
"$ref": "#/properties/options/items/properties/segments/items/properties/travelDate",
"description": "Date the current qualification window closes, if known."
},
"currentPoints": {
"type": "number",
"maximum": 10000000,
"minimum": 0,
"description": "Status credits earned IN THE CURRENT QUALIFICATION WINDOW (not lifetime, not award miles)."
}
},
"additionalProperties": false
},
"maxItems": 12,
"description": "Your standing in programmes you hold. Used for this reply only; never stored."
}
},
"additionalProperties": false
}For an itinerary of one or more flight segments, computes the status credits every eligible loyalty programme would award and ranks them by Lark Score. Optionally takes the member's positions (balance in the current window, held tier) in the programmes they hold and adds what the trip does to each gap. Each segment may carry `travelDate` (the flight date): the figure is then for the rules in force on that day, and a blank date means today's rules. With a date the reply repeats, per segment, `coverage` (how far Status Lark can vouch for the rules that day: repeat its `text`) and, where the figure depends on when the flight was booked, `bookedSplit` (both figures; ask for `bookedDate` only when its `ask` is true). Never guess a date. For a programme whose qualification year Status Lark has read (`qualificationYear` in programme_ladder), Lark Scores and the personal gap use the ladder in force on the first flight's date, and a flight in a later year starts the gap from zero (`balanceNote` says why); every other programme is measured on today's ladder, and `dateNote` names any announced ladder it does not apply. Figures are status credits (tier points, XP, Qpoints, status credits, elite points) in each programme's own currency; award-mile earning is not yet computed. A programme's `verified`/`provisional` flags, `secondaryCriteria` footnotes and `zero` reasons are published to users and must be repeated, never smoothed over. A zero with reason `no-rate-captured` means Status Lark holds no published rate — it does not mean the flight earns nothing; `needs-fare` means the programme earns on the fare paid and no fare was supplied — pass `fare`. When a board carries `fareNeeded`, read it first: ask for the fare before calling any programme the best for the trip. A segment's `codeshare` note says which carrier's table priced a codeshare and whether that was the programme's published rule or an assumption; repeat it. A segment's `routeSetAssumed` note says the figure is the programme's "other routes" rate because the route could not be placed in the named route set(s) that earn differently; repeat it beside the figure. A segment with `verified: false` carries a `disclosure`: that figure is not fully confirmed (Status Lark keeps it, marked). Repeat the disclosure verbatim beside the figure. Zero reasons `ticket-not-eligible` (the programme's terms exclude this kind of ticket — quote `ticketTerms`) and `ticket-rule-not-captured` (not read; most programmes exclude such tickets, but it is not their published word) apply to a `ticketType` other than a paid fare. Figures assume a paid ticket unless you say otherwise. Award tickets bought with miles or points, and staff, industry and most companion fares, generally earn no status — check the programme's own terms.
Computes what an itinerary earns in ONE named programme, with the second-axis inputs the engine understands: member tier (where the programme's rules key on it) and booking channel (Atmos partner rules). Use credit_options to compare programmes; use this for the detail of one. Each segment may carry `travelDate` (the flight date): the figure is then for the rules in force on that day, and a blank date means today's rules. With a date the reply repeats, per segment, `coverage` (how far Status Lark can vouch for the rules that day: repeat its `text`) and, where the figure depends on when the flight was booked, `bookedSplit` (both figures; ask for `bookedDate` only when its `ask` is true). Never guess a date. Figures are status credits (tier points, XP, Qpoints, status credits, elite points) in each programme's own currency; award-mile earning is not yet computed. A programme's `verified`/`provisional` flags, `secondaryCriteria` footnotes and `zero` reasons are published to users and must be repeated, never smoothed over. A zero with reason `no-rate-captured` means Status Lark holds no published rate — it does not mean the flight earns nothing; `needs-fare` means the programme earns on the fare paid and no fare was supplied — pass `fare`. When a board carries `fareNeeded`, read it first: ask for the fare before calling any programme the best for the trip. A segment's `codeshare` note says which carrier's table priced a codeshare and whether that was the programme's published rule or an assumption; repeat it. A segment's `routeSetAssumed` note says the figure is the programme's "other routes" rate because the route could not be placed in the named route set(s) that earn differently; repeat it beside the figure. A segment with `verified: false` carries a `disclosure`: that figure is not fully confirmed (Status Lark keeps it, marked). Repeat the disclosure verbatim beside the figure. Zero reasons `ticket-not-eligible` (the programme's terms exclude this kind of ticket — quote `ticketTerms`) and `ticket-rule-not-captured` (not read; most programmes exclude such tickets, but it is not their published word) apply to a `ticketType` other than a paid fare. Figures assume a paid ticket unless you say otherwise. Award tickets bought with miles or points, and staff, industry and most companion fares, generally earn no status — check the programme's own terms.
| Argument |
|---|
For one hotel programme (ALL, BWR, CHO, GHA, HH, IHG, MR, MEL, OKU, RAD, SCA, SLC, TAJ, HY, WYN) and target tier, returns the qualifying paths (nights, stays, points or spend), elite-night shortcuts such as co-brand cards, and outright status grants, from the member's progress this year. Progress figures are used for this reply only.
| Argument | Type | Description |
|---|---|---|
| programme* | string | |
| targetTier* | string | |
| currentSpend | integer | Eligible spend so far, in the programme's own spend currency (shown on each spend path). |
| currentStays | integer | |
| currentNights | integer | |
| currentSpendUsd | integer | Deprecated: USD spend; used only when the target tier's spend is in USD. Prefer currentSpend. |
| currentBasePoints | integer |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"programme",
"targetTier"
],
"properties": {
"programme": {
"enum": [
"ALL",
"BWR",
"CHO",
"GHA",
"HH",
"IHG",
"MR",
"MEL",
"OKU",
"RAD",
"SCA",
"SLC",
"TAJ",
"HY",
"WYN"
],
"type": "string"
},
"targetTier": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"currentSpend": {
"type": "integer",
"maximum": 99999999,
"minimum": 0,
"description": "Eligible spend so far, in the programme's own spend currency (shown on each spend path)."
},
"currentStays": {
"type": "integer",
"maximum": 999999,
"minimum": 0
},
"currentNights": {
"type": "integer",
"maximum": 999999,
"minimum": 0
},
"currentSpendUsd": {
"type": "integer",
"maximum": 999999,
"minimum": 0,
"description": "Deprecated: USD spend; used only when the target tier's spend is in USD. Prefer currentSpend."
},
"currentBasePoints": {
"type": "integer",
"maximum": 999999,
"minimum": 0
}
},
"additionalProperties": false
}The roster: every airline loyalty programme (code, name, alliance, status currency, accrual model, which airlines credit to it) and every hotel programme; `ladderOnlyProgrammes` names the programmes of airlines in no alliance for which Status Lark holds a tier ladder only (programme_ladder and my_progress answer them one at a time; no tool computes their earning). Programme and airline inputs on the other tools accept these codes or names; call this when unsure which code to use.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}Given the member's balance in the current qualification window and the tier held, returns the shortfall to the next tier, to renewal of the held tier, and optionally to a named target — with the threshold basis (published, same as qualification, or uncaptured upper bound), conjunctive conditions and days remaining. Each gap also carries `share`: the balance as a share of that threshold ("62% of the way to Gold"), on the same scale as the threshold; repeat its `text`, which says when the figure is a lower bound or the tier needs more than the number. Nothing is stored.
| Argument | Type | Description |
|---|---|---|
| today | any | Override today's date (testing only). |
| heldTier | string | Tier held today, by its published name. Required for programmes whose counters reset, so renewal can be measured. |
| programme* | string | Programme code or name (from list_programmes), including the ladder-only programmes it lists. |
| windowEnd | string | Date the current qualification window closes, if known. |
| targetTier | string | A tier to measure against, by its published name. |
| currentPoints* | number | Status credits earned IN THE CURRENT QUALIFICATION WINDOW (not lifetime, not award miles). |
Does anything change for this programme (optionally on or before a travel date)? Returns ONE programme's announced changes as Status Lark holds them: dated changes still to come, changes announced with no date, and changes that took effect in the last few weeks, plus alliance-wide changes that apply to the programme's alliance. Each change has a plain-language summary, its effective date, its kind, the publisher's website (`source`), the day Status Lark read it (`readOn`) and `modelled` (whether Status Lark's figures already include it). Repeat `figuresNote`, and `dueNote` or `pageChangedNote` where present, to the user; never present an undated change as dated. One programme per call; there is no list of every programme's changes.
| Argument | Type | Description |
|---|---|---|
| programme* | string | ONE programme, by code or name ("BA", "Qantas Frequent Flyer", "World of Hyatt"). One programme per call. |
| travelDate | string | The day the user travels, YYYY-MM-DD: limits `upcoming` to changes effective on or before it. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"programme"
],
"properties": {
"programme": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "ONE programme, by code or name (\"BA\", \"Qantas Frequent Flyer\", \"World of Hyatt\"). One programme per call."
},
"travelDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "The day the user travels, YYYY-MM-DD: limits `upcoming` to changes effective on or before it."
}
},
"additionalProperties": false
}The status tier ladder Status Lark holds for one programme: thresholds from a standing start in the programme's own currency, published renewal thresholds where captured, conjunctive conditions, accrual model and qualification window, the Lark anchor tier, and whether the programme's own-metal earning needs a fare. `note` is the same reader copy the Status Lark site prints under the ladder, and `checked` says what the ladder was read against and when: repeat both, and `verified:false` where it appears, to the user. An absent `note` means none is held. A renewal of "not captured" means uncaptured, never free; `conditions` must be met as well as the number; a tier's `caveat` (or a `scheduledLadders` entry's `caveats`) qualifies the figure itself, so repeat it beside the figure; a `scheduledLadders` entry is announced and takes effect on its `from` date; `qualificationYear`, where present, is the programme's own year (it can start on a day other than 1 January): a flight in a later one does not carry today's balance, and its `balanceNote`, where present, gives the programme's own words for why, and `edgeNote` what it leaves unsaid about a flight over that midnight.For a programme `list_programmes` gives under `ladderOnlyProgrammes`, the answer is the ladder alone and `ladderOnly` says so: repeat it, and do not offer an earning figure for it.
| Argument | Type | Description |
|---|---|---|
| programme* | string | Programme code or name (from list_programmes), including the ladder-only programmes it lists. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"programme"
],
"properties": {
"programme": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "Programme code or name (from list_programmes), including the ladder-only programmes it lists."
}
},
"additionalProperties": false
}Helps turn a fare as sold (carrier, cabin, brand name) into the input the earning rules key on. Returns the airline's own published letters per cabin where Status Lark holds them (else the representative letters its calculators assume), the fare brands the engine recognises for that carrier, and whether the carrier's own programme needs the fare paid. Where `fareTypes` is returned, the fare type printed on the booking confirmation IS the input that carrier's own programme keys on — British Airways prices its own metal on cabin and fare type and never on the letter, and so (since 0.9.0, migration 330) does Air Canada's Aeroplan: Basic, Standard, Flex, Comfort, Latitude, Premium Economy, Business — so pass it as `fareBrand` and the letter becomes optional. When calculating, pass `cabin` when you know it; add `fareBrand` or `bookingClass` when the confirmation shows one — a cabin on its own is answered with that cabin's published range rather than an assumed letter. The letter on the ticket or fare rules always governs; treat the answer as a guide and say so.
| Argument | Type | Description |
|---|---|---|
| cabin | string | |
| carrier* | string | Marketing carrier. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"carrier"
],
"properties": {
"cabin": {
"enum": [
"economy",
"premium-economy",
"business",
"first"
],
"type": "string"
},
"carrier": {
"type": "string",
"description": "Marketing carrier."
}
},
"additionalProperties": false
}Status-match, challenge and fast-track offers in Status Lark's directory, airline and hotel, filtered by the programme and tier held and/or the programme wanted. Each edge carries its offer's application window, granted validity, fee, UK eligibility (three-state: true, false or unpublished) and verified flag — repeat them.
| Argument | Type | Description |
|---|---|---|
| fromTier | string | Tier held, published name. |
| toProgramme | any | Programme the member wants status in. |
| includeEnded | boolean | Include offers whose window has closed. Default false. |
| fromProgramme | string | Programme the member holds status in. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"fromTier": {
"type": "string",
"maxLength": 60,
"description": "Tier held, published name."
},
"toProgramme": {
"$ref": "#/properties/fromProgramme",
"description": "Programme the member wants status in."
},
"includeEnded": {
"type": "boolean",
"description": "Include offers whose window has closed. Default false."
},
"fromProgramme": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "Programme the member holds status in."
}
},
"additionalProperties": false
}Candidate flight shapes from up to five departure airports that earn the most status credits per trip in one airline programme (the /tier-run board), optionally allowing a positioning flight. Returns shapes with assumed booking classes and the spread across the cabin; prices are not included. Pass `travelDate` (the intended departure, YYYY-MM-DD, today or later, up to 366 days ahead) to price the board on the rules in force that day; leave it out for today's rules, and never guess one. Repeat any coverage or date note the board carries.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Rows per ordering, default 10. |
| programme* | string | |
| departures* | array | |
| travelDate | string | Intended departure date, YYYY-MM-DD. Optional: omit to use today's rules. |
| positioning | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"programme",
"departures"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 25,
"minimum": 1,
"description": "Rows per ordering, default 10."
},
"programme": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"departures": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 5,
"minItems": 1
},
"travelDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Intended departure date, YYYY-MM-DD. Optional: omit to use today's rules."
},
"positioning": {
"enum": [
"none",
"uk-ie",
"europe",
"anywhere"
],
"type": "string"
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 4, 2026.
| Argument | Type | Description |
|---|---|---|
| rankBy | string | Default score. Cost needs a fare in one currency on every segment. |
| segments* | array | |
| positions | array | Your standing in programmes you hold. Used for this reply only; never stored. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"segments"
],
"properties": {
"rankBy": {
"enum": [
"score",
"cost"
],
"type": "string",
"description": "Default score. Cost needs a fare in one currency on every segment."
},
"segments": {
"type": "array",
"items": {
"type": "object",
"required": [
"origin",
"destination",
"marketingCarrier"
],
"properties": {
"fare": {
"type": "object",
"required": [
"amount",
"currency"
],
"properties": {
"amount": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "Base fare plus carrier-imposed charges, taxes excluded."
},
"currency": {
"type": "string"
}
},
"description": "Only needed when a candidate programme earns on spend; the result says when it is missing.",
"additionalProperties": false
},
"cabin": {
"enum": [
"economy",
"premium-economy",
"business",
"first"
],
"type": "string",
"description": "The cabin flown: economy, premium-economy, business or first. Pass it whenever you know it — it is the one input every traveller has. Alone it yields the cabin's honest range; add bookingClass and/or fareBrand when the ticket or confirmation shows one. Never derived from the letter or the fare type, and never the other way round."
},
"origin": {
"type": "string"
},
"fareBrand": {
"type": "string",
"maxLength": 64,
"description": "The fare type or brand, exactly as the engine names it (see resolve_booking_class) — for British Airways this is the fare printed on the booking confirmation, e.g. 'Club World Semi-Flex'; for Air Canada the fare brand, e.g. 'Flex' or 'Standard'. Supply cabin, bookingClass or this (at least one)."
},
"bookedDate": {
"$ref": "#/properties/segments/items/properties/travelDate",
"description": "The date the ticket was or will be bought, YYYY-MM-DD, never after travelDate. Optional, and only useful with travelDate: where a programme's figure depends on when the flight was booked, this picks the side. Leave it out when unknown; the reply then gives both figures."
},
"ticketType": {
"enum": [
"revenue",
"award",
"staff-industry",
"companion"
],
"type": "string",
"description": "How the ticket was paid for. Omit for a paid fare. 'award' = bought with miles or points (taxes and carrier charges paid in cash still count as award); 'staff-industry' = staff or travel-industry discount; 'companion' = companion ticket or voucher. Non-paid tickets are answered from each programme's own terms."
},
"travelDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "The date this flight departs, YYYY-MM-DD, today or later and up to 366 days ahead. Optional: Status Lark then prices the flight on the rules in force on that day (a dated rule, an announced change) and says how far it can vouch for them. Leave it out to use today's rules — never guess a date."
},
"destination": {
"type": "string"
},
"bookingClass": {
"type": "string",
"description": "The booking class letter on the fare, not the cabin name. Optional: supply cabin, this, or fareBrand (at least one). Programmes that key on the letter need it; British Airways and Iberia key on the fare type instead, as does Aeroplan on Air Canada metal. Use resolve_booking_class when only the cabin or fare brand is known."
},
"marketingCarrier": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "The airline whose flight number is on the ticket — IATA code or name."
},
"operatingCarrier": {
"$ref": "#/properties/segments/items/properties/marketingCarrier",
"description": "The airline flying the aircraft, when it differs (codeshare). Defaults to the marketing carrier."
},
"ticketingCarrier": {
"$ref": "#/properties/segments/items/properties/operatingCarrier",
"description": "The airline that issued the ticket (the plating carrier). Defaults to the marketing carrier."
}
},
"additionalProperties": false
},
"maxItems": 16,
"minItems": 1
},
"positions": {
"type": "array",
"items": {
"type": "object",
"required": [
"programme",
"currentPoints"
],
"properties": {
"heldTier": {
"type": "string",
"maxLength": 60,
"description": "Tier held today, by its published name. Required for programmes whose counters reset, so renewal can be measured."
},
"programme": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"windowEnd": {
"$ref": "#/properties/segments/items/properties/travelDate",
"description": "Date the current qualification window closes, if known."
},
"currentPoints": {
"type": "number",
"maximum": 10000000,
"minimum": 0,
"description": "Status credits earned IN THE CURRENT QUALIFICATION WINDOW (not lifetime, not award miles)."
}
},
"additionalProperties": false
},
"maxItems": 12,
"description": "Your standing in programmes you hold. Used for this reply only; never stored."
}
},
"additionalProperties": false
}| Type |
|---|
| Description |
|---|
| segments* | array | |
| programme* | string | |
| memberTier | string | The tier the member holds, for the few programmes whose status earning rate depends on it (Finnair Plus, Miles&Smiles, Miles&Go). The tier's name as the programme prints it, or its last word ("Gold"). The answer's `memberTier` says which tier was applied, or that none was and why: repeat it. |
| bookingChannel | string | Where the ticket was bought, for programmes that key partner earning on it. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"programme",
"segments"
],
"properties": {
"segments": {
"type": "array",
"items": {
"type": "object",
"required": [
"origin",
"destination",
"marketingCarrier"
],
"properties": {
"fare": {
"type": "object",
"required": [
"amount",
"currency"
],
"properties": {
"amount": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "Base fare plus carrier-imposed charges, taxes excluded."
},
"currency": {
"type": "string"
}
},
"description": "Only needed when a candidate programme earns on spend; the result says when it is missing.",
"additionalProperties": false
},
"cabin": {
"enum": [
"economy",
"premium-economy",
"business",
"first"
],
"type": "string",
"description": "The cabin flown: economy, premium-economy, business or first. Pass it whenever you know it — it is the one input every traveller has. Alone it yields the cabin's honest range; add bookingClass and/or fareBrand when the ticket or confirmation shows one. Never derived from the letter or the fare type, and never the other way round."
},
"origin": {
"type": "string"
},
"fareBrand": {
"type": "string",
"maxLength": 64,
"description": "The fare type or brand, exactly as the engine names it (see resolve_booking_class) — for British Airways this is the fare printed on the booking confirmation, e.g. 'Club World Semi-Flex'; for Air Canada the fare brand, e.g. 'Flex' or 'Standard'. Supply cabin, bookingClass or this (at least one)."
},
"bookedDate": {
"$ref": "#/properties/segments/items/properties/travelDate",
"description": "The date the ticket was or will be bought, YYYY-MM-DD, never after travelDate. Optional, and only useful with travelDate: where a programme's figure depends on when the flight was booked, this picks the side. Leave it out when unknown; the reply then gives both figures."
},
"ticketType": {
"enum": [
"revenue",
"award",
"staff-industry",
"companion"
],
"type": "string",
"description": "How the ticket was paid for. Omit for a paid fare. 'award' = bought with miles or points (taxes and carrier charges paid in cash still count as award); 'staff-industry' = staff or travel-industry discount; 'companion' = companion ticket or voucher. Non-paid tickets are answered from each programme's own terms."
},
"travelDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "The date this flight departs, YYYY-MM-DD, today or later and up to 366 days ahead. Optional: Status Lark then prices the flight on the rules in force on that day (a dated rule, an announced change) and says how far it can vouch for them. Leave it out to use today's rules — never guess a date."
},
"destination": {
"type": "string"
},
"bookingClass": {
"type": "string",
"description": "The booking class letter on the fare, not the cabin name. Optional: supply cabin, this, or fareBrand (at least one). Programmes that key on the letter need it; British Airways and Iberia key on the fare type instead, as does Aeroplan on Air Canada metal. Use resolve_booking_class when only the cabin or fare brand is known."
},
"marketingCarrier": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "The airline whose flight number is on the ticket — IATA code or name."
},
"operatingCarrier": {
"$ref": "#/properties/segments/items/properties/marketingCarrier",
"description": "The airline flying the aircraft, when it differs (codeshare). Defaults to the marketing carrier."
},
"ticketingCarrier": {
"$ref": "#/properties/segments/items/properties/operatingCarrier",
"description": "The airline that issued the ticket (the plating carrier). Defaults to the marketing carrier."
}
},
"additionalProperties": false
},
"maxItems": 16,
"minItems": 1
},
"programme": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"memberTier": {
"type": "string",
"maxLength": 60,
"description": "The tier the member holds, for the few programmes whose status earning rate depends on it (Finnair Plus, Miles&Smiles, Miles&Go). The tier's name as the programme prints it, or its last word (\"Gold\"). The answer's `memberTier` says which tier was applied, or that none was and why: repeat it."
},
"bookingChannel": {
"enum": [
"booked on Alaska",
"booked via partner site"
],
"type": "string",
"description": "Where the ticket was bought, for programmes that key partner earning on it."
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"programme",
"currentPoints"
],
"properties": {
"today": {
"$ref": "#/properties/windowEnd",
"description": "Override today's date (testing only)."
},
"heldTier": {
"type": "string",
"maxLength": 60,
"description": "Tier held today, by its published name. Required for programmes whose counters reset, so renewal can be measured."
},
"programme": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "Programme code or name (from list_programmes), including the ladder-only programmes it lists."
},
"windowEnd": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date the current qualification window closes, if known."
},
"targetTier": {
"type": "string",
"maxLength": 60,
"description": "A tier to measure against, by its published name."
},
"currentPoints": {
"type": "number",
"maximum": 10000000,
"minimum": 0,
"description": "Status credits earned IN THE CURRENT QUALIFICATION WINDOW (not lifetime, not award miles)."
}
},
"additionalProperties": false
}