DeltaNeutral API Stock API
Welcome to the documentation for the APIs provided by this application. Below you will find information on
how to use them.
/five-minute-stock-history
Endpoint: /five-minute-stock-history/:symbol/:format?/:maxRows/:maxDate
Description: Retrieves the five-minute historical stock data for the specified symbol from a
database and returns the results as either JSON or CSV. The `maxDate` parameter is required.
Parameters:
symbol - The stock symbol (e.g., AAPL).
format - (Optional) The response format, either "json" or "csv". Defaults to "json".
maxRows - The maximum number of rows to return.
maxDate - The maximum date for the data.
Example call: https://api.deltaneutral.net/five-minute-stock-history/AAPL/json/TODAY/60?apikey=DEMOAPIKEY
/thirty-minute-stock-history
Endpoint: /thirty-minute-stock-history/:symbol/:format?/:maxRows/:maxDate
Description: Retrieves the thirty minute historical stock data for the specified symbol from
a database and returns the results as either JSON or CSV. The `maxDate` parameter is required.
Example call: https://api.deltaneutral.net/thirty-minute-stock-history/AAPL/json/100/TODAY?apikey=DEMOAPIKEY
/one-minute-stock-history
Endpoint: /one-minute-stock-history/:symbol/:format?/:maxRows/:maxDate
Description: Retrieves the one minute historical stock data for the specified symbol from a
database and returns the results as either JSON or CSV. The `maxDate` parameter is required.
Example call: https://api.deltaneutral.net/one-minute-stock-history/AAPL/json/100/TODAY?apikey=DEMOAPIKEY
/list-daily-stock-symbols
Endpoint: /list-daily-stock-symbols/:format?
Description: Retrieves a list of daily stock symbols from a database and returns the results
as either JSON or CSV.
Example call: https://api.deltaneutral.net/list-daily-stock-symbols/json?apikey=DEMOAPIKEY
/daily-stock-history
Endpoint: /daily-stock-history/:symbol/:format?/:maxRows?/:maxDate
Description: Retrieves the daily historical stock data for the specified symbol from a
database and returns the results as either JSON or CSV.
Parameters:
symbol - The stock symbol (e.g., AAPL).
format - (Optional) The response format, either "json" or "csv". Defaults to "json".
maxRows - (Optional) The maximum number of rows to return. Defaults to no limit.
maxDate - (Optional) The maximum date for the data. Defaults to the latest available date.
Example call: https://api.deltaneutral.net/daily-stock-history/AAPL/json/100/TODAY?apikey=DEMOAPIKEY
|