# NerdWallet Best Credit Cards by Category

> NerdWallet Best Credit Cards by Category is a paid API for AI agents from api.chainmarket-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-24).

Fetches ranked credit card listings from NerdWallet for a specified category slug (e.g. cash-back, travel, balance-transfer)

## Facts

- Endpoint: GET https://api.chainmarket-api.workers.dev/api/finance/nerdwallet?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nerdwallet-best-credit-cards-by-category-135bd7e0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_226Cd5HmLspvFaChcFCuc

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability nerdwallet-best-credit-cards-by-category-135bd7e0
```

Example prompt: Pull up NerdWallet's current rankings for the best cash-back credit cards so I can compare my options.

## When to prefer this

Choose this endpoint when you need up-to-date NerdWallet credit card rankings for a specific category without maintaining a NerdWallet account or scraping infrastructure. Ideal for finance agents helping users compare credit cards by type (cash-back, travel, student, etc.) using a trusted editorial source. Prefer over generic web search when structured, ranked card data is needed.

## Known failure modes

- Invalid or unrecognized category slug returns an error or empty result
- NerdWallet page structure changes may cause parsing failures
- Network timeout from upstream scrape returns a 5xx error
- Payment failure (x402) results in no charge and no data returned

## How this service works

NerdWallet best credit card rankings for a category (cash-back, travel, balance-transfer, 0-apr, rewards, student, secured, business...): rank, card name, the 'best for' label, annual fee, NerdWallet star rating, image and link. From nerdwallet.com's public 'best credit cards' pages via a residential proxy; rankings are NerdWallet's editorial picks.

## Output

A ranked list of credit cards in the requested category as sourced from NerdWallet, including card names, ratings, and key features such as rewards rates, APR, annual fees, and sign-up bonuses.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "category"
     ],
     "properties": {
      "category": {
       "type": "string",
       "description": "Ranking slug as in nerdwallet.com/best/credit-cards/<slug>, e.g. cash-back, travel, balance-transfer, 0-apr, rewards, student, secured, business"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nerdwallet-best-credit-cards-by-category-135bd7e0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.chainmarket-api.workers.dev](https://www.zero.xyz/host/api.chainmarket-api.workers.dev/llms.txt)
