With Stocks API you will retrieve all the information related to any stock of your preference. This API will help you to gather all the latest rates for the stocks as well as additional information.
Our API will receive the stock symbol (ex: AAPL) and, depending on the endpoint, will retrieve either intraday information, daily information, etc. You will be receiving Open rates, close rates, highs, and lows, as well as volume traded. Also, if you do not know the name of a particular stock, you can find it with the name of the company on our "Search Symbol Endpoint".
This API is excellent for those developers who want to build a price tracking platform, you will have all your data refreshed, and also you will have access to data 20 years in the past. This is excellent for chart creation and market analysis.
Besides API call limitations per month:
Receive the latest rates of the equity you select. You can select and determine if you want to check the rates between 1min, 5min, 15min, 30min or 60min windows.
To be more specific, let's say that you want to check the latest rates for AAPL in a range of 15min between.
You will be receiving the open price of that time series, the closing price, and the high and low.
Output JSON response example:
{"Meta Data":{6 items
"1. Information":"Intraday (15min) open, high, low, close prices and volume"
"2. Symbol":"AAPL"
"3. Last Refreshed":"2022-07-01 20:00:00"
"4. Interval":"15min"
"5. Output Size":"Compact"
"6. Time Zone":"US/Eastern"
}
"Time Series (15min)":{
100 items
"2022-07-01 20:00:00":{5 items
"1. open":"138.9600"
"2. high":"139.0300"
"3. low":"138.9600"
"4. close":"139.0200"
"5. volume":"9012"
}
"2022-07-01 19:45:00":{
5 items
"1. open":"138.9400"
"2. high":"138.9600"
"3. low":"138.9400"
"4. close":"138.9600"
"5. volume":"1013"
}
"2022-07-01 19:30:00":{5 items
"1. open":"138.9300"
"2. high":"138.9700"
"3. low":"138.9300"
"4. close":"138.9500"
"5. volume":"1870"
}
"2022-07-01 19:15:00":{5 items
"1. open":"138.9600"
"2. high":"138.9800"
"3. low":"138.9300"
"4. close":"138.9600"
"5. volume":"3401"
}
Object | Description |
---|---|
interval |
[Required] Time interval between two consecutive data points in the time series. The following values are supported: 1min, 5min, 15min, 30min, 60min |
symbol |
[Required] The equity of your choice. Ex: AAPL |
datatype |
[Optional] By default, datatype=json. Strings json and csv are accepted with the following specifications: json returns the intraday time series in JSON format; csv returns the time series as a CSV (comma separated value) file. |
{
"Meta Data": {
"1. Information": "Intraday (15min) open, high, low, close prices and volume",
"2. Symbol": "AAPL",
"3. Last Refreshed": "2022-07-01 20:00:00",
"4. Interval": "15min",
"5. Output Size": "Compact",
"6. Time Zone": "US/Eastern"
},
"Time Series (15min)": {
"2022-07-01 20:00:00": {
"1. open": "138.9600",
"2. high": "139.0300",
"3. low": "138.9600",
"4. close": "139.0200",
"5. volume": "9012"
},
"2022-07-01 19:45:00": {
"1. open": "138.9400",
"2. high": "138.9600",
"3. low": "138.9400",
"4. close": "138.9600",
"5. volume": "1013"
},
"2022-07-01 19:30:00": {
"1. open": "138.9300",
"2. high": "138.9700",
"3. low": "138.9300",
"4. close": "138.9500",
"5. volume": "1870"
},
"2022-07-01 19:15:00": {
"1. open": "138.9600",
"2. high": "138.9800",
"3. low": "138.9300",
"4. close": "138.9600",
"5. volume": "3401"
},
"2022-07-01 19:00:00": {
"1. open": "138.9500",
"2. high": "138.9800",
"3. low": "138.9200",
"4. close": "138.9600",
"5. volume": "8165"
},
"2022-07-01 18:45:00": {
"1. open": "138.9900",
"2. high": "139.0200",
"3. low": "138.9500",
"4. close": "138.9600",
"5. volume": "6449"
},
"2022-07-01 18:30:00": {
"1. open": "138.9500",
"2. high": "139.0000",
"3. low": "138.9200",
"4. close": "138.9500",
"5. volume": "9430"
},
"2022-07-01 18:15:00": {
"1. open": "138.9700",
"2. high": "138.9700",
"3. low": "138.9300",
"4. close": "138.9500",
"5. volume": "9182"
},
"2022-07-01 18:00:00": {
"1. open": "138.9975",
"2. high": "139.0399",
"3. low": "138.9600",
"4. close": "138.9700",
"5. volume": "9255"
},
"2022-07-01 17:45:00": {
"1. open": "139.0000",
"2. high": "139.0500",
"3. low": "138.9410",
"4. close": "138.9778",
"5. volume": "14506"
},
"2022-07-01 17:30:00": {
"1. open": "138.9700",
"2. high": "138.9700",
"3. low": "138.9400",
"4. close": "138.9500",
"5. volume": "17412"
},
"2022-07-01 17:15:00": {
"1. open": "139.0300",
"2. high": "139.0400",
"3. low": "138.9600",
"4. close": "139.0000",
"5. volume": "27542"
},
"2022-07-01 17:00:00": {
"1. open": "138.9600",
"2. high": "139.0400",
"3. low": "138.9300",
"4. close": "139.0300",
"5. volume": "28707"
},
"2022-07-01 16:45:00": {
"1. open": "138.8600",
"2. high": "138.9600",
"3. low": "138.8500",
"4. close": "138.9600",
"5. volume": "360767"
},
"2022-07-01 16:30:00": {
"1. open": "138.9000",
"2. high": "138.9500",
"3. low": "138.8701",
"4. close": "138.8701",
"5. volume": "40567"
},
"2022-07-01 16:15:00": {
"1. open": "138.9300",
"2. high": "139.2300",
"3. low": "138.9000",
"4. close": "138.9000",
"5. volume": "2220448"
},
"2022-07-01 16:00:00": {
"1. open": "138.5750",
"2. high": "139.0400",
"3. low": "138.2050",
"4. close": "138.9400",
"5. volume": "6309948"
},
"2022-07-01 15:45:00": {
"1. open": "138.2700",
"2. high": "138.7300",
"3. low": "138.2700",
"4. close": "138.5750",
"5. volume": "2555226"
},
"2022-07-01 15:30:00": {
"1. open": "138.2800",
"2. high": "138.4200",
"3. low": "138.0550",
"4. close": "138.2650",
"5. volume": "1688507"
},
"2022-07-01 15:15:00": {
"1. open": "138.3800",
"2. high": "138.4499",
"3. low": "137.8510",
"4. close": "138.2737",
"5. volume": "2000564"
},
"2022-07-01 15:00:00": {
"1. open": "138.2200",
"2. high": "138.5600",
"3. low": "138.1000",
"4. close": "138.3750",
"5. volume": "2027488"
},
"2022-07-01 14:45:00": {
"1. open": "137.8700",
"2. high": "138.2345",
"3. low": "137.8450",
"4. close": "138.2200",
"5. volume": "1409594"
},
"2022-07-01 14:30:00": {
"1. open": "137.5300",
"2. high": "138.1000",
"3. low": "137.4400",
"4. close": "137.8700",
"5. volume": "1574600"
},
"2022-07-01 14:15:00": {
"1. open": "137.7150",
"2. high": "137.7293",
"3. low": "137.2400",
"4. close": "137.5150",
"5. volume": "1259223"
},
"2022-07-01 14:00:00": {
"1. open": "137.4700",
"2. high": "137.7200",
"3. low": "137.3300",
"4. close": "137.7178",
"5. volume": "1304096"
},
"2022-07-01 13:45:00": {
"1. open": "137.0600",
"2. high": "137.5200",
"3. low": "137.0200",
"4. close": "137.4600",
"5. volume": "2654392"
},
"2022-07-01 13:30:00": {
"1. open": "136.8300",
"2. high": "137.0700",
"3. low": "136.5690",
"4. close": "137.0500",
"5. volume": "1449308"
},
"2022-07-01 13:15:00": {
"1. open": "136.5050",
"2. high": "136.8388",
"3. low": "136.4400",
"4. close": "136.8209",
"5. volume": "1107788"
},
"2022-07-01 13:00:00": {
"1. open": "136.6400",
"2. high": "136.9800",
"3. low": "136.5200",
"4. close": "136.5200",
"5. volume": "1181520"
},
"2022-07-01 12:45:00": {
"1. open": "137.0300",
"2. high": "137.1200",
"3. low": "136.5700",
"4. close": "136.6450",
"5. volume": "1378082"
},
"2022-07-01 12:30:00": {
"1. open": "136.4300",
"2. high": "137.1899",
"3. low": "136.4100",
"4. close": "137.0200",
"5. volume": "1797613"
},
"2022-07-01 12:15:00": {
"1. open": "136.3550",
"2. high": "136.5799",
"3. low": "136.0718",
"4. close": "136.4134",
"5. volume": "1435653"
},
"2022-07-01 12:00:00": {
"1. open": "136.6600",
"2. high": "136.9800",
"3. low": "136.2100",
"4. close": "136.3500",
"5. volume": "1601510"
},
"2022-07-01 11:45:00": {
"1. open": "136.6000",
"2. high": "137.0500",
"3. low": "136.5801",
"4. close": "136.6600",
"5. volume": "1518244"
},
"2022-07-01 11:30:00": {
"1. open": "136.8284",
"2. high": "137.2500",
"3. low": "136.4800",
"4. close": "136.6012",
"5. volume": "1964099"
},
"2022-07-01 11:15:00": {
"1. open": "136.5800",
"2. high": "137.0319",
"3. low": "136.1600",
"4. close": "136.8338",
"5. volume": "2170045"
},
"2022-07-01 11:00:00": {
"1. open": "136.1600",
"2. high": "136.9240",
"3. low": "135.9700",
"4. close": "136.5900",
"5. volume": "3376622"
},
"2022-07-01 10:45:00": {
"1. open": "136.0999",
"2. high": "136.2309",
"3. low": "135.6600",
"4. close": "136.1450",
"5. volume": "2722978"
},
"2022-07-01 10:30:00": {
"1. open": "136.5250",
"2. high": "136.8400",
"3. low": "136.0000",
"4. close": "136.0900",
"5. volume": "2765206"
},
"2022-07-01 10:15:00": {
"1. open": "137.7500",
"2. high": "138.3200",
"3. low": "136.4500",
"4. close": "136.5300",
"5. volume": "3749257"
},
"2022-07-01 10:00:00": {
"1. open": "136.6600",
"2. high": "138.1300",
"3. low": "136.6100",
"4. close": "137.7400",
"5. volume": "4060664"
},
"2022-07-01 09:45:00": {
"1. open": "136.0400",
"2. high": "137.2000",
"3. low": "136.0400",
"4. close": "136.6529",
"5. volume": "5859320"
},
"2022-07-01 09:30:00": {
"1. open": "136.3900",
"2. high": "136.7200",
"3. low": "135.9200",
"4. close": "136.0500",
"5. volume": "1...
curl --location --request GET 'https://zylalabs.com/api/33/stocks+api/97/intraday+information?interval=Required&symbol=Required' --header 'Authorization: Bearer YOUR_API_KEY'
With the Daily TimeSeries endpoint, you will be able to retrieve (date, daily open, daily high, daily low, daily close, daily volume) of the global equity specified, covering 20+ years of historical data.
Check the example with AAPL equity.
Example JSON output response:
{
"Meta Data": {
"1. Information": "Daily Prices (open, high, low, close) and Volumes",
"2. Symbol": "AAPL",
"3. Last Refreshed": "2022-07-01",
"4. Output Size": "Compact",
"5. Time Zone": "US/Eastern"
},
"Time Series (Daily)": {
"2022-07-01": {
"1. open": "136.0400",
"2. high": "139.0400",
"3. low": "135.6600",
"4. close": "138.9300",
"5. volume": "71051552"
},
"2022-06-30": {
"1. open": "137.2500",
"2. high": "138.3700",
"3. low": "133.7737",
"4. close": "136.7200",
"5. volume": "98964467"
},
"2022-06-29": {
"1. open": "137.4600",
"2. high": "140.6700",
"3. low": "136.6700",
"4. close": "139.2300",
"5. volume": "66242411"
}
Object | Description |
---|---|
symbol |
[Required] The name of the equity of your choice. Ex: AAPL |
outputsize |
[Optional] Strings "compact" and "full" are accepted with the following specifications: compact returns only the latest 100 data points; full returns the full-length time series of 20+ years of historical data. The \\"compact\\" option is recommended if you would like to reduce the data size of each API call. |
datatype |
[Optional] Strings "json" and "csv" are accepted with the following specifications: json returns the daily time series in JSON format; csv returns the time series as a CSV (comma separated value) file. |
{
"Meta Data": {
"1. Information": "Daily Prices (open, high, low, close) and Volumes",
"2. Symbol": "AAPL",
"3. Last Refreshed": "2022-07-01",
"4. Output Size": "Compact",
"5. Time Zone": "US/Eastern"
},
"Time Series (Daily)": {
"2022-07-01": {
"1. open": "136.0400",
"2. high": "139.0400",
"3. low": "135.6600",
"4. close": "138.9300",
"5. volume": "71051552"
},
"2022-06-30": {
"1. open": "137.2500",
"2. high": "138.3700",
"3. low": "133.7737",
"4. close": "136.7200",
"5. volume": "98964467"
},
"2022-06-29": {
"1. open": "137.4600",
"2. high": "140.6700",
"3. low": "136.6700",
"4. close": "139.2300",
"5. volume": "66242411"
},
"2022-06-28": {
"1. open": "142.1300",
"2. high": "143.4220",
"3. low": "137.3250",
"4. close": "137.4400",
"5. volume": "67315328"
},
"2022-06-27": {
"1. open": "142.6950",
"2. high": "143.4900",
"3. low": "140.9650",
"4. close": "141.6600",
"5. volume": "70207908"
},
"2022-06-24": {
"1. open": "139.9000",
"2. high": "141.9100",
"3. low": "139.7700",
"4. close": "141.6600",
"5. volume": "89116837"
},
"2022-06-23": {
"1. open": "136.8200",
"2. high": "138.5900",
"3. low": "135.6300",
"4. close": "138.2700",
"5. volume": "72433768"
},
"2022-06-22": {
"1. open": "134.7900",
"2. high": "137.7600",
"3. low": "133.9100",
"4. close": "135.3500",
"5. volume": "73409234"
},
"2022-06-21": {
"1. open": "133.4200",
"2. high": "137.0600",
"3. low": "133.3200",
"4. close": "135.8700",
"5. volume": "81000488"
},
"2022-06-17": {
"1. open": "130.0650",
"2. high": "133.0790",
"3. low": "129.8100",
"4. close": "131.5600",
"5. volume": "134520290"
},
"2022-06-16": {
"1. open": "132.0800",
"2. high": "132.3900",
"3. low": "129.0400",
"4. close": "130.0600",
"5. volume": "107961508"
},
"2022-06-15": {
"1. open": "134.2900",
"2. high": "137.3400",
"3. low": "132.1600",
"4. close": "135.4300",
"5. volume": "91532972"
},
"2022-06-14": {
"1. open": "133.1300",
"2. high": "133.8900",
"3. low": "131.4800",
"4. close": "132.7600",
"5. volume": "84784326"
},
"2022-06-13": {
"1. open": "132.8700",
"2. high": "135.2000",
"3. low": "131.4400",
"4. close": "131.8800",
"5. volume": "122207099"
},
"2022-06-10": {
"1. open": "140.2800",
"2. high": "140.7600",
"3. low": "137.0600",
"4. close": "137.1300",
"5. volume": "91566637"
},
"2022-06-09": {
"1. open": "147.0800",
"2. high": "147.9500",
"3. low": "142.5300",
"4. close": "142.6400",
"5. volume": "69472976"
},
"2022-06-08": {
"1. open": "148.5800",
"2. high": "149.8697",
"3. low": "147.4600",
"4. close": "147.9600",
"5. volume": "53950201"
},
"2022-06-07": {
"1. open": "144.3450",
"2. high": "149.0000",
"3. low": "144.1000",
"4. close": "148.7100",
"5. volume": "67808150"
},
"2022-06-06": {
"1. open": "147.0300",
"2. high": "148.5689",
"3. low": "144.9000",
"4. close": "146.1400",
"5. volume": "71598380"
},
"2022-06-03": {
"1. open": "146.9000",
"2. high": "147.9700",
"3. low": "144.4600",
"4. close": "145.3800",
"5. volume": "88570289"
},
"2022-06-02": {
"1. open": "147.8300",
"2. high": "151.2700",
"3. low": "146.8600",
"4. close": "151.2100",
"5. volume": "72348055"
},
"2022-06-01": {
"1. open": "149.9000",
"2. high": "151.7400",
"3. low": "147.6800",
"4. close": "148.7100",
"5. volume": "74286635"
},
"2022-05-31": {
"1. open": "149.0700",
"2. high": "150.6600",
"3. low": "146.8400",
"4. close": "148.8400",
"5. volume": "103718416"
},
"2022-05-27": {
"1. open": "145.3900",
"2. high": "149.6800",
"3. low": "145.2600",
"4. close": "149.6400",
"5. volume": "90978503"
},
"2022-05-26": {
"1. open": "137.3900",
"2. high": "144.3400",
"3. low": "137.1400",
"4. close": "143.7800",
"5. volume": "90601548"
},
"2022-05-25": {
"1. open": "138.4300",
"2. high": "141.7850",
"3. low": "138.3400",
"4. close": "140.5200",
"5. volume": "92482696"
},
"2022-05-24": {
"1. open": "140.8050",
"2. high": "141.9700",
"3. low": "137.3300",
"4. close": "140.3600",
"5. volume": "104132746"
},
"2022-05-23": {
"1. open": "137.7900",
"2. high": "143.2600",
"3. low": "137.6500",
"4. close": "143.1100",
"5. volume": "117726265"
},
"2022-05-20": {
"1. open": "139.0900",
"2. high": "140.7000",
"3. low": "132.6100",
"4. close": "137.5900",
"5. volume": "137426125"
},
"2022-05-19": {
"1. open": "139.8800",
"2. high": "141.6600",
"3. low": "136.6000",
"4. close": "137.3500",
"5. volume": "136095640"
},
"2022-05-18": {
"1. open": "146.8500",
"2. high": "147.3601",
"3. low": "139.9000",
"4. close": "140.8200",
"5. volume": "109742890"
},
"2022-05-17": {
"1. open": "148.8600",
"2. high": "149.7700",
"3. low": "146.6800",
"4. close": "149.2400",
"5. volume": "78336254"
},
"2022-05-16": {
"1. open": "145.5500",
"2. high": "147.5199",
"3. low": "144.1800",
"4. close": "145.5400",
"5. volume": "86643781"
},
"2022-05-13": {
"1. open": "144.5900",
"2. high": "148.1050",
"3. low": "143.1100",
"4. close": "147.1100",
"5. volume": "113990852"
},
"2022-05-12": {
"1. open": "142.7700",
"2. high": "146.2000",
"3. low": "138.8000",
"4. close": "142.5600",
"5. volume": "182602041"
},
"2022-05-11": {
"1. open": "153.5000",
"2. high": "155.4500",
"3. low": "145.8100",
"4. close": "146.5000",
"5. volume": "142689825"
},
"2022-05-10": {
"1. open": "155.5200",
"2. high": "156.7400",
"3. low": "152.9300",
"4. close": "154.5100",
"5. volume": "115366736"
},
"2022-05-09": {
"1. open": "154.9250",
"2. high": "155.8300",
"3. low": "151.4900",
"4. close": "152.0600",
"5. volume": "131577921"
},
"2022-05-06": {
"1. open": "156.0100",
"2. high": "159.4400",
"3. low": "154.1800",
"4. close": "157.2800",
"5. volume": "116124647"
},
"2022-05-05": {
"1. open": "163.8500",
"2. high": "164.0800",
"3. low": "154.9500",
"4. close": "156.7700",
"5. volume": "130525275"
},
"2022-05-04": {
"1. open": "159.6700",
"2. high": "166.4800",
"3. low": "159.2600",
"4. close": "166.0200",
"5. volume": "107521649"
},
"2022-05-03": {
"1. open": "158.1500",
"2. high": "160.7100",
"3. low": "156.3200",
"4. close": "159.4800",
"5. volume": "88966526"
},
"2022-05-02": {
"1. open": "156.7100",
"2. high": "158.2300",
"3. low": "153.2700",
"4. close": "157.9600",
"5. volume": "123055265"
},
"2022-04-29": {
"1. open": "161.8400",
"2. high": "166.2000",
"3. low": "157.2500",
"4. close": "157.6500",
"5. volume": "131747571"
},
"2022-04-28": {
"1. open": "159.2500",
"2. high": "164.5150",
"3. low": "158.9300",
"4. close": "163.6400",
"5. volume": "130216792"
},
"2022-04-27": {
"1. open": "155.9100",
"2. high": "159.7900",
"3. low": "155.3800",
"4. close": "156.5700",
"5. volume": "88063191"
...
curl --location --request GET 'https://zylalabs.com/api/33/stocks+api/98/daily+timeseries' --header 'Authorization: Bearer YOUR_API_KEY'
This endpoint returns weekly time series (last trading day of each week, weekly open, weekly high, weekly low, weekly close, weekly volume) of the global equity specified, covering 20+ years of historical data.
Endpoint JSON example response:
{
"Meta Data": {
"1. Information": "Weekly Prices (open, high, low, close) and Volumes",
"2. Symbol": "AAPL",
"3. Last Refreshed": "2022-07-01",
"4. Time Zone": "US/Eastern"
},
"Weekly Time Series": {
"2022-07-01": {
"1. open": "142.6950",
"2. high": "143.4900",
"3. low": "133.7737",
"4. close": "138.9300",
"5. volume": "373781666"
},
"2022-06-24": {
"1. open": "133.4200",
"2. high": "141.9100",
"3. low": "133.3200",
"4. close": "141.6600",
"5. volume": "315960327"
},
"2022-06-17": {
"1. open": "132.8700",
"2. high": "137.3400",
"3. low": "129.0400",
"4. close": "131.5600",
"5. volume": "541006195"
},
"2022-06-10": {
"1. open": "147.0300",
"2. high": "149.8697",
"3. low": "137.0600",
"4. close": "137.1300",
"5. volume": "354396344"
}
Object | Description |
---|---|
symbol |
[Required] The name of the equity of your choice. Ex: AAPL, MSFT. |
datatype |
[Optional] By default, datatype=json. Strings "json" and "csv" are accepted with the following specifications: json returns the intraday time series in JSON format; csv returns the time series as a CSV (comma separated value) file. |
{
"Meta Data": {
"1. Information": "Weekly Prices (open, high, low, close) and Volumes",
"2. Symbol": "AAPL",
"3. Last Refreshed": "2022-07-01",
"4. Time Zone": "US/Eastern"
},
"Weekly Time Series": {
"2022-07-01": {
"1. open": "142.6950",
"2. high": "143.4900",
"3. low": "133.7737",
"4. close": "138.9300",
"5. volume": "373781666"
},
"2022-06-24": {
"1. open": "133.4200",
"2. high": "141.9100",
"3. low": "133.3200",
"4. close": "141.6600",
"5. volume": "315960327"
},
"2022-06-17": {
"1. open": "132.8700",
"2. high": "137.3400",
"3. low": "129.0400",
"4. close": "131.5600",
"5. volume": "541006195"
},
"2022-06-10": {
"1. open": "147.0300",
"2. high": "149.8697",
"3. low": "137.0600",
"4. close": "137.1300",
"5. volume": "354396344"
},
"2022-06-03": {
"1. open": "149.0700",
"2. high": "151.7400",
"3. low": "144.4600",
"4. close": "145.3800",
"5. volume": "338923395"
},
"2022-05-27": {
"1. open": "137.7900",
"2. high": "149.6800",
"3. low": "137.1400",
"4. close": "149.6400",
"5. volume": "495921758"
},
"2022-05-20": {
"1. open": "145.5500",
"2. high": "149.7700",
"3. low": "132.6100",
"4. close": "137.5900",
"5. volume": "548244690"
},
"2022-05-13": {
"1. open": "154.9250",
"2. high": "156.7400",
"3. low": "138.8000",
"4. close": "147.1100",
"5. volume": "686227375"
},
"2022-05-06": {
"1. open": "156.7100",
"2. high": "166.4800",
"3. low": "153.2700",
"4. close": "157.2800",
"5. volume": "566193362"
},
"2022-04-29": {
"1. open": "161.1200",
"2. high": "166.2000",
"3. low": "155.3800",
"4. close": "157.6500",
"5. volume": "540082324"
},
"2022-04-22": {
"1. open": "163.9200",
"2. high": "171.5300",
"3. low": "161.5000",
"4. close": "161.7900",
"5. volume": "376576076"
},
"2022-04-14": {
"1. open": "168.7100",
"2. high": "171.2700",
"3. low": "165.0400",
"4. close": "165.2900",
"5. volume": "297460188"
},
"2022-04-08": {
"1. open": "174.5700",
"2. high": "178.4900",
"3. low": "169.2000",
"4. close": "170.0900",
"5. volume": "390677922"
},
"2022-04-01": {
"1. open": "172.1700",
"2. high": "179.6100",
"3. low": "171.9400",
"4. close": "174.3100",
"5. volume": "465395123"
},
"2022-03-25": {
"1. open": "163.5100",
"2. high": "175.2800",
"3. low": "163.0150",
"4. close": "174.7200",
"5. volume": "438484780"
},
"2022-03-18": {
"1. open": "151.4500",
"2. high": "164.4800",
"3. low": "150.1000",
"4. close": "163.9800",
"5. volume": "501667481"
},
"2022-03-11": {
"1. open": "163.3600",
"2. high": "165.0200",
"3. low": "154.5000",
"4. close": "154.7300",
"5. volume": "521334165"
},
"2022-03-04": {
"1. open": "163.0600",
"2. high": "168.9100",
"3. low": "161.9700",
"4. close": "163.1700",
"5. volume": "418753837"
},
"2022-02-25": {
"1. open": "164.9800",
"2. high": "166.6900",
"3. low": "152.0000",
"4. close": "164.8500",
"5. volume": "413588646"
},
"2022-02-18": {
"1. open": "167.3700",
"2. high": "173.3400",
"3. low": "166.1900",
"4. close": "167.3000",
"5. volume": "364011266"
},
"2022-02-11": {
"1. open": "172.8600",
"2. high": "176.6500",
"3. low": "168.0400",
"4. close": "168.6400",
"5. volume": "412902045"
},
"2022-02-04": {
"1. open": "170.1600",
"2. high": "176.2399",
"3. low": "169.5100",
"4. close": "172.3900",
"5. volume": "458553231"
},
"2022-01-28": {
"1. open": "160.0200",
"2. high": "170.3500",
"3. low": "154.7000",
"4. close": "170.3300",
"5. volume": "688670659"
},
"2022-01-21": {
"1. open": "171.5100",
"2. high": "172.5400",
"3. low": "162.3000",
"4. close": "162.4100",
"5. volume": "397684401"
},
"2022-01-14": {
"1. open": "169.0800",
"2. high": "177.1800",
"3. low": "168.1700",
"4. close": "173.0700",
"5. volume": "422454950"
},
"2022-01-07": {
"1. open": "177.8300",
"2. high": "182.9400",
"3. low": "171.0300",
"4. close": "172.1700",
"5. volume": "482162362"
},
"2021-12-31": {
"1. open": "177.0850",
"2. high": "181.3300",
"3. low": "177.0700",
"4. close": "177.5700",
"5. volume": "337847299"
},
"2021-12-23": {
"1. open": "168.2800",
"2. high": "176.8499",
"3. low": "167.4600",
"4. close": "176.2800",
"5. volume": "359176889"
},
"2021-12-17": {
"1. open": "181.1150",
"2. high": "182.1300",
"3. low": "169.6900",
"4. close": "171.1400",
"5. volume": "769789942"
},
"2021-12-10": {
"1. open": "164.2900",
"2. high": "179.6300",
"3. low": "164.2800",
"4. close": "179.4500",
"5. volume": "569227705"
},
"2021-12-03": {
"1. open": "159.3700",
"2. high": "170.3000",
"3. low": "157.8000",
"4. close": "161.8400",
"5. volume": "669981566"
},
"2021-11-26": {
"1. open": "161.6800",
"2. high": "165.7000",
"3. low": "156.3600",
"4. close": "156.8100",
"5. volume": "359933163"
},
"2021-11-19": {
"1. open": "150.3700",
"2. high": "161.0200",
"3. low": "149.3400",
"4. close": "160.5500",
"5. volume": "462419283"
},
"2021-11-12": {
"1. open": "151.4100",
"2. high": "151.5700",
"3. low": "147.4800",
"4. close": "149.9900",
"5. volume": "281026556"
},
"2021-11-05": {
"1. open": "148.9850",
"2. high": "152.4300",
"3. low": "147.8000",
"4. close": "151.2800",
"5. volume": "322688958"
},
"2021-10-29": {
"1. open": "148.6800",
"2. high": "153.1650",
"3. low": "146.4128",
"4. close": "149.8000",
"5. volume": "392739936"
},
"2021-10-22": {
"1. open": "143.4450",
"2. high": "150.1800",
"3. low": "143.1600",
"4. close": "148.6900",
"5. volume": "340691290"
},
"2021-10-15": {
"1. open": "142.2700",
"2. high": "144.8950",
"3. low": "139.2000",
"4. close": "144.8400",
"5. volume": "354098233"
},
"2021-10-08": {
"1. open": "141.7600",
"2. high": "144.2150",
"3. low": "138.2700",
"4. close": "142.9000",
"5. volume": "382910000"
},
"2021-10-01": {
"1. open": "145.4700",
"2. high": "145.9600",
"3. low": "139.1101",
"4. close": "142.6500",
"5. volume": "441421358"
},
"2021-09-24": {
"1. open": "143.8000",
"2. high": "147.4701",
"3. low": "141.2700",
"4. close": "146.9200",
"5. volume": "394033205"
},
"2021-09-17": {
"1. open": "150.6300",
"2. high": "151.4200",
"3. low": "145.7600",
"4. close": "146.0600",
"5. volume": "492884912"
},
"2021-09-10": {
"1. open": "154.9700",
"2. high": "157.2600",
"3. low": "148.7000",
"4. close": "148.9700",
"5. volume": "354897433"
},
"2021-09-03": {
"1. open": "149.0000",
"2. high": "154.9800",
"3. low": "148.6100",
"4. close": "154.3000",
"5. volume": "386760934"
},
"2021-08-27": {
"1. open": "148.3100",
"2. high": "150.8600",
"3. low": "146.8300",
"4. close": "148.6000",
"5. volume": "272129118"
},
"2021-08-20": {
"1. open": "148.5350",
"2. high": "151.6800",
"3. low": "144.5000",
"4. close": "148.1900",
"5. volume": "429624447"
},
...
curl --location --request GET 'https://zylalabs.com/api/33/stocks+api/99/weekly+timeseries' --header 'Authorization: Bearer YOUR_API_KEY'
With this endpoint you will be able to return monthly time series (last trading day of each month, monthly open, monthly high, monthly low, monthly close, monthly volume) of the global equity specified, covering 20+ years of historical data.
Example JSON output example:
{
"Meta Data": {
"1. Information": "Monthly Prices (open, high, low, close) and Volumes",
"2. Symbol": "AAPL",
"3. Last Refreshed": "2022-07-01",
"4. Time Zone": "US/Eastern"
},
"Monthly Time Series": {
"2022-07-01": {
"1. open": "136.0400",
"2. high": "139.0400",
"3. low": "135.6600",
"4. close": "138.9300",
"5. volume": "71051552"
},
"2022-06-30": {
"1. open": "149.9000",
"2. high": "151.7400",
"3. low": "129.0400",
"4. close": "136.7200",
"5. volume": "1749297959"
},
"2022-05-31": {
"1. open": "156.7100",
"2. high": "166.4800",
"3. low": "132.6100",
"4. close": "148.8400",
"5. volume": "2400305601"
},
"2022-04-29": {
"1. open": "174.0300",
"2. high": "178.4900",
"3. low": "155.3800",
"4. close": "157.6500",
"5. volume": "1683547838"
},
"2022-03-31": {
"1. open": "164.6950",
"2. high": "179.6100",
"3. low": "150.1000",
"4. close": "174.6100",
"5. volume": "2171827429"
}
Object | Description |
---|---|
symbol |
[Required] The equity of your choice. EX: AAPL, MSFT. |
datatype |
[Optional] By default, datatype=json. Strings "json" and "csv" are accepted with the following specifications: json returns the intraday time series in JSON format; csv returns the time series as a CSV (comma separated value) file. |
{
"Meta Data": {
"1. Information": "Monthly Prices (open, high, low, close) and Volumes",
"2. Symbol": "AAPL",
"3. Last Refreshed": "2022-07-01",
"4. Time Zone": "US/Eastern"
},
"Monthly Time Series": {
"2022-07-01": {
"1. open": "136.0400",
"2. high": "139.0400",
"3. low": "135.6600",
"4. close": "138.9300",
"5. volume": "71051552"
},
"2022-06-30": {
"1. open": "149.9000",
"2. high": "151.7400",
"3. low": "129.0400",
"4. close": "136.7200",
"5. volume": "1749297959"
},
"2022-05-31": {
"1. open": "156.7100",
"2. high": "166.4800",
"3. low": "132.6100",
"4. close": "148.8400",
"5. volume": "2400305601"
},
"2022-04-29": {
"1. open": "174.0300",
"2. high": "178.4900",
"3. low": "155.3800",
"4. close": "157.6500",
"5. volume": "1683547838"
},
"2022-03-31": {
"1. open": "164.6950",
"2. high": "179.6100",
"3. low": "150.1000",
"4. close": "174.6100",
"5. volume": "2171827429"
},
"2022-02-28": {
"1. open": "174.0100",
"2. high": "176.6500",
"3. low": "152.0000",
"4. close": "165.1200",
"5. volume": "1628570227"
},
"2022-01-31": {
"1. open": "177.8300",
"2. high": "182.9400",
"3. low": "154.7000",
"4. close": "174.7800",
"5. volume": "2106513962"
},
"2021-12-31": {
"1. open": "167.4800",
"2. high": "182.1300",
"3. low": "157.8000",
"4. close": "177.5700",
"5. volume": "2443227128"
},
"2021-11-30": {
"1. open": "148.9850",
"2. high": "165.7000",
"3. low": "147.4800",
"4. close": "165.3000",
"5. volume": "1688864233"
},
"2021-10-29": {
"1. open": "141.9000",
"2. high": "153.1650",
"3. low": "138.2700",
"4. close": "149.8000",
"5. volume": "1565079040"
},
"2021-09-30": {
"1. open": "152.8300",
"2. high": "157.2600",
"3. low": "141.2700",
"4. close": "141.5000",
"5. volume": "1797948421"
},
"2021-08-31": {
"1. open": "146.3600",
"2. high": "153.4900",
"3. low": "144.5000",
"4. close": "151.8300",
"5. volume": "1462773381"
},
"2021-07-30": {
"1. open": "136.6000",
"2. high": "150.0000",
"3. low": "135.7600",
"4. close": "145.8600",
"5. volume": "1916751489"
},
"2021-06-30": {
"1. open": "125.0800",
"2. high": "137.4100",
"3. low": "123.1300",
"4. close": "136.9600",
"5. volume": "1606114354"
},
"2021-05-28": {
"1. open": "132.0400",
"2. high": "134.0700",
"3. low": "122.2500",
"4. close": "124.6100",
"5. volume": "1711935110"
},
"2021-04-30": {
"1. open": "123.6600",
"2. high": "137.0700",
"3. low": "122.4900",
"4. close": "131.4600",
"5. volume": "1889956694"
},
"2021-03-31": {
"1. open": "123.7500",
"2. high": "128.7200",
"3. low": "116.2100",
"4. close": "122.1500",
"5. volume": "2650845211"
},
"2021-02-26": {
"1. open": "133.7500",
"2. high": "137.8770",
"3. low": "118.3900",
"4. close": "121.2600",
"5. volume": "1825486961"
},
"2021-01-29": {
"1. open": "133.5200",
"2. high": "145.0900",
"3. low": "126.3820",
"4. close": "131.9600",
"5. volume": "2239366098"
},
"2020-12-31": {
"1. open": "121.0100",
"2. high": "138.7890",
"3. low": "120.0100",
"4. close": "132.6900",
"5. volume": "2319687808"
},
"2020-11-30": {
"1. open": "109.1100",
"2. high": "121.9900",
"3. low": "107.3200",
"4. close": "119.0500",
"5. volume": "2122724412"
},
"2020-10-30": {
"1. open": "117.6400",
"2. high": "125.3900",
"3. low": "107.7200",
"4. close": "108.8600",
"5. volume": "2895317580"
},
"2020-09-30": {
"1. open": "132.7600",
"2. high": "137.9800",
"3. low": "103.1000",
"4. close": "115.8100",
"5. volume": "3886793083"
},
"2020-08-31": {
"1. open": "432.8000",
"2. high": "515.1400",
"3. low": "126.0000",
"4. close": "129.0400",
"5. volume": "1184207050"
},
"2020-07-31": {
"1. open": "365.1200",
"2. high": "425.6600",
"3. low": "356.5800",
"4. close": "425.0400",
"5. volume": "755162226"
},
"2020-06-30": {
"1. open": "317.7500",
"2. high": "372.3800",
"3. low": "317.2100",
"4. close": "364.8000",
"5. volume": "810900890"
},
"2020-05-29": {
"1. open": "286.2500",
"2. high": "324.2400",
"3. low": "285.8500",
"4. close": "317.9400",
"5. volume": "701660022"
},
"2020-04-30": {
"1. open": "246.5000",
"2. high": "294.5300",
"3. low": "236.9000",
"4. close": "293.8000",
"5. volume": "816530808"
},
"2020-03-31": {
"1. open": "282.2800",
"2. high": "304.0000",
"3. low": "212.6100",
"4. close": "254.2900",
"5. volume": "1570331732"
},
"2020-02-28": {
"1. open": "304.3000",
"2. high": "327.2200",
"3. low": "256.3700",
"4. close": "273.3600",
"5. volume": "755223231"
},
"2020-01-31": {
"1. open": "296.2400",
"2. high": "327.8500",
"3. low": "292.7500",
"4. close": "309.5100",
"5. volume": "734044103"
},
"2019-12-31": {
"1. open": "267.2700",
"2. high": "293.9700",
"3. low": "256.2900",
"4. close": "293.6500",
"5. volume": "598871365"
},
"2019-11-29": {
"1. open": "249.5400",
"2. high": "268.0000",
"3. low": "249.1600",
"4. close": "267.2500",
"5. volume": "448922253"
},
"2019-10-31": {
"1. open": "225.0700",
"2. high": "249.7500",
"3. low": "215.1300",
"4. close": "248.7600",
"5. volume": "621478768"
},
"2019-09-30": {
"1. open": "206.4300",
"2. high": "226.4200",
"3. low": "204.2200",
"4. close": "223.9700",
"5. volume": "547408488"
},
"2019-08-30": {
"1. open": "213.9000",
"2. high": "218.0300",
"3. low": "192.5800",
"4. close": "208.7400",
"5. volume": "683515746"
},
"2019-07-31": {
"1. open": "203.1700",
"2. high": "221.3700",
"3. low": "198.4100",
"4. close": "213.0400",
"5. volume": "473957094"
},
"2019-06-28": {
"1. open": "175.6000",
"2. high": "201.5700",
"3. low": "170.2700",
"4. close": "197.9200",
"5. volume": "515218768"
},
"2019-05-31": {
"1. open": "209.8800",
"2. high": "215.3100",
"3. low": "174.9900",
"4. close": "175.0700",
"5. volume": "739456573"
},
"2019-04-30": {
"1. open": "191.6400",
"2. high": "208.4800",
"3. low": "188.3800",
"4. close": "200.6700",
"5. volume": "506117812"
},
"2019-03-29": {
"1. open": "174.2800",
"2. high": "197.6900",
"3. low": "169.5000",
"4. close": "189.9500",
"5. volume": "650981384"
},
"2019-02-28": {
"1. open": "166.9600",
"2. high": "175.8700",
"3. low": "165.9300",
"4. close": "173.1500",
"5. volume": "472540723"
},
"2019-01-31": {
"1. open": "154.8900",
"2. high": "169.0000",
"3. low": "142.0000",
"4. close": "166.4400",
"5. volume": "828099179"
},
"2018-12-31": {
"1. open": "184.4600",
"2. high": "184.9400",
"3. low": "146.5900",
"4. close": "157.7400",
"5. volume": "898917007"
},
"2018-11-30": {
"1. open": "219.0500",
"2. high": "222.3600",
"3. low": "170.2600",
"4. close": "178.5800",
"5. volume": "961321947"
},
"2018-10-31": {
"1. open": "227.9500",
"2. high": "233.4700",
"3. low": "206.0900",
"4. close": "218.8600",
"5. volume": "...
curl --location --request GET 'https://zylalabs.com/api/33/stocks+api/100/monthly+timeseries' --header 'Authorization: Bearer YOUR_API_KEY'
If you are looking for some specific symbols or companies, the Search Endpoint will help you out. It will return the best-matching symbols and market information based on the keyword you choose. The search results also contain match scores that provide you with the full flexibility to develop your own search and filtering logic.
What was the symbol for Apple stocks? Amazon? Find out with this endpoint.
Example JSON output response:
{
"bestMatches": [
{
"1. symbol": "AMZN",
"2. name": "Amazon.com Inc",
"3. type": "Equity",
"4. region": "United States",
"5. marketOpen": "09:30",
"6. marketClose": "16:00",
"7. timezone": "UTC-04",
"8. currency": "USD",
"9. matchScore": "0.8000"
},
{
"1. symbol": "AMZ.DEX",
"2. name": "Amazon.com Inc",
"3. type": "Equity",
"4. region": "XETRA",
"5. marketOpen": "08:00",
"6. marketClose": "20:00",
"7. timezone": "UTC+02",
"8. currency": "EUR",
"9. matchScore": "0.6000"
},
{
"1. symbol": "AMZ.FRK",
"2. name": "Amazon.com Inc",
"3. type": "Equity",
"4. region": "Frankfurt",
"5. marketOpen": "08:00",
"6. marketClose": "20:00",
"7. timezone": "UTC+02",
"8. currency": "EUR",
"9. matchScore": "0.6000"
}
Object | Description |
---|---|
keywords |
[Required] A text string. You can use the name of the company you want to check stocks from. Ex: amazon. |
datatype |
[Optional] Strings "json" and "csv" are accepted with the following specifications: json returns the search results in JSON format; csv returns the search results as a CSV (comma separated value) file. |
{
"bestMatches": [
{
"1. symbol": "APLE",
"2. name": "Apple Hospitality REIT Inc",
"3. type": "Equity",
"4. region": "United States",
"5. marketOpen": "09:30",
"6. marketClose": "16:00",
"7. timezone": "UTC-04",
"8. currency": "USD",
"9. matchScore": "0.8889"
},
{
"1. symbol": "AAPL",
"2. name": "Apple Inc",
"3. type": "Equity",
"4. region": "United States",
"5. marketOpen": "09:30",
"6. marketClose": "16:00",
"7. timezone": "UTC-04",
"8. currency": "USD",
"9. matchScore": "0.7143"
},
{
"1. symbol": "AAPL34.SAO",
"2. name": "Apple Inc",
"3. type": "Equity",
"4. region": "Brazil/Sao Paolo",
"5. marketOpen": "10:00",
"6. marketClose": "17:30",
"7. timezone": "UTC-03",
"8. currency": "BRL",
"9. matchScore": "0.7143"
},
{
"1. symbol": "APC.DEX",
"2. name": "Apple Inc",
"3. type": "Equity",
"4. region": "XETRA",
"5. marketOpen": "08:00",
"6. marketClose": "20:00",
"7. timezone": "UTC+02",
"8. currency": "EUR",
"9. matchScore": "0.7143"
},
{
"1. symbol": "APC.FRK",
"2. name": "Apple Inc",
"3. type": "Equity",
"4. region": "Frankfurt",
"5. marketOpen": "08:00",
"6. marketClose": "20:00",
"7. timezone": "UTC+02",
"8. currency": "EUR",
"9. matchScore": "0.7143"
},
{
"1. symbol": "AGPL",
"2. name": "Apple Green Holding Inc",
"3. type": "Equity",
"4. region": "United States",
"5. marketOpen": "09:30",
"6. marketClose": "16:00",
"7. timezone": "UTC-04",
"8. currency": "USD",
"9. matchScore": "0.6667"
},
{
"1. symbol": "0R2V.LON",
"2. name": "Apple Inc.",
"3. type": "Equity",
"4. region": "United Kingdom",
"5. marketOpen": "08:00",
"6. marketClose": "16:30",
"7. timezone": "UTC+01",
"8. currency": "USD",
"9. matchScore": "0.6667"
},
{
"1. symbol": "500014.BSE",
"2. name": "Apple Finance Limited",
"3. type": "Equity",
"4. region": "India/Bombay",
"5. marketOpen": "09:15",
"6. marketClose": "15:30",
"7. timezone": "UTC+5.5",
"8. currency": "INR",
"9. matchScore": "0.3846"
},
{
"1. symbol": "48T.FRK",
"2. name": "APPLE HOSPITALITY REIT",
"3. type": "Equity",
"4. region": "Frankfurt",
"5. marketOpen": "08:00",
"6. marketClose": "20:00",
"7. timezone": "UTC+02",
"8. currency": "EUR",
"9. matchScore": "0.3704"
},
{
"1. symbol": "603020.SHH",
"2. name": "Apple Flavor Fragrance Group Company Ltd",
"3. type": "Equity",
"4. region": "Shanghai",
"5. marketOpen": "09:30",
"6. marketClose": "15:00",
"7. timezone": "UTC+08",
"8. currency": "CNY",
"9. matchScore": "0.2222"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/33/stocks+api/101/search+symbol+endpoint' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Stocks API REST API, simply include your bearer token in the Authorization header.
Header | Description |
---|---|
Authorization
|
[Required] Should be Bearer access_key . See "Your API Access Key" above when you are subscribed. |
No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.
Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.
Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the worldβs most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]
Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further
Prices are based on a recurring monthly subscription depending on the plan selected β plus overage fees applied when a developer exceeds a planβs quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.
Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.
You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]
Service Level:
100%
Response Time:
2,173ms
Service Level:
100%
Response Time:
1,144ms
Service Level:
100%
Response Time:
625ms
Service Level:
100%
Response Time:
1,039ms
Service Level:
100%
Response Time:
1,165ms