API to fetch company risk score by date (historic risk score data is only available)

Resource URL

/risk_score_by_date/reg_code/{registration code}/date/{YYYY-MM}-01

Parameters

ParameterDescriptionOptionalDefault
None

Example

GET https://api.ir.ee/risk_score_by_date/reg_code/11411278

Request

  curl -kv -H 'Authorization: API_KEY' https://api.ir.ee/risk_score_by_date/reg_code/11411278/date/2019-02-01  

Response

  {
    "reg_code": "11411278",
    "score_date": "2019-02-01",
    "credit_risk_class": 5,
    "percentile_value": "0.999",
    "xgb_max": "1.000",
    "m_0": "1.000",
    "m_1": "0.995",
    "m_2": "0.998",
    "m_3": "0.996",
    "m_4": "0.986",
    "m_5": "0.996",
    "m_6": "0.721",
    "m_7": "0.665",
    "m_8": "0.638",
    "m_9": "0.533",
    "m_10": "0.577",
    "m_11": "0.456"
}  

Error Response

    

Resource Information

Rate Limited True
Response Format JSON
Authentication API_KEY