Stocks API

With this API you will be able to check the latest rates for the stocks that you want. Intraday, daily, weekly, this is your API!

About the API:

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.

What your API receives and what your API provides (input/output)?

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".

What are the most common uses cases of this API?

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. 

Are there any limitations with your plans?

Besides API call limitations per month:

  •  
  • Basic Plan: 75 requests per minute. 
  • Pro Plan: 300 requests per minute. 
  • Pro+ Plan: 1200 requests per minute.

API Documentation

Endpoints


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"
}

 



                                                                            
GET https://zylalabs.com/api/33/stocks+api/97/intraday+information
                                                                            
                                                                        

Intraday Information - Endpoint Features

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.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
    "Error Message": "Invalid API call. Please retry or visit the documentation (https://www.alphavantage.co/documentation/) for TIME_SERIES_INTRADAY."
}
                                                                                                                                                                                                                    
                                                                                                    

Intraday Information - CODE SNIPPETS


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"
    }


                                                                            
GET https://zylalabs.com/api/33/stocks+api/98/daily+timeseries
                                                                            
                                                                        

Daily Timeseries - Endpoint Features

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.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
    "Meta Data": {
        "1. Information": "Daily Prices (open, high, low, close) and Volumes",
        "2. Symbol": "0MPH.LON",
        "3. Last Refreshed": "2023-03-17",
        "4. Output Size": "Compact",
        "5. Time Zone": "US/Eastern"
    },
    "Time Series (Daily)": {
        "2023-03-17": {
            "1. open": "21.4550",
            "2. high": "21.4550",
            "3. low": "21.4550",
            "4. close": "21.4550",
            "5. volume": "5247591"
        },
        "2023-03-16": {
            "1. open": "21.8400",
            "2. high": "21.9450",
            "3. low": "21.6470",
            "4. close": "21.6700",
            "5. volume": "1578099"
        },
        "2023-03-15": {
            "1. open": "21.7650",
            "2. high": "21.9350",
            "3. low": "21.4450",
            "4. close": "21.6800",
            "5. volume": "9358345"
        },
        "2023-03-14": {
            "1. open": "21.4700",
            "2. high": "21.6600",
            "3. low": "21.4200",
            "4. close": "21.5750",
            "5. volume": "16651749"
        },
        "2023-03-13": {
            "1. open": "21.5650",
            "2. high": "21.5850",
            "3. low": "21.1600",
            "4. close": "21.3350",
            "5. volume": "2760648"
        },
        "2023-03-10": {
            "1. open": "21.4200",
            "2. high": "21.5900",
            "3. low": "21.3600",
            "4. close": "21.4400",
            "5. volume": "1593093"
        },
        "2023-03-09": {
            "1. open": "21.5250",
            "2. high": "21.5950",
            "3. low": "21.4800",
            "4. close": "21.5200",
            "5. volume": "389878"
        },
        "2023-03-08": {
            "1. open": "21.3850",
            "2. high": "21.5750",
            "3. low": "21.3600",
            "4. close": "21.5200",
            "5. volume": "722851"
        },
        "2023-03-07": {
            "1. open": "21.4050",
            "2. high": "21.5300",
            "3. low": "21.3700",
            "4. close": "21.4091",
            "5. volume": "1185788"
        },
        "2023-03-06": {
            "1. open": "21.2600",
            "2. high": "21.5350",
            "3. low": "21.2550",
            "4. close": "21.4557",
            "5. volume": "696873"
        },
        "2023-03-03": {
            "1. open": "21.2550",
            "2. high": "21.3800",
            "3. low": "21.0950",
            "4. close": "21.1900",
            "5. volume": "754836"
        },
        "2023-03-02": {
            "1. open": "21.0700",
            "2. high": "21.2800",
            "3. low": "20.9900",
            "4. close": "21.2800",
            "5. volume": "726605"
        },
        "2023-03-01": {
            "1. open": "21.3600",
            "2. high": "21.4050",
            "3. low": "21.0750",
            "4. close": "21.1000",
            "5. volume": "2644719"
        },
        "2023-02-28": {
            "1. open": "21.3950",
            "2. high": "21.5750",
            "3. low": "21.2333",
            "4. close": "21.3606",
            "5. volume": "2411986"
        },
        "2023-02-27": {
            "1. open": "20.9450",
            "2. high": "21.3300",
            "3. low": "20.9150",
            "4. close": "21.2500",
            "5. volume": "2187468"
        },
        "2023-02-24": {
            "1. open": "21.2200",
            "2. high": "21.3200",
            "3. low": "20.9100",
            "4. close": "21.0250",
            "5. volume": "2176611"
        },
        "2023-02-23": {
            "1. open": "21.1000",
            "2. high": "21.4000",
            "3. low": "21.0600",
            "4. close": "21.1450",
            "5. volume": "5764422"
        },
        "2023-02-22": {
            "1. open": "20.8900",
            "2. high": "21.1650",
            "3. low": "20.8550",
            "4. close": "21.1100",
            "5. volume": "1695773"
        },
        "2023-02-21": {
            "1. open": "20.7850",
            "2. high": "20.9650",
            "3. low": "20.7500",
            "4. close": "20.9047",
            "5. volume": "1173748"
        },
        "2023-02-20": {
            "1. open": "20.8300",
            "2. high": "20.8950",
            "3. low": "20.7550",
            "4. close": "20.8115",
            "5. volume": "419221"
        },
        "2023-02-17": {
            "1. open": "20.4600",
            "2. high": "20.7800",
            "3. low": "20.4000",
            "4. close": "20.7350",
            "5. volume": "3627491"
        },
        "2023-02-16": {
            "1. open": "20.6950",
            "2. high": "20.7100",
            "3. low": "20.4250",
            "4. close": "20.5450",
            "5. volume": "1065748"
        },
        "2023-02-15": {
            "1. open": "20.6050",
            "2. high": "20.7850",
            "3. low": "20.4350",
            "4. close": "20.5100",
            "5. volume": "1286235"
        },
        "2023-02-14": {
            "1. open": "20.4900",
            "2. high": "20.6700",
            "3. low": "20.4350",
            "4. close": "20.5721",
            "5. volume": "5037838"
        },
        "2023-02-13": {
            "1. open": "20.1650",
            "2. high": "20.3550",
            "3. low": "20.1500",
            "4. close": "20.2459",
            "5. volume": "1462959"
        },
        "2023-02-10": {
            "1. open": "20.1800",
            "2. high": "20.2500",
            "3. low": "20.0650",
            "4. close": "20.1850",
            "5. volume": "2677039"
        },
        "2023-02-09": {
            "1. open": "20.2450",
            "2. high": "20.4000",
            "3. low": "20.1450",
            "4. close": "20.1550",
            "5. volume": "5970145"
        },
        "2023-02-08": {
            "1. open": "20.1050",
            "2. high": "20.2450",
            "3. low": "20.0850",
            "4. close": "20.1800",
            "5. volume": "631716"
        },
        "2023-02-07": {
            "1. open": "20.0850",
            "2. high": "20.1800",
            "3. low": "19.9060",
            "4. close": "20.0428",
            "5. volume": "1138633"
        },
        "2023-02-06": {
            "1. open": "20.1850",
            "2. high": "20.2800",
            "3. low": "20.0200",
            "4. close": "20.1100",
            "5. volume": "822671"
        },
        "2023-02-03": {
            "1. open": "20.4550",
            "2. high": "20.4700",
            "3. low": "20.1400",
            "4. close": "20.2600",
            "5. volume": "6803155"
        },
        "2023-02-02": {
            "1. open": "20.4650",
            "2. high": "20.6600",
            "3. low": "20.4500",
            "4. close": "20.5200",
            "5. volume": "1729817"
        },
        "2023-02-01": {
            "1. open": "20.3900",
            "2. high": "20.4650",
            "3. low": "20.2350",
            "4. close": "20.3650",
            "5. volume": "690957"
        },
        "2023-01-31": {
            "1. open": "20.3600",
            "2. high": "20.4900",
            "3. low": "20.2650",
            "4. close": "20.3769",
            "5. volume": "704404"
        },
        "2023-01-30": {
            "1. open": "20.3750",
            "2. high": "20.4300",
            "3. low": "20.1550",
            "4. close": "20.3509",
            "5. volume": "1364216"
        },
        "2023-01-27": {
            "1. open": "20.3600",
            "2. high": "20.3650",
            "3. low": "20.2000",
            "4. close": "20.3450",
            "5. volume": "1118743"
        },
        "2023-01-26": {
            "1. open": "20.3650",
            "2. high": "20.4300",
            "3. low": "20.2400",
            "4. close": "20.3250",
            "5. volume": "2746983"
        },
        "2023-01-25": {
            "1. open": "20.1800",
            "2. high": "20.3200",
            "3. low": "19.9520",
            "4. close": "20.2150",
            "5. volume": "695142"
        },
        "2023-01-24": {
            "1. open": "20.2800",
            "2. high": "20.3200",
            "3. low": "20.0100",
            "4. close": "20.1250",
            "5. volume": "1790255"
        },
        "2023-01-23": {
            "1. open": "20.2700",
            "2. high": "20.3900",
            "3. low": "20.2150",
            "4. close": "20.2901",
            "5. volume": "2489999"
        },
        "2023-01-20": {
            "1. open": "20.0200",
            "2. high": "20.1750",
            "3. low": "19.8000",
            "4. close": "20.0950",
            "5. volume": "1418149"
        },
        "2023-01-19": {
            "1. open": "20.1600",
            "2. high": "20.2500",
            "3. low": "20.0600",
            "4. close": "20.1650",
            "5. volume": "1606733"
        },
        "2023-01-18": {
            "1. open": "20.5600",
            "2. high": "20.5850",
            "3. low": "20.2250",
            "4. close": "20.3150",
            "5. volume": "12655912"
        },
        "2023-01-17": {
            "1. open": "20.5500",
            "2. high": "20.6550",
            "3. low": "20.4550",
            "4. close": "20.5464",
            "5. volume": "2139377"
        },
        "2023-01-16": {
            "1. open": "20.3750",
            "2. high": "20.6000",
            "3. low": "20.3550",
            "4. close": "20.5206",
            "5. volume": "1376259"
        },
        "2023-01-13": {
            "1. open": "20.2950",
            "2. high": "20.4700",
            "3. low": "20.2950",
            "4. close": "20.3450",
            "5. volume": "2481454"
        },
        "2023-01-12": {
            "1. open": "20.1750",
            "2. high": "20.4400",
            "3. low": "20.1100",
            "4. close": "20.3450",
            "5. volume": "1607275"
        },
        "2023-01-11": {
            "1. o...
                                                                                                                                                                                                                    
                                                                                                    

Daily Timeseries - CODE SNIPPETS


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"
    }


                                                                            
GET https://zylalabs.com/api/33/stocks+api/99/weekly+timeseries
                                                                            
                                                                        

Weekly TimeSeries - Endpoint Features

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.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
    "Meta Data": {
        "1. Information": "Weekly Prices (open, high, low, close) and Volumes",
        "2. Symbol": "MSFT",
        "3. Last Refreshed": "2023-09-12",
        "4. Time Zone": "US/Eastern"
    },
    "Weekly Time Series": {
        "2023-09-12": {
            "1. open": "337.2400",
            "2. high": "338.4200",
            "3. low": "331.4800",
            "4. close": "331.7700",
            "5. volume": "33744835"
        },
        "2023-09-08": {
            "1. open": "329.0000",
            "2. high": "336.1600",
            "3. low": "328.6600",
            "4. close": "334.2700",
            "5. volume": "74018792"
        },
        "2023-09-01": {
            "1. open": "325.6600",
            "2. high": "331.9900",
            "3. low": "321.7220",
            "4. close": "328.6600",
            "5. volume": "90668160"
        },
        "2023-08-25": {
            "1. open": "317.9300",
            "2. high": "332.9800",
            "3. low": "317.0400",
            "4. close": "322.9800",
            "5. volume": "106273900"
        },
        "2023-08-18": {
            "1. open": "321.3900",
            "2. high": "325.0900",
            "3. low": "311.5508",
            "4. close": "316.4800",
            "5. volume": "102513461"
        },
        "2023-08-11": {
            "1. open": "328.3700",
            "2. high": "331.1100",
            "3. low": "319.2100",
            "4. close": "321.0100",
            "5. volume": "106911584"
        },
        "2023-08-04": {
            "1. open": "336.9200",
            "2. high": "338.5400",
            "3. low": "325.9500",
            "4. close": "327.7800",
            "5. volume": "113690368"
        },
        "2023-07-28": {
            "1. open": "345.8500",
            "2. high": "351.8900",
            "3. low": "329.0500",
            "4. close": "338.3700",
            "5. volume": "194860778"
        },
        "2023-07-21": {
            "1. open": "345.6780",
            "2. high": "366.7800",
            "3. low": "339.8300",
            "4. close": "343.7700",
            "5. volume": "228153310"
        },
        "2023-07-14": {
            "1. open": "334.6000",
            "2. high": "351.4300",
            "3. low": "327.0000",
            "4. close": "345.2400",
            "5. volume": "138404817"
        },
        "2023-07-07": {
            "1. open": "339.1900",
            "2. high": "342.9900",
            "3. low": "334.7276",
            "4. close": "337.2200",
            "5. volume": "80091428"
        },
        "2023-06-30": {
            "1. open": "333.7200",
            "2. high": "342.7300",
            "3. low": "328.4900",
            "4. close": "340.5400",
            "5. volume": "109964013"
        },
        "2023-06-23": {
            "1. open": "339.3100",
            "2. high": "342.0800",
            "3. low": "332.0700",
            "4. close": "335.0200",
            "5. volume": "98196871"
        },
        "2023-06-16": {
            "1. open": "328.5800",
            "2. high": "351.4700",
            "3. low": "325.1600",
            "4. close": "342.3300",
            "5. volume": "158712883"
        },
        "2023-06-09": {
            "1. open": "335.2200",
            "2. high": "338.5599",
            "3. low": "322.5000",
            "4. close": "326.7900",
            "5. volume": "128227063"
        },
        "2023-06-02": {
            "1. open": "335.2300",
            "2. high": "337.5000",
            "3. low": "324.7200",
            "4. close": "335.4000",
            "5. volume": "127697548"
        },
        "2023-05-26": {
            "1. open": "318.6000",
            "2. high": "333.4000",
            "3. low": "312.6100",
            "4. close": "332.8900",
            "5. volume": "158230100"
        },
        "2023-05-19": {
            "1. open": "309.0950",
            "2. high": "319.0400",
            "3. low": "307.5900",
            "4. close": "318.3400",
            "5. volume": "122204598"
        },
        "2023-05-12": {
            "1. open": "310.1300",
            "2. high": "313.0000",
            "3. low": "306.0900",
            "4. close": "308.9700",
            "5. volume": "124192361"
        },
        "2023-05-05": {
            "1. open": "306.9700",
            "2. high": "311.9700",
            "3. low": "303.4000",
            "4. close": "310.6500",
            "5. volume": "120776259"
        },
        "2023-04-28": {
            "1. open": "282.0900",
            "2. high": "308.9300",
            "3. low": "275.3700",
            "4. close": "307.2600",
            "5. volume": "219796618"
        },
        "2023-04-21": {
            "1. open": "289.9300",
            "2. high": "291.7550",
            "3. low": "283.0608",
            "4. close": "285.7600",
            "5. volume": "106024017"
        },
        "2023-04-14": {
            "1. open": "289.2080",
            "2. high": "289.9000",
            "3. low": "281.6400",
            "4. close": "286.1400",
            "5. volume": "122993610"
        },
        "2023-04-06": {
            "1. open": "286.5200",
            "2. high": "292.0800",
            "3. low": "282.0300",
            "4. close": "291.6000",
            "5. volume": "102542745"
        },
        "2023-03-31": {
            "1. open": "280.5000",
            "2. high": "289.2700",
            "3. low": "272.0451",
            "4. close": "288.3000",
            "5. volume": "131625277"
        },
        "2023-03-24": {
            "1. open": "276.9800",
            "2. high": "281.0600",
            "3. low": "269.5191",
            "4. close": "280.5700",
            "5. volume": "177709524"
        },
        "2023-03-17": {
            "1. open": "247.4000",
            "2. high": "283.3300",
            "3. low": "245.7300",
            "4. close": "279.4300",
            "5. volume": "237347572"
        },
        "2023-03-10": {
            "1. open": "256.4250",
            "2. high": "260.1200",
            "3. low": "247.6000",
            "4. close": "248.5900",
            "5. volume": "117910562"
        },
        "2023-03-03": {
            "1. open": "252.4600",
            "2. high": "255.6200",
            "3. low": "245.6100",
            "4. close": "255.2900",
            "5. volume": "126840033"
        },
        "2023-02-24": {
            "1. open": "254.4800",
            "2. high": "256.8400",
            "3. low": "248.1000",
            "4. close": "249.2200",
            "5. volume": "105098500"
        },
        "2023-02-17": {
            "1. open": "267.6400",
            "2. high": "274.9700",
            "3. low": "256.0000",
            "4. close": "258.0600",
            "5. volume": "170244679"
        },
        "2023-02-10": {
            "1. open": "257.4400",
            "2. high": "276.7600",
            "3. low": "254.7800",
            "4. close": "263.1000",
            "5. volume": "196239002"
        },
        "2023-02-03": {
            "1. open": "244.5100",
            "2. high": "264.6900",
            "3. low": "242.2000",
            "4. close": "258.3500",
            "5. volume": "152686042"
        },
        "2023-01-27": {
            "1. open": "241.1000",
            "2. high": "249.8300",
            "3. low": "230.9000",
            "4. close": "248.1600",
            "5. volume": "198648466"
        },
        "2023-01-20": {
            "1. open": "237.9700",
            "2. high": "242.3800",
            "3. low": "230.6800",
            "4. close": "240.2200",
            "5. volume": "123872791"
        },
        "2023-01-13": {
            "1. open": "226.4500",
            "2. high": "239.9000",
            "3. low": "226.4100",
            "4. close": "239.2300",
            "5. volume": "131675747"
        },
        "2023-01-06": {
            "1. open": "243.0800",
            "2. high": "245.7500",
            "3. low": "219.3500",
            "4. close": "224.9300",
            "5. volume": "159562627"
        },
        "2022-12-30": {
            "1. open": "238.7000",
            "2. high": "241.9200",
            "3. low": "234.1700",
            "4. close": "239.8200",
            "5. volume": "75854917"
        },
        "2022-12-23": {
            "1. open": "244.8600",
            "2. high": "245.6150",
            "3. low": "233.8700",
            "4. close": "238.7300",
            "5. volume": "128396491"
        },
        "2022-12-16": {
            "1. open": "247.4450",
            "2. high": "263.9150",
            "3. low": "243.5100",
            "4. close": "244.6900",
            "5. volume": "229942973"
        },
        "2022-12-09": {
            "1. open": "252.0100",
            "2. high": "253.8190",
            "3. low": "242.2050",
            "4. close": "245.4200",
            "5. volume": "109602043"
        },
        "2022-12-02": {
            "1. open": "246.0800",
            "2. high": "256.1200",
            "3. low": "238.2100",
            "4. close": "255.0200",
            "5. volume": "137930867"
        },
        "2022-11-25": {
            "1. open": "241.4300",
            "2. high": "248.7000",
            "3. low": "240.7100",
            "4. close": "247.4900",
            "5. volume": "74769633"
        },
        "2022-11-18": {
            "1. open": "241.9850",
            "2. high": "247.0000",
            "3. low": "237.6300",
            "4. close": "241.2200",
            "5. volume": "137343796"
        },
        "2022-11-11": {
            "1. open": "221.9900",
            "2. high": "247.9900",
            "3. low": "221.2800",
            "4. close": "247.1100",
            "5. volume": "170431704"
        },
        "2022-11-04": {
            "1. open": "233.7600",
            "2. high": "235.7400",
            "3. low": "213.4310",
            "4. close": "221.3900",
            "5. volume": "170779529"
        },
        "2...
                                                                                                                                                                                                                    
                                                                                                    

Weekly TimeSeries - CODE SNIPPETS


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"
    }


                                                                            
GET https://zylalabs.com/api/33/stocks+api/100/monthly+timeseries
                                                                            
                                                                        

Monthly TimeSeries - Endpoint Features

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.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
    "Error Message": "Invalid API call. Please retry or visit the documentation (https://www.alphavantage.co/documentation/) for TIME_SERIES_MONTHLY."
}
                                                                                                                                                                                                                    
                                                                                                    

Monthly TimeSeries - CODE SNIPPETS


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"
    }


                                                                            
GET https://zylalabs.com/api/33/stocks+api/101/search+symbol+endpoint
                                                                            
                                                                        

Search Symbol Endpoint - Endpoint Features

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.
Test Endpoint

API EXAMPLE 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"
        },
        {
            "1. symbol": "AMZO34.SAO",
            "2. name": "Amazon.com 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.6000"
        },
        {
            "1. symbol": "0R1O.LON",
            "2. name": "Amazon.com 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.5714"
        },
        {
            "1. symbol": "AMZ1.FRK",
            "2. name": "AMAZON.COM INC.CDR DL-01",
            "3. type": "Equity",
            "4. region": "Frankfurt",
            "5. marketOpen": "08:00",
            "6. marketClose": "20:00",
            "7. timezone": "UTC+02",
            "8. currency": "EUR",
            "9. matchScore": "0.5000"
        },
        {
            "1. symbol": "AZFL",
            "2. name": "Amazonas Florestal Ltd",
            "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.4286"
        }
    ]
}
                                                                                                                                                                                                                    
                                                                                                    

Search Symbol Endpoint - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/33/stocks+api/101/search+symbol+endpoint' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

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.
Headers
Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

πŸš€ Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). 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 paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

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.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, look at the β€˜X-Zyla-API-Calls-Monthly-Remaining’ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ header. For instance, if your plan includes 1000 requests per month, this header will display 1000.

The β€˜X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.

 Service Level
100%
 Response Time
344ms

Category:


Related APIs