Airline shopping portals API and MCP server for AI agents

Let Claude, ChatGPT or your own agent read Airline shopping portals. No Airline shopping portals API key needed.

Add to your agent

Paste this into Claude Code, Cursor, Codex or any agent. It adds the server itself.

Read https://bowmark.ai/sites/airline_portals.md and add Bowmark's Airline shopping portals MCP server to my agent.

Functions

Open a function to see its parameters and run it with your own API key.

  • getStoreRateReads one store's rate on an airline shopping portal: headline miles/points per dollar, any boosted rate and its normal rate, per-category rates…

    POST /v1/sites/airline_portals/getStoreRate

    Parameters

    Store name, id (gmid) or a store page url.

    curl -X POST https://api.bowmark.ai/v1/sites/airline_portals/getStoreRate \
      -H "Authorization: Bearer $BOWMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"args":{"portal":"southwest","store":"Nike"}}'
    Sign in to run
    Responsereturns AirlinePortalStoreRate
    type AirlinePortalName = "united" | "delta" | "southwest" | "alaska";
    
    interface AirlinePortalCategoryRate {
      category: string;
      rateText: string;
      rate: number | null;
      unit: string | null;
      wasRate: number | null;
    }
    
    interface AirlinePortalOffer {
      description: string;
      code: string | null;
      expires: string | null;
      url: string | null;
    }
    
    interface AirlinePortalStoreRate {
      portal: AirlinePortalName;
      name: string;
      id: number; // The portal's own store id (gmid); pass it to getStoreRate
      slug: string;
      url: string; // The store's page on the portal
      rateText: string; // As the portal prints it: "Earn 2 miles/$", "No reward"
      rate: number | null; // null when the portal pays nothing at the store
      unit: "miles/$" | "points/$" | "%" | "miles" | "points" | null; // "miles"/"points" = a flat award per order, not per dollar
      upTo: boolean; // true when the headline is "Earn up to" (category rates differ)
      wasRate: number | null; // the everyday rate when the headline is a boosted (elevated) rate
      bonus: boolean; // true when today's headline rate is boosted above wasRate
      bonusText: string | null;
      rateStarts: string | null;
      rateExpires: string | null; // null when the rate has no end date
      categories: AirlinePortalCategoryRate[];
      exclusions: string[];
      limits: string[];
      offers: AirlinePortalOffer[];
      daysToPost: number | null;
    }
  • listBonusOffersLists the stores an airline shopping portal is paying a boosted (elevated) rate at right now, with the boosted and normal rates.

    POST /v1/sites/airline_portals/listBonusOffers

    Parameters

    curl -X POST https://api.bowmark.ai/v1/sites/airline_portals/listBonusOffers \
      -H "Authorization: Bearer $BOWMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"args":{"portal":"alaska","limit":5}}'
    Sign in to run
    Responsereturns { results: AirlinePortalBonus[]; total: number | null; page: number; pageCount: number | null; returned: number; warnings: string[] }
    type AirlinePortalName = "united" | "delta" | "southwest" | "alaska";
    
    interface AirlinePortalBonus {
      portal: AirlinePortalName;
      name: string;
      id: number; // The portal's own store id (gmid); pass it to getStoreRate
      slug: string;
      url: string; // The store's page on the portal
      rateText: string; // As the portal prints it: "Earn 2 miles/$", "No reward"
      rate: number | null; // null when the portal pays nothing at the store
      unit: "miles/$" | "points/$" | "%" | "miles" | "points" | null; // "miles"/"points" = a flat award per order, not per dollar
      upTo: boolean; // true when the headline is "Earn up to" (category rates differ)
      wasRate: number | null; // the everyday rate when the headline is a boosted (elevated) rate
      rateExpires: string | null;
    }
  • searchStoresSearches one airline shopping portal's stores (United MileagePlus, Delta SkyMiles, Southwest Rapid Rewards, Alaska/Atmos) by name and returns each…

    POST /v1/sites/airline_portals/searchStores

    Parameters

    United | delta | southwest | alaska.

    Store name or part of it.

    curl -X POST https://api.bowmark.ai/v1/sites/airline_portals/searchStores \
      -H "Authorization: Bearer $BOWMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"args":{"portal":"united","query":"nike"}}'
    Sign in to run
    Responsereturns { results: AirlinePortalStore[]; total: number | null; page: number; pageCount: number | null; returned: number; warnings: string[] }
    type AirlinePortalName = "united" | "delta" | "southwest" | "alaska";
    
    interface AirlinePortalStore {
      portal: AirlinePortalName;
      name: string;
      id: number; // The portal's own store id (gmid); pass it to getStoreRate
      slug: string;
      url: string; // The store's page on the portal
      rateText: string; // As the portal prints it: "Earn 2 miles/$", "No reward"
      rate: number | null; // null when the portal pays nothing at the store
      unit: "miles/$" | "points/$" | "%" | "miles" | "points" | null; // "miles"/"points" = a flat award per order, not per dollar
      upTo: boolean; // true when the headline is "Earn up to" (category rates differ)
      wasRate: number | null; // the everyday rate when the headline is a boosted (elevated) rate
    }