Skip to content
Business
Skill

/wheretocredit

Mileage earning rates by airline and booking class via wheretocredit.com. Redeemable and qualifying miles across 50+ programs. Use when deciding where to credit a flight or comparing earning rates.

From plugin
travel-hacker
99348 skills1 agent7 MCP

Claude Code

$ npx -y skills add borski/travel-hacking-toolkit --skill wheretocredit --agent claude-code

SKILL.md

wheretocredit.SKILL.md
name: wheretocredit
description: Mileage earning rates by airline and booking class via wheretocredit.com. Redeemable and qualifying miles across 50+ programs. Use when deciding where to credit a flight or comparing earning rates.
category: loyalty
summary: Mileage earning rates by airline and booking class across 50+ programs.
api_key: None (free)
license: MIT

Where to Credit

Look up mileage earning rates for any airline and booking class across 50+ frequent flyer programs. Covers both **redeemable miles** (the ones you spend) and **qualifying miles** (the ones that count toward elite status).

**Source:** [wheretocredit.com](https://www.wheretocredit.com) — No API key required. Data is scraped via webfetch.

URL Patterns

All data lives at predictable URLs on wheretocredit.com:

Airline booking class detail (PRIMARY)

https://www.wheretocredit.com/en/{IATA_CODE}/{BOOKING_CLASS}

Returns: cabin type, fare types, redeemable miles table, qualifying miles table.

Example: `https://www.wheretocredit.com/en/AY/Z` (Finnair class Z)

Airline overview (all classes)

https://www.wheretocredit.com/en/{IATA_CODE}

Returns: list of all booking classes with cabin, fare types, and top earning program for each.

Example: `https://www.wheretocredit.com/en/AY` (all Finnair classes)

Program overview (all partner airlines)

https://www.wheretocredit.com/en/programs/{PROGRAM_CODE}

Returns: list of all airlines that credit to this program.

Example: `https://www.wheretocredit.com/en/programs/AA` (AA AAdvantage partners)

Common IATA Codes

| Code | Airline | |------|---------| | AA | American Airlines | | AS | Alaska Airlines | | AF | Air France | | AY | Finnair | | BA | British Airways | | CX | Cathay Pacific | | DL | Delta | | EK | Emirates | | IB | Iberia | | JL | Japan Airlines | | KL | KLM | | LH | Lufthansa | | NH | ANA | | QF | Qantas | | QR | Qatar Airways | | SK | SAS | | SQ | Singapore Airlines | | TK | Turkish Airlines | | UA | United Airlines | | VS | Virgin Atlantic |

Common Program Codes

| Code | Program | |------|---------| | AA | American Airlines AAdvantage | | AS2 | Alaska/Hawaiian Atmos Rewards | | AFB | Flying Blue (Air France/KLM) | | BA2 | British Airways Club | | CX | Cathay Marco Polo / Asia Miles | | DL2 | Delta SkyMiles | | IB2 | Iberia Plus | | JL | Japan Airlines Mileage Bank | | LH | Miles & More | | QR | Qatar Privilege Club | | SK | SAS EuroBonus | | SQ | Singapore KrisFlyer | | UA | United MileagePlus | | VS | Virgin Atlantic Flying Club |

Reading the Results

Redeemable Miles Table

Shows the percentage of flown distance you earn as spendable miles.

| Column | Meaning | |--------|---------| | Base | Earning rate with no elite status | | Tier 1 | First elite tier bonus | | Tier 2 | Second elite tier bonus | | Tier 3 | Third elite tier bonus | | Tier 4 | Highest elite tier bonus | | Minimum | Floor (e.g., "500 Miles" means you earn at least 500 regardless of distance) | | Restriction | Limitations (e.g., "Countries Excluded: CU" = no earning on Cuba routes) |

Qualifying Miles Table

Shows the percentage of flown distance that counts toward elite status.

Same column structure. Often different rates from redeemable. Some programs earn 0% qualifying on discounted fares even when they earn redeemable miles.

**Key distinction:** A flight can earn redeemable miles but zero qualifying miles. Always check BOTH tables.

Tier Levels by Program

Programs use different names for their tiers. Map your status to the right tier column:

| Program | Base | Tier 1 | Tier 2 | Tier 3 | Tier 4 | |---------|------|--------|--------|--------|--------| | AA AAdvantage | Base | Gold | Platinum | Platinum Pro | Executive Platinum | | Alaska Atmos | Base | MVP | MVP Gold | MVP Gold 75K | MVP Gold 100K | | Delta SkyMiles | Base | Silver | Gold | Platinum | Diamond | | United MileagePlus | Base | Silver | Gold | Platinum | 1K | | Flying Blue | Base | Silver | Gold | Platinum | Ultimate | | BA Executive Club | Base | Bronze | Silver | Gold | Gold Guest List |

Traveler Profiles

Before using the decision algorithm, define each traveler's profile. You need:

  • Which FF programs they have accounts in
  • Their elite status tier in each program
  • Which program is their "primary" (the one they're actively building status in)

Example profile:

Traveler: Alex
Programs: AA AAdvantage (Platinum, Tier 2), Alaska Atmos (Base), Flying Blue (Silver, Tier 1)
Primary: AA AAdvantage (retaining Platinum status)

**Only recommend programs someone has an account in.** Don't suggest crediting to Etihad Guest if nobody has one, unless the earning is dramatically better AND the program is useful for future redemptions.

Decision Algorithm

When a flight is booked, run this logic to determine where to credit:

Step 1: Gather inputs

  • Operating airline IATA code (from ticket, NOT ticketing airline)
  • Booking class letter (from ticket or fare details)
  • Route distance in miles (estimate or look up)
  • Which traveler(s) are on the ticket

Step 2: Fetch earning rates

  • Fetch `https://www.wheretocredit.com/en/{IATA}/{CLASS}`
  • Extract redeemable AND qualifying rates for all of that traveler's programs

Step 3: Calculate actual miles earned

For each reachable program, for each traveler:

raw_miles = route_distance × (base_rate + tier_bonus) / 100
actual_miles = max(raw_miles, minimum_floor)

If a program uses fare-price earning (e.g., "6 Miles/EUR"), calculate based on ticket price instead of distance.

Step 4: Apply decision rules

**Rule 1: Short-haul floor advantage.** On flights under ~1,500 miles, programs with a 500+ mile minimum floor (like Alaska) can earn MORE than programs offering a percentage of distance. Calculate both and compare. At Base tier, Alaska's 500 floor beats 25% earning on any flight under 2,000 miles. At higher tiers with bonus percentages, the crossover point drops.

**Rule 2: Qualifying miles matter f

Read more
@borski
Ships withtravel-hacker

AI-powered travel hacking with points, miles, and award flights. Drop-in skills and MCP servers for OpenCode, Claude Code, and Codex. Ask your AI to find you a 60,000-mile business class flight to Tokyo.

99348 skills1 agent7 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
993
Star history of borski/travel-hacking-toolkit on GitHub, a chart by star-history.com

Other skills on travel-hacker.

alliances

alliances

Airline alliance membership (Star Alliance, oneworld, SkyTeam) and cross-alliance booking relationships. Maps which loyalty…

american-airlines

american-airlines

Check American Airlines AAdvantage balance, elite status, and loyalty points via Patchright. Handles email 2FA with 6-box code…

amex-travel

amex-travel

Search Amex travel portal for cash prices, MR points pricing, IAP discounts, and FHR/THC hotel benefits via Patchright. Use when…

atlas-obscura

atlas-obscura

Search Atlas Obscura for weird, wonderful, and hidden gem places near any destination. Find the interesting stuff, not boring…

award-calendar

award-calendar

Find the cheapest award dates for a route over a date range. Searches seats.aero across all programs, groups by date, and shows a…

award-holds

award-holds

Per-program rules for placing award flights on hold before transferring points. Covers programs with holds (AA, Lufthansa, Flying…

More skills from other plugins.

opc-asset-ops

opc-asset-ops

Turn repeatable outputs of a one-person company into compounding assets. Use when Codex needs to explain asset-compounding…

@easychen@easychenInstall Skill
dbs

dbs

dontbesilent 商业工具箱的技能调度台,根据当前问题和反馈选择下一步,在对话中直接执行、澄清、组合或对照尝试 Skill。用户不知道从哪里开始、需要调整处理方法、第一次使用…

dbs9d11k
@dontbesilent2025@dontbesilent2025Install Skill

Questions about wheretocredit.

Which coding agents can use wheretocredit?
wheretocredit installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.