Reward rates API

Every planFree keys get each card's 3 highest rates; Starter and above get every rate.

Every card carries its reward rates: how much it earns in each spending category, with any cap, merchant limit or travel-portal condition. GET /v1/cards/best ranks cards by what they earn in one category, and GET /v1/categories lists the categories you can ask for.

A rate's categories are slugs from /v1/categories. Its category_slug is a label built from them that is unique on the card: <categories>[:<merchant>][@portal|@direct][#choice][~<tag>], for example dining, groceries+gas, airlines:united-airlines, travel@portal or dining#choice. The base rate is other. online-grocery is online grocery orders (delivery or pickup, such as Instacart); groceries is grocery stores. A rate that pays both lists both.

Endpoints

GET /v1/cards/best: Rank cards for a category

Cards ranked by their reward rate in one spending category. Each card carries a category_rate object with the matching rate. Rates are matched on their canonical categories; merchant-only, portal-only and pick-your-category rates, and discontinued cards, are left out unless you opt in. category=groceries means grocery stores: rates on online grocery orders are online-grocery, and only appear with include_subcategories=true or category=online-grocery.

Parameters
categorystringrequiredCategory slug, e.g. dining, groceries, gas, travel (see /v1/categories); a reward rate's category_slug naming one category also works (dining#choice, travel@portal). online-grocery is online grocery orders (delivery or pickup, e.g. Instacart); groceries is grocery stores
countrystringUS or CA
max_annual_feenumberHighest annual fee to include
no_annual_feebooleantrue for cards with a stated $0 annual fee only (an unknown fee does not count)
include_restrictedbooleantrue to also rank rates limited to one merchant, the issuer's travel portal, or a pick-your-category option (e.g. Citi Custom Cash)
include_subcategoriesbooleantrue to also match the categories whose parent_slug is the requested one (see /v1/categories), e.g. online-grocery for groceries, or airlines and hotels for travel. category_rate.matched_category says which matched
merchant_classstringA store class, a category slug such as wholesale-clubs or superstores: drops the rates whose excluded_categories include it. A rate whose exclusions are not read yet (exclusions_known false) stays. Not a category slug: 400
include_discontinuedbooleantrue to also rank cards no longer open to new applicants
limitintegerNumber of results (default 10, max 50)
Example
Paste your key into Try it to fill it in, or get a key
curl "https://api.cardapi.dev/v1/cards/best?category=dining&country=US" \
-H "Authorization: Bearer YOUR_API_KEY"
Response (abridged)
{
  "data": [
    {
      "slug": "citi-strata-elite-card",
      "name": "Citi Strata Elite Card",
      "annual_fee": 595,
      "category_rate": {
        "category_slug": "dining",
        "categories": ["dining"],
        "matched_category": "dining",
        "rate_multiplier": 6,
        "rate_type": "multiplier",
        "cap_amount": null,
        "cap_period": null,
        "merchant": null,
        "booking_channel": null,
        "choice_group": null,
        "is_rotating": false
      }
    },
    {
      "slug": "ihg-one-rewards-premier-credit-card",
      "name": "IHG One Rewards Premier Credit Card",
      "annual_fee": 99,
      "category_rate": {
        "category_slug": "dining",
        "categories": ["dining"],
        "rate_multiplier": 5,
        "rate_type": "points_per_dollar",
        "cap_amount": null,
        "cap_period": null,
        "merchant": null,
        "booking_channel": null,
        "choice_group": null,
        "is_rotating": false
      }
    }
  ]
}

GET /v1/categories: List spending categories

The spending categories CardAPI tracks. Use their slugs with /v1/cards/best. Every reward rate's categories come from this list, and its category_slug label starts with them, joined by + in this list's order (groceries+gas). A narrower category names its parent in parent_slug (online-grocery sits under groceries, airlines under travel); /v1/cards/best?include_subcategories=true uses that link. The example is abridged.

Example
Paste your key into Try it to fill it in, or get a key
curl "https://api.cardapi.dev/v1/categories" \
-H "Authorization: Bearer YOUR_API_KEY"
Response (abridged)
{
  "data": [
    { "slug": "groceries", "name": "Groceries", "icon": "shopping-cart", "sort_order": 1, "parent_slug": null },
    { "slug": "gas", "name": "Gas & Fuel", "icon": "fuel", "sort_order": 2, "parent_slug": null },
    { "slug": "dining", "name": "Dining", "icon": "utensils", "sort_order": 3, "parent_slug": null },
    { "slug": "travel", "name": "Travel", "icon": "plane", "sort_order": 4, "parent_slug": null },
    { "slug": "drugstore", "name": "Drugstore", "icon": "pill", "sort_order": 5, "parent_slug": null },
    { "slug": "entertainment", "name": "Entertainment", "icon": "film", "sort_order": 6, "parent_slug": null },
    { "slug": "streaming", "name": "Streaming", "icon": "tv", "sort_order": 7, "parent_slug": null },
    { "slug": "transit", "name": "Transit", "icon": "bus", "sort_order": 8, "parent_slug": null },
    { "slug": "online-shopping", "name": "Online Shopping", "icon": "globe", "sort_order": 9, "parent_slug": null },
    { "slug": "other", "name": "Other / General", "icon": "credit-card", "sort_order": 10, "parent_slug": null },
    { "slug": "online-grocery", "name": "Online Grocery", "icon": "shopping-basket", "sort_order": 37, "parent_slug": "groceries" }
  ]
}

Reward rate fields

FieldTypeDescription
idstring (uuid)
card_idstring (uuid)
category_slugstringnullableLabel for the rate, unique on its card within a rotating quarter and built from the fields beside it, so the same rate has the same label on every card: <categories>[:<merchant>][@portal|@direct][#choice][~<tag>]. categories: the rate's `categories` joined by "+" in /v1/categories order ("groceries+gas"); a base rate is "other". :<merchant>: the merchant it is limited to, slugged ("airlines:united-airlines", "other:best-buy"). @portal / @direct: booking_channel issuer_portal / direct ("travel@portal"). #choice: one of a pick-your-category group ("dining#choice"). ~<tag>: only when two rates of one card would otherwise share a label, e.g. "airlines:united-airlines~3x"; a tag can change when the card's other rates change. Match on `categories`, `merchant`, `booking_channel` and `choice_group`, not by parsing the label.
categoriesstring[]Canonical categories this rate applies to; every value is a slug from GET /v1/categories. A rate can cover several (e.g. gas and groceries under one cap). `online-grocery` is grocery orders placed online for delivery or pickup, when the issuer pays them separately (e.g. Chase's online grocery, Instacart); `groceries` is grocery stores. A rate that pays both lists both.
merchantstringnullableMerchant or co-brand partner the rate is limited to (e.g. "Best Buy", "United Airlines"). Null when it applies anywhere in the category.
booking_channelstringnullableissuer_portal: only when booked through the issuer's travel portal (Chase Travel, Capital One Travel, ...). direct: booked directly with the airline or hotel.
choice_groupstringnullableRates on one card that share a choice_group are alternatives (pick-your-category cards): only choice_picks of them earn at once.
choice_picksintegernullableHow many categories in the choice_group earn the rate at the same time.
choice_selectionstringnullableuser: the cardholder picks; automatic: applied to the top spend categories.
excluded_merchantsstring[]nullableMerchants the issuer says this rate does NOT apply at, as named (e.g. "Target", "Walmart"). Null when unknown: exclusions_known is false (not read yet), or this list was never stated: the notes named only the other list, or a person set only the other list (a manually set row can have one list null). An empty list means the issuer's page was read and states none.
excluded_categoriesstring[]nullableStore classes the rate does NOT apply at, as slugs from GET /v1/categories (e.g. wholesale-clubs, superstores, department-stores). Null when unknown: exclusions_known is false, or this list was never stated: the notes named only merchants, or a person set only the merchants (a manually set row can have one list null). An empty list means the issuer's page was read and states none.
exclusions_knownbooleanTrue when CardAPI has read this rate's exclusions (from the issuer's page or its notes). False means unknown, not that nothing is excluded. A list can still be null when true: unknown is null, never an empty list.
cap_groupstringnullableRates on one card with the same cap_group share one spending cap. Null when CardAPI does not know.
cap_resetstringnullableWhen the cap starts again: calendar (calendar month/quarter/year), statement (billing cycle) or card_year (cardmember year). Null when not known.
rate_multipliernumber
rate_typestring
cap_amountnumbernullable
cap_periodstringnullable
fallback_ratenumbernullable
is_base_rateboolean
is_rotatingbooleanTrue for a quarterly rotating bonus row; see rotating_quarter/rotating_year.
rotating_quarterintegernullable
rotating_yearintegernullable
notesstringnullable
created_atstring (date-time)

Related

Re-checked against issuer sites every Friday · last change Nov 25