API Access
Access dataset files directly from scripts, code, or AI agents.
Browse dataset files
API Access
Access dataset files directly from scripts, code, or AI agents.
Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.
Start with these files — they give you everything you need to understand and access the dataset.
- 1. Fetch datapackage.json to inspect schema and resources
- 2. Download data resources listed in datapackage.json
- 3. Read README.md for full context
Data Files
Explore with AIdata
| Field | Type | Format | Description |
|---|---|---|---|
| date | date | %Y-%m-%d | Observation date (YYYY-MM-DD). |
| value | number | Value as a percent (e.g. 6.36 means 6.36%). | |
| unit | string | Unit of observation (matches manifest). |
Download
Download CSVAbout
- Last updated
- 19 May 2026
- Total rows
- ...
- Format
- CSV
- File size
- 3.49 kB
About this dataset
Commercial Bank Credit Card Interest Rate
Quarterly observations of Commercial Bank Credit Card Interest Rate (Credit Card APR).
At a glance
| Field | Value |
|---|---|
| Slug | credit-card-apr |
| Category | credit |
| Unit | percent |
| Cadence | quarterly |
| Source | Federal Reserve G.19 via FRED (TERMCBCCALLNS) |
| Source series ID | TERMCBCCALLNS |
| License | CC BY 4.0 |
Live data on CalcFi
- Latest value + chart: https://calcfi.app/rates/history/credit-card-apr
- JSON API (no auth): https://calcfi.app/api/rates/credit-card-apr
- CSV (this file, daily-refreshed via cron): data.csv
Quick start
# Latest single value from the API
curl https://calcfi.app/api/rates/credit-card-apr
# Full history from this repo
curl https://raw.githubusercontent.com/jerehere/calcfi-open-data/main/datasets/credit-card-apr/data.csv
import pandas as pd
url = "https://raw.githubusercontent.com/jerehere/calcfi-open-data/main/datasets/credit-card-apr/data.csv"
df = pd.read_csv(url, parse_dates=["date"])
print(df.tail())
Source + provenance
This dataset mirrors Federal Reserve G.19 via FRED (TERMCBCCALLNS) (TERMCBCCALLNS).
Primary source: Federal Reserve Economic Data (FRED).
Values are pulled daily by a GitHub Actions workflow (.github/workflows/refresh.yml) from CalcFi's read-only data API, which itself pulls from primary sources. No transformations or imputations are applied; values are passed through verbatim.
Citation
If you use this dataset, please cite:
CalcFi (2026). Commercial Bank Credit Card Interest Rate dataset. https://calcfi.app/rates/history/credit-card-apr
License
CC BY 4.0 — attribution requested. The data itself is sourced from Federal Reserve Economic Data (FRED); consult their terms for any additional restrictions.