GET
/afp_modelo/returns-20%$0.35 USDT/call$0.28 USDT/callFree billing instructions: No billing will be charged in case of abnormalities
Billing instructions for empty value: The interface is limited to 10 free empty value times per day
Empty value definition: The server query result is empty and no data was found
Query Chile AFP Modelo historical investment returns by RUT
Header Parameters
| Name | Type | Required | Description |
|---|---|---|---|
X-Api-Token | string | Required | Your platform API token |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
rut | query | string | Required | 15-digit zero-padded Chilean RUT |
Response 200JSON
{
"data": {
"return_balance_fund_a": 0,
"return_contributions_fund_a": 0,
"return_gains_fund_a": 0,
"return_balance_fund_b": 7804116,
"return_contributions_fund_b": 5500000,
"return_gains_fund_b": 2304116,
"return_balance_fund_c": 0,
"return_contributions_fund_c": 0,
"return_gains_fund_c": 0,
"return_balance_fund_d": 0,
"return_contributions_fund_d": 0,
"return_gains_fund_d": 0,
"return_balance_fund_e": 0,
"return_contributions_fund_e": 0,
"return_gains_fund_e": 0,
"return_balance_total": 7804116,
"return_contributions_total": 5500000,
"return_gains_total": 2304116
},
"status": 200,
"message": "Found",
"success": true
}
Real-time Chile Data All API