Plaid + CardAPI: Turn a Linked Credit Card Into Its Reward Rates (2026)

Plaid tells you a linked credit card's APR, balance and due date. Its docs don't list what the card earns. To get earn rates, you match the account to a card product in CardAPI, have the user confirm the match, then read the card's reward_rates and score transactions by category.

The match is where things go wrong, so most of this guide is about doing it carefully.

What Plaid gives you for a credit card

Based on Plaid's public docs, read 6 December 2026:

  • "Plaid's Liabilities product allows you to access information about a user's debts." Credit accounts have type credit and subtype credit card or paypal (Liabilities overview).
  • liabilities.credit carries aprs, is_overdue, last_payment_amount, last_payment_date, last_statement_issue_date, last_statement_balance, minimum_payment_amount and next_payment_due_date. "APR information is not provided by all card issuers; if APR data is not available, this array will be empty." (Liabilities API reference)
  • "liabilities data does not contain detailed transaction history for credit card accounts. For credit card account transactions, use the Transactions product." (Liabilities overview)
  • name is "The name of the account, either assigned by the user or by the financial institution itself". official_name is nullable: "The official name of the account as given by the financial institution". For credit accounts, balances.limit "represents the credit limit." (Accounts API reference)

The Liabilities and Accounts docs don't list reward rates, earn multipliers, points or cash back, so you need a second source.

A made-up example of what you have to work with (values invented; the APR is not a real card's):

{
  "account": {
    "account_id": "example_account_id_1",
    "name": "Cobalt",
    "official_name": "American Express Cobalt Card",
    "mask": "1005",
    "type": "credit",
    "subtype": "credit card",
    "balances": { "current": 412.37, "available": 4587.63, "limit": 5000, "iso_currency_code": "CAD" }
  },
  "institution_name": "American Express",
  "liabilities_credit": {
    "account_id": "example_account_id_1",
    "aprs": [{ "apr_percentage": 20.99, "apr_type": "purchase_apr", "balance_subject_to_apr": null, "interest_charge_amount": null }],
    "next_payment_due_date": "2026-12-19",
    "last_statement_balance": 388.12,
    "minimum_payment_amount": 10.0
  }
}

(Made-up example. Not real data.)

name and official_name can differ a lot. Plaid's own sample credit account is named "Plaid Credit Card" with the official name "Plaid Diamond 12.5% APR Interest Credit Card" (Liabilities API reference). Neither field is a product name you can look up as written.

Step 1: find candidate cards

GET /v1/cards/search takes q (required) and country (US or CA). It matches words, not the typed string: every word of q has to appear in the issuer name and card name together, in any order. Case, accents, ® and ™ marks and punctuation are ignored, so Plaid's official_name can go in as written: "American Express Cobalt Card" finds "American Express Cobalt® Card". A word that isn't in the issuer or card name, such as a program name or a rate, means no match. Search with official_name (or name when it is null), plus the country from the institution. If that returns nothing, try name, or one distinctive word from either.

const base = "https://api.cardapi.dev";
const headers = { Authorization: `Bearer ${process.env.CARDAPI_API_KEY}` };

// `account` is the Plaid account. official_name can be null, so fall back to name.
const q = account.official_name ?? account.name;
const res = await fetch(
  `${base}/v1/cards/search?q=${encodeURIComponent(q)}&country=CA`, // country from the institution
  { headers }
);
const { data: candidates } = await res.json(); // each result has slug, name and issuers.name

A second route: slugify the official name and call GET /v1/cards/{slug}. A short name works when exactly one card matches it (only a trailing -card or -credit-card may differ). Otherwise the API answers 404 with error.suggestions: up to five slugs, closest first, empty when nothing is close.

async function cardOrChoices(slug) {
  const res = await fetch(`${base}/v1/cards/${slug}`, { headers });
  if (res.status === 404) {
    const { error } = await res.json();
    // Choices for the user. Never pick one automatically.
    return { card: null, choices: error.suggestions };
  }
  const { data: card } = await res.json();
  return { card, choices: [] };
}

With the SDK, api.getCard(slug) throws a CardAPIError with the same list in err.suggestions.

Step 2: have the user confirm the card

One product word can belong to several banks' cards. TD and CIBC both issue an Aeroplan Visa Infinite card, for example, so "Aeroplan" alone doesn't tell you the bank. And Plaid's name can be a nickname the user typed. A matcher that takes the first search hit will sooner or later show someone another bank's card.

CardAPI doesn't guess across issuers either: a short slug resolves only when exactly one card matches. Do the same in your app:

  1. Keep the candidates whose issuer matches the Plaid institution and country.
  2. Show them with their issuer names.
  3. Let the user tap their card.
  4. Store the confirmed slug against the Plaid account_id, so you match once, not on every sync.

"Not listed" is a fine answer. Give the user that option, and don't fill the gap with a guess.

Step 3: fetch the rates

const { data: card } = await (await fetch(`${base}/v1/cards/${slug}`, { headers })).json();

Which rates you get depends on the plan. A free key gets each card's top 3 reward_rates, highest rate_multiplier first. Every rate, including the base rate, needs the Starter plan or above.

Below is one live card at Free-plan values, as of this page's last refresh.

{
  "data": {
    "issuer_id": "aee865fd-0b87-49e8-9b12-94ea3341e113",
    "slug": "american-express-cobalt-card",
    "name": "American Express Cobalt® Card",
    "network": "AMEX",
    "card_type": "personal",
    "annual_fee": 191.88,
    "annual_fee_waived_first_year": false,
    "signup_bonus": "Earn up to 15,000 Membership Rewards points by earning 1,250 points for each monthly billing period in which you spend $750 on your Card in your first year",
    "signup_bonus_value": 15000,
    "signup_min_spend": 750,
    "signup_min_spend_months": 12,
    "reward_currency": "points",
    "reward_currency_name": "Membership Rewards",
    "referral_bonus_amount": null,
    "referral_bonus_url": null,
    "product_change_eligible": null,
    "product_change_notes": null,
    "product_family": null,
    "churning_notes": null,
    "application_rules": "Current or former Cardmembers with this Card are not eligible for the welcome offer",
    "is_discontinued": false,
    "signup_bonus_points": 15000,
    "signup_bonus_cash_value": null,
    "issuers": {
      "name": "American Express Canada",
      "slug": "amex-ca",
      "country": "CA",
      "website": "https://www.americanexpress.com/ca/",
      "logo_url": null
    },
    "reward_rates": [
      {
        "id": "52823563-580e-4e43-abd2-ec3bab928ea6",
        "card_id": "7076c30d-ba59-4154-8e43-ee2c1de2354e",
        "category_slug": "groceries+dining+food-delivery",
        "rate_multiplier": 5,
        "rate_type": "multiplier",
        "cap_amount": 2500,
        "cap_period": "monthly",
        "fallback_rate": 1,
        "is_base_rate": false,
        "is_rotating": false,
        "rotating_quarter": null,
        "rotating_year": null,
        "notes": "Earn 5 points for every $1 at (i) restaurant, quick service restaurant, coffee shop and drinking establishments in Canada, (ii) stand-alone grocery stores in Canada, (iii) delivery of food and groceries in Canada as a primary business, up to a combined maximum of $2,500 in net purchases posted to your account monthly on these categories. Earn 1 point for every $1 thereafter. Calculation resets to zero on the 1st of each month.",
        "created_at": "2026-11-25T22:38:25.955996+00:00",
        "categories": [
          "groceries",
          "dining",
          "food-delivery"
        ],
        "merchant": null,
        "booking_channel": null,
        "choice_group": null,
        "choice_picks": null,
        "choice_selection": null,
        "excluded_merchants": null,
        "excluded_categories": null,
        "cap_group": null,
        "cap_reset": "calendar",
        "exclusions_known": false
      },
      {
        "id": "5019514e-8c15-429d-9dcd-c432c0f5b15f",
        "card_id": "7076c30d-ba59-4154-8e43-ee2c1de2354e",
        "category_slug": "streaming",
        "rate_multiplier": 3,
        "rate_type": "multiplier",
        "cap_amount": null,
        "cap_period": null,
        "fallback_rate": null,
        "is_base_rate": false,
        "is_rotating": false,
        "rotating_quarter": null,
        "rotating_year": null,
        "notes": "Eligible streaming subscriptions in Canada",
        "created_at": "2026-11-25T22:38:25.955996+00:00",
        "categories": [
          "streaming"
        ],
        "merchant": null,
        "booking_channel": null,
        "choice_group": null,
        "choice_picks": null,
        "choice_selection": null,
        "excluded_merchants": null,
        "excluded_categories": null,
        "cap_group": null,
        "cap_reset": null,
        "exclusions_known": false
      },
      {
        "id": "35fd369d-272c-441b-ab13-cbe5fc3b2e6a",
        "card_id": "7076c30d-ba59-4154-8e43-ee2c1de2354e",
        "category_slug": "gas+transit",
        "rate_multiplier": 2,
        "rate_type": "multiplier",
        "cap_amount": null,
        "cap_period": null,
        "fallback_rate": null,
        "is_base_rate": false,
        "is_rotating": false,
        "rotating_quarter": null,
        "rotating_year": null,
        "notes": "Eligible gas, transit & ride share purchases in Canada",
        "created_at": "2026-11-25T22:38:25.955996+00:00",
        "categories": [
          "gas",
          "transit"
        ],
        "merchant": null,
        "booking_channel": null,
        "choice_group": null,
        "choice_picks": null,
        "choice_selection": null,
        "excluded_merchants": null,
        "excluded_categories": null,
        "cap_group": null,
        "cap_reset": null,
        "exclusions_known": false
      }
    ]
  }
}

Live result at Free-plan values; rates and offers change.

On this card, the base rate and the travel-portal rate are outside the Free top 3. So a free key can show the headline rates, but it can't tell you what a purchase outside them earns.

Step 4: score transactions by category

Plaid transactions carry personal_finance_category with primary, detailed and confidence_level. CardAPI's categories come from GET /v1/categories (slug, name, parent_slug; online-grocery sits under groceries, airlines under travel).

Map personal_finance_category.detailed to a CardAPI slug. The table is a starting map, not an official equivalence; the issuer's terms decide what earns. The notes come from Plaid's own category descriptions (taxonomy CSV).

Plaid detailed categories mapped to CardAPI category slugs
Plaid detailedCardAPI slugNote from Plaid's description
FOOD_AND_DRINK_GROCERIESgroceries
FOOD_AND_DRINK_RESTAURANTdining
FOOD_AND_DRINK_FAST_FOODdining
FOOD_AND_DRINK_COFFEEdining
TRANSPORTATION_GASgas
TRANSPORTATION_PUBLIC_TRANSITtransit
TRANSPORTATION_TAXIS_AND_RIDE_SHAREStransit
TRAVEL_FLIGHTSairlines
TRAVEL_LODGINGhotelsIncludes hosted stays such as Airbnb
TRAVEL_RENTAL_CARScar-rentalIncludes charter buses and trucks
MEDICAL_PHARMACIES_AND_SUPPLEMENTSdrugstoreIncludes nutrition shops
ENTERTAINMENT_TV_AND_MOVIESstreaming or entertainmentStreaming and movie theaters together
ENTERTAINMENT_MUSIC_AND_AUDIOstreaming or entertainmentStreaming and in-person music together
ENTERTAINMENT_SPORTING_EVENTS_AMUSEMENT_PARKS_AND_MUSEUMSentertainment
GENERAL_MERCHANDISE_ONLINE_MARKETPLACESonline-shoppingMarketplaces only (Etsy, eBay, Amazon)
GENERAL_MERCHANDISE_DEPARTMENT_STORESdepartment-stores
GENERAL_MERCHANDISE_ELECTRONICSelectronics
GENERAL_MERCHANDISE_CLOTHING_AND_ACCESSORIESclothing
GENERAL_MERCHANDISE_SPORTING_GOODSsporting-goods
GENERAL_MERCHANDISE_OFFICE_SUPPLIESoffice-supplies
GENERAL_MERCHANDISE_PET_SUPPLIESpets
HOME_IMPROVEMENT_HARDWAREhome-improvement
HOME_IMPROVEMENT_FURNITUREfurniture
PERSONAL_CARE_GYMS_AND_FITNESS_CENTERSfitness
PERSONAL_CARE_HAIR_AND_BEAUTYpersonal-care
GENERAL_SERVICES_POSTAGE_AND_SHIPPINGshipping
RENT_AND_UTILITIES_INTERNET_AND_CABLEphone-internet
RENT_AND_UTILITIES_TELEPHONEphone-internet
RENT_AND_UTILITIES_GAS_AND_ELECTRICITYbills
RENT_AND_UTILITIES_RENTrent

These names are the same in PFCv1 and PFCv2, the version Plaid released in December 2025. Plaid's taxonomy file says "PFCv2 is a superset of PFCv1."

GENERAL_MERCHANDISE_SUPERSTORES ("Superstores such as Target and Walmart, selling both groceries and general merchandise") is left out on purpose. CardAPI's superstores slug is a store class used in rates' excluded_categories, not a category rates earn in. Use it to check whether a grocery rate excludes the store. Some CardAPI categories have no Plaid counterpart, such as food-delivery, ev-charging and wholesale-clubs, so those purchases land in other Plaid categories.

Skip money movement: LOAN_PAYMENTS, LOAN_DISBURSEMENTS (v2), TRANSFER_IN, TRANSFER_OUT and BANK_FEES aren't purchases.

Match on each rate's categories, never on its category_slug label, and set aside rates that need more than a category:

const PLAID_TO_CARDAPI = {
  FOOD_AND_DRINK_GROCERIES: "groceries",
  FOOD_AND_DRINK_RESTAURANT: "dining",
  TRANSPORTATION_GAS: "gas",
  // ...the rest of the table
};

function rateFor(card, txn) {
  const pfc = txn.personal_finance_category;
  const slug = pfc && PLAID_TO_CARDAPI[pfc.detailed];
  // Unmapped or low confidence: treat as the base rate.
  if (!slug || ["LOW", "UNKNOWN"].includes(pfc.confidence_level)) return null;

  return card.reward_rates
    .filter(r =>
      r.categories.includes(slug) &&
      !r.merchant &&                           // one merchant only: needs the merchant
      r.booking_channel !== "issuer_portal" && // portal only: needs a portal booking
      !r.choice_group &&                       // pick-your-category: ask the user
      !r.is_rotating                           // rotating: check rotating_quarter/rotating_year
    )
    .sort((a, b) => b.rate_multiplier - a.rate_multiplier)[0] ?? null;
}

null means "no rate you can see." On a free key, the base rate may simply have been cut.

What not to infer

  • Caps. Plaid doesn't say how much of a cap the user has used. Take cap_amount, cap_period and cap_reset from the rate and track spend yourself.
  • Store classes. A Plaid grocery transaction may not earn a grocery rate. Amex Canada's Membership Rewards terms, for example, exclude "stand-alone merchants selling alcohol, wholesale clubs and merchants that sell general merchandise and also sell food and grocery items" from eligible grocery purchases. Check excluded_categories; when exclusions_known is false, the exclusions are unknown, not absent.
  • Pick-your-category choices. A choice_group rate depends on what the user picked. Ask them.
  • Welcome offers. Plaid doesn't show progress toward a signup bonus. Don't score it as an ongoing rate.

Other options

Rewards Credit Card API has a Plaid endpoint, GET /creditcard-plaid-bycard/{cardKey}, that returns a card's earn multipliers keyed by Plaid detailed category. Their docs say the mapping to Plaid's taxonomy "is an estimate" (their page, read 6 December 2026). If you want rates already keyed by Plaid category, that's where they're ahead. See CardAPI vs Rewards Credit Card API.

CardAPI's MCP server, @cardapi/mcp, runs locally with your own key (npx -y @cardapi/mcp). Its search_cards, get_card and list_categories tools cover the lookups in this guide. Setup: /docs/mcp.

Licence

CardAPI's terms say:

While your plan is active, you may display CardAPI data to the users of your own website, app, product or content, and store or cache API responses in order to do that.

You may not "Re-serve the raw data to others" or "Use CardAPI data to build a competing credit card database or data product." Showing users the rates of their own linked cards is display to your own users.

CardAPI is not affiliated with Plaid.

Related: Rewards optimizer use case, Quickstart, Reward rates, Errors, Pricing. Get a free key. No credit card required.