Default output format, with no extension specified, is JSON. Appending a suffix to the url, prior to the parameters can be used to specify an output format. Valid output formats are JSON or CSV.
JSON Example: https://api.higenoki.com/prosper/v1/historic_yields.json?aggregation=week&look_back_unit=year&look_back=1
Code | Description |
---|---|
422 | Request not logical |
Param name | Description |
---|---|
aggregation required |
Temporal unit for bucketing yields Validations:
|
look_back optional |
Temporal amount for looking back; e.g. ‘5’ with a ‘look_back_unit’ equal to ‘month’ would mean look back five months default is 365 days Validations:
|
look_back_unit optional |
Temporal unit for looking back in time; this is paired with the ‘look_back’ parameter; default is ‘day’ Validations:
|
order_direction optional |
Sort direction to return results in Validations:
|