RightCard
v0.1.28Which of your credit cards to use at any store, from verified bank data.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
best_card Best card for a store or category
Which of the given cards earns the most at a store (merchant) or for a spend category, today. Returns the card, the honest rate, why, and caveats (merchant-code traps, activation, ties). Base rates + rotating bonuses + built-in card benefits only; a user's personal bank offers live on their phone and are not consulted here.
| Parameter | Type | Description |
|---|---|---|
wallet * | array | Card ids the person holds (from search_cards). |
category | string | Spend category when there is no specific store. |
chosen_categories | object | For choose-your-category cards (Citi Custom Cash, BofA Customized, Venmo): card id → the categories the person set. TD Cash takes two picks: its 3% one under the card id, its 2% one under "<card id>… |
merchant | string | Store name, e.g. 'Costco', 'Whole Foods', 'Uber'. Use this OR category. |
on | string | Date (YYYY-MM-DD, UTC) for rotating windows; defaults to today. |
valuation | string | 'cash' counts each point at up to 1¢, and hotel/airline points at their lower value (default). 'points' values points per program at conservative travel values. |
lookup_merchant How a store is coded
The store's reward category as RightCard's directory files it, its merchant type, and the merchant-code caveat when a category bonus usually will not post there (superstores like Walmart/Target, warehouse clubs like Costco/Sam's). Same ranking the app uses.
| Parameter | Type | Description |
|---|---|---|
name * | string |
search_cards Find card ids
Search RightCard's catalog by card or issuer name to get the ids to pass into best_card. Verified cards first; unverified cards are flagged, never hidden.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
issuer | string | |
limit | integer |
card A card's verified rates
Everything RightCard knows about one card: rates by category, base rate, currency, annual fee, verification status, live rotating windows, and the choose-your-category spec if it has one.
| Parameter | Type | Description |
|---|---|---|
id * | string |
rotating_calendar Rotating 5% windows
Live and upcoming rotating-category windows (Freedom Flex, Discover it, Citi Dividend…) and permanent merchant benefits, from the same verified data as the app. Optionally filter by card id.
| Parameter | Type | Description |
|---|---|---|
card_id | string |