Card comparison API
Every planEvery plan; each card has the fields your plan includes.
Docs pages
GET /v1/cards/compare returns the full card object for 2 to 5 different cards, in the order requested, so a comparison table needs one call instead of one per card.
Each card carries the same fields GET /v1/cards/:slug would give your plan. Try it without code in the live comparison demo.
Endpoints
GET /v1/cards/compare: Compare cards
Full details for 2-5 different cards in one response, in the order requested. A slug that matches no published card is a 404 that names it; a repeated slug is counted once; a malformed slug is a 400.
Parameters
slugsstringrequiredComma-separated card slugs (2-5 different cards)Example
Paste your key into Try it to fill it in, or get a key
curl "https://api.cardapi.dev/v1/cards/compare?slugs=chase-sapphire-preferred-credit-card,american-express-gold-card" \-H "Authorization: Bearer YOUR_API_KEY"
Response (abridged)
{
"data": [
{
"slug": "american-express-gold-card",
"name": "American Express® Gold Card",
"annual_fee": 325,
"reward_rates": [ ... ],
"benefits": [ ... ],
"statement_credits": [ ... ]
},
{
"slug": "chase-sapphire-preferred-credit-card",
"name": "Chase Sapphire Preferred Credit Card",
"annual_fee": 95,
"reward_rates": [ ... ],
"benefits": [ ... ],
"statement_credits": [ ... ]
}
]
}GET /v1/cards/search: Search cards
Search card names and issuer names. Exact and prefix name matches rank first.
Parameters
qstringrequiredSearch text (max 200 characters)countrystringUS or CA: only cards from issuers in that countrylimitintegerResults per page (default 20, max 100)offsetintegerResults to skip, for pagingExample
Paste your key into Try it to fill it in, or get a key
curl "https://api.cardapi.dev/v1/cards/search?q=sapphire" \-H "Authorization: Bearer YOUR_API_KEY"
Response (abridged)
{
"data": [
{
"slug": "chase-sapphire-preferred-credit-card",
"name": "Chase Sapphire Preferred Credit Card",
"issuers": { "slug": "chase", "name": "Chase", "country": "US", "logo_url": null },
"annual_fee": 95
}
],
"total": 3,
"limit": 20,
"offset": 0
}