Skip to main content
POST
/
analytics
/
v2
/
data
/
getdata
Get Data
curl --request POST \
  --url https://gateway.creditbenchmark.com/analytics/v2/data/getdata \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "effective_date": 20250930,
  "lookback_period": 24,
  "lookback_unit": "months",
  "columns": [
    "CBId",
    "CBEntityName",
    "EffectiveDateId",
    "CCR",
    "CCR21Notch",
    "CCR100PDMid"
  ],
  "scope": {
    "portfolio": {
      "CBId": [
        "CB0000022706",
        "CB0000022177"
      ]
    }
  }
}
'
{
  "CBId": [
    "CB0000022706",
    "CB0000022177"
  ],
  "EffectiveDateId": [
    20250831,
    20250831
  ],
  "CBEntityName": [
    "JPMORGAN CHASE & CO",
    "GOLDMAN SACHS GROUP INC"
  ],
  "CCR": [
    "a-",
    "bbb+"
  ],
  "CCR21Notch": [
    7,
    9
  ],
  "CCR100PDMid": [
    0.00119,
    0.00237
  ]
}

Authorizations

Authorization
string
header
required

JWT bearer token.

Body

application/json
scope
object
required

Defines the input universe. Use portfolio, filters, or both.

effective_date
integer

As-of date in YYYYMMDD format. If omitted, the latest available date is used.

lookback_period
integer
default:24

Number of lookback_unit intervals before effective_date.

Required range: x >= 0
lookback_unit
enum<string>
default:months
Available options:
months,
quarters,
years
columns
string[]

Requested output columns. Some columns require S&P, Fitch, or client-data entitlements. Use /v2/data/columns to discover the public column catalog.

result_filter
object

Filtering, sorting, and limiting applied after an analytic has computed its results. filters[].key and sort.field must reference supported result fields for the selected route. Some routes also accept documented alias names that map to returned fields.

Response

Data retrieved successfully

Get data results.

CBId
string[]
EffectiveDateId
integer[]
CBEntityName
string[]
CCR
(string | integer | number | boolean | null)[]
CCR21Notch
number[]
CCR100PDMid
number[]
{key}
(string | integer | number | boolean | null)[]