https://api.unibit.ai/v2/stock/historical?tickers=AAPL&accessKey=demo&dataType=json
.?
) in your API. If there are multiple parameters, they will be appended together with an &
sign. Take the following API as an example. There are three parameters:None
. None
in the authorization type and specify the API key in Headers or Parameters. AAPL
key is stored in the result_data
key. To access the raw data, the path can be defined as result_data.AAPL
.CSV
in Data Format. Thus, the system will parse your data correctly. Here is an example API: body
data within the html
key, just specify html.body
in JSON Path. limit
. (Note: please make sure your API has this parameter) start
. (Note: please make sure your API has this parameter) limit
.Parameter Key
is dependent on Field Name
. transaction_id
. start_after_transaction_id
records the last transaction id in the last request, and thus the API will start from the transaction_id after this value in the next request. For example, if the 1000th transaction_id
is "trans1000", then the second request will start from the row which transaction_id
is after "trans1000". The requests won't end until all data are retrieved. {}
, you have to specify the loop method at the same time. You can determine an array of values from a column in one of the project table. Then, the system will loop through the array and replace the value within the bracket to request data. {year}
: refers to the current year in UTC. The year is expressed in 4 digits, such as 2021.{month}
: refers to the current month in UTC. The month is expressed in 2 digits, such as 08.{day}
: refers to the current day in UTC. The month is expressed in 2 digits, such as 23.{yesterday-full-date}
: refers to yesterday's date in the format of "yyyy-mm-dd", such as 2021-08-22.{yesterday_full_date}
: refers to yesterday's date in the format of "yyyy_mm_dd", such as 2021_08_22.