Yahoo Finance API

Yahoo Finance API

This API helps you to query stocks, quotes, movers and other financial information to help you make informed financial decisions.

API description

Unlock the power of financial data with the Yahoo Finance API, a cutting-edge tool designed to empower developers, analysts, and businesses with seamless access to a wealth of market insights. Built on Yahoo's robust infrastructure and leveraging the extensive resources of the Yahoo Finance platform, this API offers an unparalleled opportunity to harness real-time and historical financial data effortlessly.

At its core, the Yahoo Finance API is engineered to streamline the process of retrieving crucial financial information, enabling users to access a vast array of data points with just a few simple requests. Whether you're seeking stock quotes, market trends, historical prices, company fundamentals, or portfolio analytics, our API provides a comprehensive solution tailored to meet your specific needs.

One of the key strengths of the Yahoo Finance API lies in its versatility and scalability. From individual investors tracking their portfolios to financial institutions conducting in-depth market analysis, our API caters to a diverse range of users across various industries. Whether you're developing a trading algorithm, building a financial application, or conducting academic research, our API delivers the data you need in a format that's easy to integrate and analyze.

Key features of the Yahoo Finance API include:

  1. Real-Time Data: Stay up-to-date with the latest market movements and stock prices with real-time data feeds that provide instant access to live market information.

  2. Historical Data: Dive deep into historical market trends and performance metrics with comprehensive historical data spanning years of financial history.

  3. Company Insights: Gain valuable insights into individual companies with access to detailed company profiles, financial statements, and key performance indicators.

  4. Market Trends: Identify emerging trends and market opportunities with access to market indices, sector performance data, and global economic indicators.

  5. Portfolio Management: Track and analyze your investment portfolio with advanced portfolio management tools, including performance tracking, risk analysis, and asset allocation.

  6. Developer-Friendly: Built with developers in mind, our API offers easy-to-use endpoints, extensive documentation, and robust support to streamline the integration process.

  7. Customizable Solutions: Tailor the API to suit your specific requirements with customizable parameters, flexible data formats, and advanced filtering options.

  8. Reliable Infrastructure: Rely on Yahoo's trusted infrastructure and industry-leading security measures to ensure the confidentiality, integrity, and availability of your data.

With the Yahoo Finance API, the possibilities are endless. Whether you're a seasoned developer, financial analyst, or entrepreneur, our API provides the tools you need to unlock the full potential of financial data and drive informed decision-making in today's dynamic markets. Explore the possibilities and unleash the power of financial insights with the Yahoo Finance API.

API Documentation

Endpoints


This endpoint /yhprice is designed to fetch pricing information for a given stock ticker symbol from Yahoo Finance. It's a GET request that expects the ticker symbol as a query parameter (ticker). The endpoint first checks if the ticker symbol is provided, and if not, it returns a 400 error indicating that the ticker symbol is required.

If the ticker symbol is provided, it proceeds to fetch data from Yahoo Finance using the yahooFinance.quote function, which likely retrieves the latest market data for the given symbol. It then constructs a response object containing the symbol, price, currency, symbol name, and market capitalization (if available) extracted from the fetched data.

If the data retrieval is successful, it returns a JSON response with the fetched information. However, if there's any error during the process, it catches the error, logs it, and returns a 500 error with a message indicating the failure to fetch data from Yahoo Finance.

Overall, this endpoint provides a simple and straightforward way to retrieve real-time pricing information for a given stock symbol from Yahoo Finance.



                                                                            
GET https://zylalabs.com/api/3833/yahoo+finance+api/4469/stock+price
                                                                            
                                                                        

Stock Price - Endpoint Features
Object Description
ticker [Required] the stock ticker/ symbol
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
  "symbol": "AAPL",
  "price": 178.59,
  "currency": "USD",
  "symbolName": "Apple Inc.",
  "marketCap": 298041489100
}
                                                                                                                                                                                                                    
                                                                                                    

Stock Price - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/3833/yahoo+finance+api/4469/stock+price?ticker=TSLA' --header 'Authorization: Bearer YOUR_API_KEY' 

    

This endpoint /search is designed to perform a search query, likely against a database or external API, to retrieve information based on a given query string. It's a GET request that expects parameters such as query, quotesCount, and limit to be provided as query parameters.

If the query parameter is missing, it returns a 400 error with a message indicating that the query string is required.

Otherwise, if the query parameter is provided, it proceeds to execute the search query. The endpoint seems to use the fetchSearch function, which likely interacts with a search service or database to retrieve relevant information based on the provided query, quotesCount, and limit.

Upon successfully retrieving the search results, it returns a JSON response containing the search results. However, if there's any error during the process, it catches the error and returns a 500 error with a message indicating the failure.

Overall, this endpoint provides a way to perform search queries and retrieve results based on the provided parameters, potentially enabling users to search for various types of information within the application.



                                                                            
GET https://zylalabs.com/api/3833/yahoo+finance+api/4470/search
                                                                            
                                                                        

Search - Endpoint Features
Object Description
query [Required] The query to search
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"result":{"explains":[],"count":21,"quotes":[{"exchange":"NMS","shortname":"Tesla, Inc.","quoteType":"EQUITY","symbol":"TSLA","index":"quotes","score":97511,"typeDisp":"Equity","longname":"Tesla, Inc.","exchDisp":"NASDAQ","sector":"Consumer Cyclical","sectorDisp":"Consumer Cyclical","industry":"Auto Manufacturers","industryDisp":"Auto Manufacturers","dispSecIndFlag":true,"isYahooFinance":true},{"exchange":"GER","shortname":"TESLA INC. DL -,001","quoteType":"EQUITY","symbol":"TL0.DE","index":"quotes","score":20108,"typeDisp":"Equity","longname":"Tesla, Inc.","exchDisp":"XETRA","sector":"Consumer Cyclical","sectorDisp":"Consumer Cyclical","industry":"Auto Manufacturers","industryDisp":"Auto Manufacturers","isYahooFinance":true},{"exchange":"NEO","shortname":"TESLA, INC. CDR (CAD HEDGED)","quoteType":"EQUITY","symbol":"TSLA.NE","index":"quotes","score":20101,"typeDisp":"Equity","longname":"Tesla, Inc.","exchDisp":"NEO","sector":"Consumer Cyclical","sectorDisp":"Consumer Cyclical","industry":"Auto Manufacturers","industryDisp":"Auto Manufacturers","isYahooFinance":true},{"exchange":"FRA","shortname":"TESLA INC","quoteType":"EQUITY","symbol":"TL0.F","index":"quotes","score":20055,"typeDisp":"Equity","longname":"Tesla, Inc.","exchDisp":"Frankfurt","sector":"Consumer Cyclical","sectorDisp":"Consumer Cyclical","industry":"Auto Manufacturers","industryDisp":"Auto Manufacturers","isYahooFinance":true},{"exchange":"NEO","shortname":"TESLA (TSLA) YIELD SHARES PURPO","quoteType":"ETF","symbol":"YTSL.NE","index":"quotes","score":20036,"typeDisp":"ETF","longname":"Tesla (TSLA) Yield Shares Purpose ETF","exchDisp":"NEO","isYahooFinance":true},{"index":"10947367cb744a95b0a39f6a0702f5f5","name":"Tesla Medical","permalink":"tesla-medical","isYahooFinance":false},{"index":"77669f4682d64ad2a21d4cf95f2d7269","name":"TeslaVolts","permalink":"teslavolts","isYahooFinance":false}],"news":[{"uuid":"ea9867d7-c005-3bf1-869b-15ed82fe481b","title":"Tesla's India Entry Doesn't Scare Luxury Market Leader Mercedes-Benz: 'Our EV Charging Bays Will Be Open'","publisher":"Benzinga","link":"https://finance.yahoo.com/news/teslas-india-entry-doesnt-scare-081340887.html","providerPublishTime":"2024-04-12T08:13:40.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/wU.wLiM.3UeY6NnTJ2H3gA--~B/aD01NjM7dz0xMDAwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/Benzinga/1307c006a5e44f43462ae1c18cd6e6fc","width":1000,"height":563,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/GcPK8lLpGbKFIl4Pu2LzWg--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/Benzinga/1307c006a5e44f43462ae1c18cd6e6fc","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA"]},{"uuid":"6329c605-2be6-3c0f-9499-0f2aada785aa","title":"Tesla Stock Is Plunging, But At Least It's Cheaper, Right? Nope.","publisher":"Investor's Business Daily","link":"https://finance.yahoo.com/m/6329c605-2be6-3c0f-9499-0f2aada785aa/tesla-stock-is-plunging%2C-but.html","providerPublishTime":"2024-04-11T20:36:30.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/rmOO9btEULohf6m8PCbnFg--~B/aD01MTE7dz0xMDAwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/ibd.com/c6ce10ab044a79d8502e066df08506b6","width":1000,"height":511,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/9NlllaDRqabgg2QLQylSlA--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/ibd.com/c6ce10ab044a79d8502e066df08506b6","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA"]},{"uuid":"3d2018a2-2f35-3bc7-a5ba-e6475240ad31","title":"Tesla Needs a Model 2. A Robotaxi Isn’t the Answer.","publisher":"Barrons.com","link":"https://finance.yahoo.com/m/3d2018a2-2f35-3bc7-a5ba-e6475240ad31/tesla-needs-a-model-2.-a.html","providerPublishTime":"2024-04-12T08:47:00.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/CO3mFoCr4grItyAtw1ikdQ--~B/aD02NDA7dz0xMjgwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/Barrons.com/5e863eef958fd6c63033c3a78f0425f2","width":1280,"height":640,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/ybnydmuQrZrbp567MwSgSw--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/Barrons.com/5e863eef958fd6c63033c3a78f0425f2","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA"]},{"uuid":"c4aab0bd-d61d-3c08-8c52-cde36bcde0b8","title":"Tesla site takes shape","publisher":"The High Point Enterprise, N.C.","link":"https://finance.yahoo.com/m/c4aab0bd-d61d-3c08-8c52-cde36bcde0b8/tesla-site-takes-shape.html","providerPublishTime":"2024-04-12T06:46:00.000Z","type":"STORY"},{"uuid":"5df4ccf2-a959-33c4-89cb-c48214ae00d8","title":"Tesla Stock Has A China Problem","publisher":"Barrons.com","link":"https://finance.yahoo.com/m/5df4ccf2-a959-33c4-89cb-c48214ae00d8/tesla-stock-has-a-china.html","providerPublishTime":"2024-04-11T12:05:00.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/gty1j37YEHMEMf0kQ5AnIA--~B/aD02NDA7dz0xMjgwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/Barrons.com/e4f4397f39d63ace3bf67a5cea208cfc","width":1280,"height":640,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/nz4sJUAfg54QZJbQ6G7nLw--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/Barrons.com/e4f4397f39d63ace3bf67a5cea208cfc","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA"]},{"uuid":"f9a260ff-862e-3356-b2bb-2eeb2229d468","title":"Tesla (TSLA) Surpasses Market Returns: Some Facts Worth Knowing","publisher":"Zacks","link":"https://finance.yahoo.com/news/tesla-tsla-surpasses-market-returns-214521581.html","providerPublishTime":"2024-04-11T21:45:21.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/7h8ntzJXcDOdVmDKQ08gRg--~B/aD02MDA7dz05MDA7YXBwaWQ9eXRhY2h5b24-/https://media.zenfs.com/en/zacks.com/e8e4b0344809eaac6d73c9fd25fd180a","width":900,"height":600,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/Em_DrzACdMhzlbouRNIMyA--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/zacks.com/e8e4b0344809eaac6d73c9fd25fd180a","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA"]},{"uuid":"d1698be9-2820-3d82-a094-c2358706d8f4","title":"Here's How Much Tesla Would Have Made on Bitcoin If It Had HODLed","publisher":"Benzinga","link":"https://finance.yahoo.com/news/heres-much-tesla-made-bitcoin-204940588.html","providerPublishTime":"2024-04-11T20:49:40.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/wu2EMQDZkMSrttPddvX4Dw--~B/aD01NjI7dz05OTk7YXBwaWQ9eXRhY2h5b24-/https://media.zenfs.com/en/Benzinga/27dca5d8b0e135c49ee297c56a43def3","width":999,"height":562,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/wYLngoZj5r0imB9ZKCEF0Q--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/Benzinga/27dca5d8b0e135c49ee297c56a43def3","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA"]},{"uuid":"687945e6-71d9-3e01-8305-6c7f9b03d4e9","title":"Tesla Stock Is Up. Where the Charts Say It Goes Next.","publisher":"Barrons.com","link":"https://finance.yahoo.com/m/687945e6-71d9-3e01-8305-6c7f9b03d4e9/tesla-stock-is-up.-where-the.html","providerPublishTime":"2024-04-11T20:57:00.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/7_0EViGLH1bQzCv8jTdDsg--~B/aD02NDA7dz0xMjgwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/Barrons.com/b18af66728539ce8239d209ec5bcdfbf","width":1280,"height":640,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/Q.5Lf.ReUf9iNDz10M02xQ--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/Barrons.com/b18af66728539ce8239d209ec5bcdfbf","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA"]},{"uuid":"7ba4c6e9-e00c-3c14-a4f5-caaf8dfbc5b9","title":"Is Tesla Stock A Buy Or A Sell With EPS Estimates Coming Down Ahead Of Q1 Earnings?","publisher":"Investor's Business Daily","link":"https://finance.yahoo.com/m/7ba4c6e9-e00c-3c14-a4f5-caaf8dfbc5b9/is-tesla-stock-a-buy-or-a.html","providerPublishTime":"2024-04-11T14:25:12.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/g5.xwaM5VwywBIf9lOl_5w--~B/aD01NjM7dz0xMDAwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/ibd.com/4a2b36c37a8e0272e9a6a1becc580fbf","width":1000,"height":563,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/ycvssNjHpG0FUTdiaBR9kw--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/ibd.com/4a2b36c37a8e0272e9a6a1becc580fbf","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA"]},{"uuid":"7ab34752-6bae-3678-b8cc-ec2ef73c09c6","title":"Tesla investor may table collective bargaining motion at AGM","publisher":"Reuters","link":"https://finance.yahoo.com/news/tesla-investor-may-table-collective-113601105.html","providerPublishTime":"2024-04-11T11:36:01.000Z","type":"STORY","relatedTickers":["TSLA"]},{"uuid":"174f61d9-9fd1-3d5b-92d1-b71d6158cbde","title":"Tesla and Nvidia Could Be a Match Made in AI Heaven","publisher":"Barrons.com","link":"https://finance.yahoo.com/m/174f61d9-9fd1-3d5b-92d1-b71d6158cbde/tesla-and-nvidia-could-be-a.html","providerPublishTime":"2024-04-11T20:35:00.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/oWV2AR02bup5u8rhqLrv5w--~B/aD02NDA7dz0xMjgwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/Barrons.com/5c51f9a0e9b5e54617a289864fde20b9","width":1280,"height":640,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/xR1rUOgMjCzpLRf_6K44Bg--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/Barrons.com/5c51f9a0e9b5e54617a289864fde20b9","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA","NVDA"]},{"uuid":"1...
                                                                                                                                                                                                                    
                                                                                                    

Search - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/3833/yahoo+finance+api/4470/search?query=tesla' --header 'Authorization: Bearer YOUR_API_KEY' 

    

This /news endpoint is a GET request intended to fetch news articles related to a specific stock ticker symbol. It expects the ticker parameter to be provided as a query parameter, representing the stock symbol for which news articles are to be fetched. Additionally, it accepts an optional limit parameter to specify the maximum number of news articles to retrieve, with a default limit of 14 if not explicitly provided.

If the ticker parameter is missing, the endpoint responds with a 400 status code along with a JSON object containing a message prompting the user to provide the ticker symbol.

Once the ticker parameter is provided, the endpoint attempts to fetch news articles related to the specified stock symbol by calling the fetchStockNews function. This function likely interacts with a news API or service to retrieve relevant news articles based on the provided stock ticker and optional limit.

If the news retrieval process is successful, the endpoint responds with a JSON object containing the fetched news articles. However, if any error occurs during the process, such as failure to fetch news or other unexpected errors, the endpoint catches the error and responds with a 500 status code along with a JSON object containing an error message.

In summary, this endpoint provides a way to fetch news articles related to a specific stock symbol, allowing users to stay informed about recent developments and news impacting the stock market.



                                                                            
GET https://zylalabs.com/api/3833/yahoo+finance+api/4471/news
                                                                            
                                                                        

News - Endpoint Features
Object Description
ticker [Required] the stock ticker/ symbol
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"news":[{"uuid":"0959f841-ce2b-34f2-b53e-d8f1c307e288","title":"Potential escalation in Middle East raises oil price concerns","publisher":"Yahoo Finance Video","link":"https://finance.yahoo.com/video/potential-escalation-middle-east-raises-212348604.html","providerPublishTime":"2024-04-11T21:23:48.000Z","type":"VIDEO","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/kBi0iQj3jNtvYJC5eqksKQ--~B/aD00NDMwO3c9Nzg2NzthcHBpZD15dGFjaHlvbg--/https://s.yimg.com/os/creatr-uploaded-images/2024-04/a2fec9b0-f846-11ee-b7db-bdf19dd06ff3","width":7867,"height":4430,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/2DhbEhGXRWO3OWCLT6QPgA--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://s.yimg.com/os/creatr-uploaded-images/2024-04/a2fec9b0-f846-11ee-b7db-bdf19dd06ff3","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["CL=F","BZ=F","XLE"]},{"uuid":"bcdf856a-9d8d-39ba-a226-8503a7cf2f32","title":"S&P 500, Nasdaq recover and close higher following March PPI","publisher":"Yahoo Finance Video","link":"https://finance.yahoo.com/video/p-500-nasdaq-recover-close-201908156.html","providerPublishTime":"2024-04-11T20:19:08.000Z","type":"VIDEO","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/_YwRF3yU.A8yv7r_0frdHw--~B/aD0yNTE2O3c9NDQ2OTthcHBpZD15dGFjaHlvbg--/https://s.yimg.com/os/creatr-uploaded-images/2024-04/93d10ad0-f840-11ee-bcbf-20318711ab74","width":4469,"height":2516,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/CuGcubSyAu48oDjkrF1DYg--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://s.yimg.com/os/creatr-uploaded-images/2024-04/93d10ad0-f840-11ee-bcbf-20318711ab74","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["^IXIC","^TNX","AAPL","^GSPC","^NYFANG","NVDA","CL=F","^DJI","AMZN"]},{"uuid":"064b2947-972c-4023-88a6-6b66d5c0e3f4","title":"Oil will top out at $95 a barrel going into summer months, says BofA analyst","publisher":"Yahoo Finance","link":"https://finance.yahoo.com/news/oil-will-top-out-at-95-a-barrel-going-into-summer-months-says-bofa-analyst-180420303.html","providerPublishTime":"2024-04-10T18:04:20.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/3j0jR..2VKLjHUGKpWXs0A--~B/aD0zODc0O3c9NTE2NTthcHBpZD15dGFjaHlvbg--/https://s.yimg.com/os/creatr-uploaded-images/2023-09/c4a117b0-4e61-11ee-ac6f-485d5e441ae6","width":5165,"height":3874,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/S3_CvPjC1Npy0dWWSe_0TQ--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://s.yimg.com/os/creatr-uploaded-images/2023-09/c4a117b0-4e61-11ee-ac6f-485d5e441ae6","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["BZ=F","CL=F"]},{"uuid":"24fc2301-32ae-427f-b841-b22bf7080c56","title":"Higher gas prices helped drive hotter-than-expected inflation in March","publisher":"Yahoo Finance","link":"https://finance.yahoo.com/news/higher-gas-prices-helped-drive-hotter-than-expected-inflation-in-march-131154274.html","providerPublishTime":"2024-04-10T13:11:54.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/oKg9z99BZwkAgPmK7CH2_w--~B/aD0yMDM5O3c9MzQzNTthcHBpZD15dGFjaHlvbg--/https://s.yimg.com/os/creatr-uploaded-images/2024-04/64269f30-f6aa-11ee-bf7f-7838668fe82a","width":3435,"height":2039,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/Fig4UtzT.dIszJ3Ew9wbnw--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://s.yimg.com/os/creatr-uploaded-images/2024-04/64269f30-f6aa-11ee-bf7f-7838668fe82a","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["BZ=F"]},{"uuid":"adb5b3f9-cdbb-3a5d-a861-d3c5e999f539","title":"Oil: OPEC has 'hands on the steering wheel' of energy market","publisher":"Yahoo Finance Video","link":"https://finance.yahoo.com/video/oil-opec-hands-steering-wheel-152525294.html","providerPublishTime":"2024-04-09T15:25:25.000Z","type":"VIDEO","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/X3HdTmb.xEMsQ.zGPeQusQ--~B/aD0xNTAxO3c9MjY2NTthcHBpZD15dGFjaHlvbg--/https://s.yimg.com/os/creatr-uploaded-images/2024-04/f0357d10-f683-11ee-9ddf-9dcbce14ce19","width":2665,"height":1501,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/WJoj7DWbjDooKsad6J3O3A--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://s.yimg.com/os/creatr-uploaded-images/2024-04/f0357d10-f683-11ee-9ddf-9dcbce14ce19","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["XLE","BZ=F","CL=F","NG=F","RB=F"]},{"uuid":"860a64e7-9206-35c9-9219-49549e67e53a","title":"Lagging Mag 7 stocks may mean 'new life' for other sectors","publisher":"Yahoo Finance Video","link":"https://finance.yahoo.com/video/lagging-mag-7-stocks-may-145001979.html","providerPublishTime":"2024-04-09T14:50:01.000Z","type":"VIDEO","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/ig_ZB1Xq.m2Wh99m4OXjmQ--~B/aD0yOTAzO3c9NTE2ODthcHBpZD15dGFjaHlvbg--/https://s.yimg.com/os/creatr-uploaded-images/2024-04/16543c10-f680-11ee-9bd9-0397d10f3feb","width":5168,"height":2903,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/FHHHM12LTN7WHPvUjumj5w--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://s.yimg.com/os/creatr-uploaded-images/2024-04/16543c10-f680-11ee-9bd9-0397d10f3feb","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA","^DJI","AMZN","GOOG","NVDA","META","MSFT","^IXIC","AAPL","BZ=F","^GSPC","XLK","CL=F"]},{"uuid":"36bf7b0d-2344-3883-99b3-496e3393f6fc","title":"Commodity prices: Gold soars, oil hovers at multi-month high","publisher":"Yahoo Finance Video","link":"https://finance.yahoo.com/video/commodity-prices-gold-soars-oil-135044540.html","providerPublishTime":"2024-04-09T13:50:44.000Z","type":"VIDEO","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/oJ8CohSRC5nFjzlk2nb7Sg--~B/aD0yNDU3O3c9NDM2NDthcHBpZD15dGFjaHlvbg--/https://s.yimg.com/os/creatr-uploaded-images/2024-04/b90c29e0-f676-11ee-aaff-8c58205b8163","width":4364,"height":2457,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/eE4tDj7NyeaGTPnsji6peA--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://s.yimg.com/os/creatr-uploaded-images/2024-04/b90c29e0-f676-11ee-aaff-8c58205b8163","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["CL=F","GC=F","BZ=F"]},{"uuid":"5875ec61-9688-326c-9170-6a01d000bce0","title":"Stocks await CPI data, Fed rates, commodity prices: 3 Things","publisher":"Yahoo Finance Video","link":"https://finance.yahoo.com/video/stocks-await-cpi-data-fed-131326039.html","providerPublishTime":"2024-04-09T13:13:26.000Z","type":"VIDEO","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/5uBEDm9.CbN2bNIc7hBy9g--~B/aD0yNDM0O3c9NDMyMzthcHBpZD15dGFjaHlvbg--/https://s.yimg.com/os/creatr-uploaded-images/2024-04/d39f8bd0-f671-11ee-bff7-8ea8680dd381","width":4323,"height":2434,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/jVAJz_UpyvrTzE4KixaSig--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://s.yimg.com/os/creatr-uploaded-images/2024-04/d39f8bd0-f671-11ee-bff7-8ea8680dd381","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["^DJI","GC=F","CL=F","^IXIC","BZ=F","^GSPC"]},{"uuid":"eea4a425-45c3-3df7-8793-34629cee4b25","title":"Stocks largely flat to close out Monday","publisher":"Yahoo Finance Video","link":"https://finance.yahoo.com/video/stocks-largely-flat-close-monday-202217471.html","providerPublishTime":"2024-04-08T20:22:17.000Z","type":"VIDEO","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/dyQ3fvzFPXu755mg65M6pQ--~B/aD0yNDYxO3c9NDM3MDthcHBpZD15dGFjaHlvbg--/https://s.yimg.com/os/creatr-uploaded-images/2024-04/11b42a80-f5e5-11ee-b9ff-765abfb7d581","width":4370,"height":2461,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/Dh.9nUrLn8lR7sf74AJc2w--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://s.yimg.com/os/creatr-uploaded-images/2024-04/11b42a80-f5e5-11ee-b9ff-765abfb7d581","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["^TNX","^GSPC","CL=F","^IXIC","^DJI","BTC-USD","BZ=F"]},{"uuid":"e8d1d87a-3fc5-37c4-9578-2069972985ef","title":"Gold's 'unique' trait as compared to other commodity trades","publisher":"Yahoo Finance Video","link":"https://finance.yahoo.com/video/golds-unique-trait-compared-other-142056175.html","providerPublishTime":"2024-04-08T14:20:56.000Z","type":"VIDEO","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/njiPzzIDqqGgngjux0T65w--~B/aD0yNjI3O3c9NDY2ODthcHBpZD15dGFjaHlvbg--/https://s.yimg.com/os/creatr-uploaded-images/2024-04/2d52f7e0-f5b2-11ee-bdff-80ad65bd050d","width":4668,"height":2627,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/5mWMENiLqYHnm.iVopA19A--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://s.yimg.com/os/creatr-uploaded-images/2024-04/2d52f7e0-f5b2-11ee-bdff-80ad65bd050d","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["GC=F","SI=F","BZ=F","CL=F"]},{"uuid":"1e5e6545-8ce0-4696-bb30-affdb4493cfb","title":"Why gas prices in California β€˜have gone ballistic'","publisher":"Yahoo Finance","link":"https://finance.yahoo.com/news/why-gas-prices-in-california-have-gone-ballistic-160544399.html","providerPublishTime":"2024-04-06T16:05:44.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/v66IgFSKh7t1IIeKTiEloQ--~B/aD01NTA0O3c9ODI1NjthcHBpZD15dGFjaHlvbg--/https://s.yimg.com/os/creatr-uploaded-images/2024-04/09ea9130-f343-11ee-afef-5b8ec876ae5f","width":8256,"height":5504,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/qRH.AYPTT1RRxcal6irifA--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://s.yimg.com/os/creatr-uploaded-images/2024-04/09ea9130-f343-11ee-afef-5b8ec876ae5f","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["CL=F","RB=F","BZ=F"]},{"uuid":"200eb391-cf26-3c26-a78a-3adf16d07c0e","title":"Stocks swing higher...
                                                                                                                                                                                                                    
                                                                                                    

News - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/3833/yahoo+finance+api/4471/news?ticker=O' --header 'Authorization: Bearer YOUR_API_KEY' 

    

This /fullData endpoint is a GET request designed to retrieve comprehensive data about a specific stock symbol. It expects the ticker parameter to be provided as a query parameter, representing the stock symbol for which full data is to be fetched.

If the ticker parameter is missing, the endpoint responds with a 400 status code along with a JSON object containing an error message prompting the user to provide the ticker symbol.

Once the ticker parameter is provided, the endpoint attempts to fetch comprehensive data about the specified stock symbol by calling the yahooFinance.quote function. This function likely interacts with a financial data provider, such as Yahoo Finance, to retrieve detailed information about the specified stock symbol.

If the data retrieval process is successful, the endpoint responds with a JSON object containing the full data of the stock, including various details such as the symbol, price, currency, and other relevant information.

However, if any error occurs during the process, such as failure to fetch data or other unexpected errors, the endpoint catches the error, logs it for debugging purposes, and responds with a 500 status code along with a JSON object containing an error message indicating the failure to fetch stock quote data.

In summary, this endpoint provides a convenient way to retrieve comprehensive data about a specific stock symbol, allowing users to access detailed information about the stock for analysis or decision-making purposes.



                                                                            
GET https://zylalabs.com/api/3833/yahoo+finance+api/4472/stock+full+information
                                                                            
                                                                        

Stock Full Information - Endpoint Features
Object Description
ticker [Required] the stock ticker/ symbol
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"language":"en-US","region":"US","quoteType":"EQUITY","typeDisp":"Equity","quoteSourceName":"Nasdaq Real Time Price","triggerable":true,"customPriceAlertConfidence":"HIGH","currency":"USD","marketState":"PRE","regularMarketChangePercent":1.6534768,"regularMarketPrice":174.6,"exchange":"NMS","shortName":"Tesla, Inc.","longName":"Tesla, Inc.","messageBoardId":"finmb_27444752","exchangeTimezoneName":"America/New_York","exchangeTimezoneShortName":"EDT","gmtOffSetMilliseconds":-14400000,"market":"us_market","esgPopulated":false,"hasPrePostMarketData":true,"firstTradeDateMilliseconds":"2010-06-29T13:30:00.000Z","priceHint":2,"preMarketChange":-1.9600067,"preMarketChangePercent":-1.1225697,"preMarketTime":"2024-04-12T10:00:24.000Z","preMarketPrice":172.64,"regularMarketChange":2.8400116,"regularMarketTime":"2024-04-11T20:00:00.000Z","regularMarketDayHigh":175.88,"regularMarketDayRange":{"low":168.51,"high":175.88},"regularMarketDayLow":168.51,"regularMarketVolume":93736391,"regularMarketPreviousClose":171.76,"bid":174.56,"ask":174.66,"bidSize":2,"askSize":2,"fullExchangeName":"NasdaqGS","financialCurrency":"USD","regularMarketOpen":172.47,"averageDailyVolume3Month":102815070,"averageDailyVolume10Day":100978650,"fiftyTwoWeekLowChange":22.230011,"fiftyTwoWeekLowChangePercent":0.14589494,"fiftyTwoWeekRange":{"low":152.37,"high":299.29},"fiftyTwoWeekHighChange":-124.69,"fiftyTwoWeekHighChangePercent":-0.41661933,"fiftyTwoWeekLow":152.37,"fiftyTwoWeekHigh":299.29,"fiftyTwoWeekChangePercent":-5.621624,"earningsTimestamp":"2024-04-23T20:00:00.000Z","earningsTimestampStart":"2024-04-23T20:00:00.000Z","earningsTimestampEnd":"2024-04-23T20:00:00.000Z","trailingAnnualDividendRate":0,"trailingPE":40.604652,"trailingAnnualDividendYield":0,"epsTrailingTwelveMonths":4.3,"epsForward":3.44,"epsCurrentYear":2.53,"priceEpsCurrentYear":69.01186,"sharesOutstanding":3184790016,"bookValue":19.665,"fiftyDayAverage":182.1774,"fiftyDayAverageChange":-7.5773926,"fiftyDayAverageChangePercent":-0.041593485,"twoHundredDayAverage":228.20775,"twoHundredDayAverageChange":-53.607742,"twoHundredDayAverageChangePercent":-0.23490763,"marketCap":556064374784,"forwardPE":50.755814,"priceToBook":8.878718,"sourceInterval":15,"exchangeDataDelayedBy":0,"averageAnalystRating":"2.9 - Hold","tradeable":false,"cryptoTradeable":false,"displayName":"Tesla","symbol":"TSLA"}
                                                                                                                                                                                                                    
                                                                                                    

Stock Full Information - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/3833/yahoo+finance+api/4472/stock+full+information?ticker=TSLA' --header 'Authorization: Bearer YOUR_API_KEY' 

    

This /stockOptions endpoint is a GET request intended to retrieve information about stock options for a specific stock symbol. It expects the ticker parameter to be provided as a query parameter, representing the stock symbol for which options information is to be fetched.

If the ticker parameter is missing, the endpoint responds with a 400 status code along with a JSON object containing an error message prompting the user to provide the ticker symbol.

Once the ticker parameter is provided, the endpoint attempts to fetch information about stock options for the specified stock symbol. This is done by calling the yahooFinance.options function, which likely interacts with a financial data provider, such as Yahoo Finance, to retrieve options data for the specified stock symbol.

If the options retrieval process is successful, the endpoint responds with a JSON object containing information about the stock options, which may include details such as expiration dates, strike prices, and other relevant information.

However, if any error occurs during the process, such as failure to fetch data or other unexpected errors, the endpoint catches the error, logs it for debugging purposes, and responds with a 500 status code along with a JSON object containing an error message indicating the failure to fetch stock options data.

In summary, this endpoint provides a way to retrieve information about stock options for a specific stock symbol, allowing users to access data relevant to options trading or analysis.



                                                                            
GET https://zylalabs.com/api/3833/yahoo+finance+api/4473/stock+options
                                                                            
                                                                        

Stock Options - Endpoint Features
Object Description
ticker [Required] the stock ticker/ symbol
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"underlyingSymbol":"TSLA","expirationDates":["2024-04-12T00:00:00.000Z","2024-04-19T00:00:00.000Z","2024-04-26T00:00:00.000Z","2024-05-03T00:00:00.000Z","2024-05-10T00:00:00.000Z","2024-05-17T00:00:00.000Z","2024-05-24T00:00:00.000Z","2024-06-21T00:00:00.000Z","2024-07-19T00:00:00.000Z","2024-08-16T00:00:00.000Z","2024-09-20T00:00:00.000Z","2024-10-18T00:00:00.000Z","2024-11-15T00:00:00.000Z","2024-12-20T00:00:00.000Z","2025-01-17T00:00:00.000Z","2025-03-21T00:00:00.000Z","2025-06-20T00:00:00.000Z","2025-09-19T00:00:00.000Z","2025-12-19T00:00:00.000Z","2026-01-16T00:00:00.000Z","2026-06-18T00:00:00.000Z","2026-12-18T00:00:00.000Z"],"strikes":[100,105,110,115,120,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,152.5,155,157.5,160,162.5,165,167.5,170,172.5,175,177.5,180,182.5,185,187.5,190,192.5,195,197.5,200,202.5,205,210,215,220,225,230,235,240,245,250,255,260,265,270,275,280,285,290,295,300,305,310,315,320,325,330,335,340,345,350,355,360,365,370,375,380,385,390,395],"hasMiniOptions":false,"quote":{"language":"en-US","region":"US","quoteType":"EQUITY","typeDisp":"Equity","quoteSourceName":"Nasdaq Real Time Price","triggerable":true,"customPriceAlertConfidence":"HIGH","currency":"USD","marketState":"PRE","regularMarketChangePercent":1.6534768,"regularMarketPrice":174.6,"exchange":"NMS","shortName":"Tesla, Inc.","longName":"Tesla, Inc.","messageBoardId":"finmb_27444752","exchangeTimezoneName":"America/New_York","exchangeTimezoneShortName":"EDT","gmtOffSetMilliseconds":-14400000,"market":"us_market","esgPopulated":false,"hasPrePostMarketData":true,"firstTradeDateMilliseconds":"2010-06-29T13:30:00.000Z","priceHint":2,"preMarketChange":-2.0299988,"preMarketChangePercent":-1.1626568,"preMarketTime":"2024-04-12T10:01:52.000Z","preMarketPrice":172.57,"regularMarketChange":2.8400116,"regularMarketTime":"2024-04-11T20:00:00.000Z","regularMarketDayHigh":175.88,"regularMarketDayRange":{"low":168.51,"high":175.88},"regularMarketDayLow":168.51,"regularMarketVolume":93736391,"regularMarketPreviousClose":171.76,"bid":174.56,"ask":174.66,"bidSize":2,"askSize":2,"fullExchangeName":"NasdaqGS","financialCurrency":"USD","regularMarketOpen":172.47,"averageDailyVolume3Month":102815070,"averageDailyVolume10Day":100978650,"fiftyTwoWeekLowChange":22.230011,"fiftyTwoWeekLowChangePercent":0.14589494,"fiftyTwoWeekRange":{"low":152.37,"high":299.29},"fiftyTwoWeekHighChange":-124.69,"fiftyTwoWeekHighChangePercent":-0.41661933,"fiftyTwoWeekLow":152.37,"fiftyTwoWeekHigh":299.29,"fiftyTwoWeekChangePercent":-5.621624,"earningsTimestamp":"2024-04-23T20:00:00.000Z","earningsTimestampStart":"2024-04-23T20:00:00.000Z","earningsTimestampEnd":"2024-04-23T20:00:00.000Z","trailingAnnualDividendRate":0,"trailingPE":40.604652,"trailingAnnualDividendYield":0,"epsTrailingTwelveMonths":4.3,"epsForward":3.44,"epsCurrentYear":2.53,"priceEpsCurrentYear":69.01186,"sharesOutstanding":3184790016,"bookValue":19.665,"fiftyDayAverage":182.1774,"fiftyDayAverageChange":-7.5773926,"fiftyDayAverageChangePercent":-0.041593485,"twoHundredDayAverage":228.20775,"twoHundredDayAverageChange":-53.607742,"twoHundredDayAverageChangePercent":-0.23490763,"marketCap":556064374784,"forwardPE":50.755814,"priceToBook":8.878718,"sourceInterval":15,"exchangeDataDelayedBy":0,"averageAnalystRating":"2.9 - Hold","tradeable":false,"cryptoTradeable":false,"displayName":"Tesla","symbol":"TSLA"},"options":[{"expirationDate":"2024-04-12T00:00:00.000Z","hasMiniOptions":false,"calls":[{"contractSymbol":"TSLA240412C00100000","strike":100,"currency":"USD","lastPrice":75.04,"change":0,"percentChange":0,"volume":67,"openInterest":0,"bid":0,"ask":0,"contractSize":"REGULAR","expiration":"2024-04-12T00:00:00.000Z","lastTradeDate":"2024-04-11T19:24:03.000Z","impliedVolatility":0.000010000000000000003,"inTheMoney":true},{"contractSymbol":"TSLA240412C00105000","strike":105,"currency":"USD","lastPrice":72.75,"change":0,"percentChange":0,"volume":4,"openInterest":0,"bid":0,"ask":0,"contractSize":"REGULAR","expiration":"2024-04-12T00:00:00.000Z","lastTradeDate":"2024-04-09T14:27:41.000Z","impliedVolatility":0.000010000000000000003,"inTheMoney":true},{"contractSymbol":"TSLA240412C00110000","strike":110,"currency":"USD","lastPrice":64.07,"change":0,"percentChange":0,"volume":12,"openInterest":0,"bid":0,"ask":0,"contractSize":"REGULAR","expiration":"2024-04-12T00:00:00.000Z","lastTradeDate":"2024-04-11T18:59:56.000Z","impliedVolatility":0.000010000000000000003,"inTheMoney":true},{"contractSymbol":"TSLA240412C00115000","strike":115,"currency":"USD","lastPrice":59.13,"change":0,"percentChange":0,"volume":5,"openInterest":0,"bid":0,"ask":0,"contractSize":"REGULAR","expiration":"2024-04-12T00:00:00.000Z","lastTradeDate":"2024-04-11T19:01:45.000Z","impliedVolatility":0.000010000000000000003,"inTheMoney":true},{"contractSymbol":"TSLA240412C00120000","strike":120,"currency":"USD","lastPrice":52.12,"change":0,"percentChange":0,"volume":5,"openInterest":0,"bid":0,"ask":0,"contractSize":"REGULAR","expiration":"2024-04-12T00:00:00.000Z","lastTradeDate":"2024-04-10T15:08:27.000Z","impliedVolatility":0.000010000000000000003,"inTheMoney":true},{"contractSymbol":"TSLA240412C00125000","strike":125,"currency":"USD","lastPrice":49.95,"change":0,"percentChange":0,"volume":20,"openInterest":0,"bid":0,"ask":0,"contractSize":"REGULAR","expiration":"2024-04-12T00:00:00.000Z","lastTradeDate":"2024-04-11T19:20:32.000Z","impliedVolatility":0.000010000000000000003,"inTheMoney":true},{"contractSymbol":"TSLA240412C00129000","strike":129,"currency":"USD","lastPrice":44.83,"change":0,"percentChange":0,"volume":1,"openInterest":0,"bid":0,"ask":0,"contractSize":"REGULAR","expiration":"2024-04-12T00:00:00.000Z","lastTradeDate":"2024-04-08T17:08:53.000Z","impliedVolatility":0.000010000000000000003,"inTheMoney":true},{"contractSymbol":"TSLA240412C00130000","strike":130,"currency":"USD","lastPrice":45,"change":0,"percentChange":0,"volume":181,"openInterest":0,"bid":0,"ask":0,"contractSize":"REGULAR","expiration":"2024-04-12T00:00:00.000Z","lastTradeDate":"2024-04-11T19:18:31.000Z","impliedVolatility":0.000010000000000000003,"inTheMoney":true},{"contractSymbol":"TSLA240412C00132000","strike":132,"currency":"USD","lastPrice":39.75,"change":0,"percentChange":0,"volume":1,"openInterest":0,"bid":0,"ask":0,"contractSize":"REGULAR","expiration":"2024-04-12T00:00:00.000Z","lastTradeDate":"2024-04-10T17:01:43.000Z","impliedVolatility":0.000010000000000000003,"inTheMoney":true},{"contractSymbol":"TSLA240412C00133000","strike":133,"currency":"USD","lastPrice":38.75,"change":0,"percentChange":0,"volume":1,"openInterest":0,"bid":0,"ask":0,"contractSize":"REGULAR","expiration":"2024-04-12T00:00:00.000Z","lastTradeDate":"2024-04-10T17:01:43.000Z","impliedVolatility":0.000010000000000000003,"inTheMoney":true},{"contractSymbol":"TSLA240412C00134000","strike":134,"currency":"USD","lastPrice":38.73,"change":0,"percentChange":0,"volume":25,"openInterest":0,"bid":0,"ask":0,"contractSize":"REGULAR","expiration":"2024-04-12T00:00:00.000Z","lastTradeDate":"2024-04-11T17:04:51.000Z","impliedVolatility":0.000010000000000000003,"inTheMoney":true},{"contractSymbol":"TSLA240412C00135000","strike":135,"currency":"USD","lastPrice":39.52,"change":0,"percentChange":0,"volume":44,"openInterest":0,"bid":0,"ask":0,"contractSize":"REGULAR","expiration":"2024-04-12T00:00:00.000Z","lastTradeDate":"2024-04-11T18:07:14.000Z","impliedVolatility":0.000010000000000000003,"inTheMoney":true},{"contractSymbol":"TSLA240412C00136000","strike":136,"currency":"USD","lastPrice":36.6,"change":0,"percentChange":0,"volume":10,"openInterest":0,"bid":0,"ask":0,"contractSize":"REGULAR","expiration":"2024-04-12T00:00:00.000Z","lastTradeDate":"2024-04-08T14:38:32.000Z","impliedVolatility":0.000010000000000000003,"inTheMoney":true},{"contractSymbol":"TSLA240412C00137000","strike":137,"currency":"USD","lastPrice":39,"change":0,"percentChange":0,"volume":1,"openInterest":0,"bid":0,"ask":0,"contractSize":"REGULAR","expiration":"2024-04-12T00:00:00.000Z","lastTradeDate":"2024-04-09T18:35:36.000Z","impliedVolatility":0.000010000000000000003,"inTheMoney":true},{"contractSymbol":"TSLA240412C00138000","strike":138,"currency":"USD","lastPrice":33.61,"change":0,"percentChange":0,"volume":1,"openInterest":0,"bid":0,"ask":0,"contractSize":"REGULAR","expiration":"2024-04-12T00:00:00.000Z","lastTradeDate":"2024-04-10T13:47:59.000Z","impliedVolatility":0.000010000000000000003,"inTheMoney":true},{"contractSymbol":"TSLA240412C00139000","strike":139,"currency":"USD","lastPrice":35.4,"change":0,"percentChange":0,"volume":1,"openInterest":0,"bid":0,"ask":0,"contractSize":"REGULAR","expiration":"2024-04-12T00:00:00.000Z","lastTradeDate":"2024-04-11T18:46:40.000Z","impliedVolatility":0.000010000000000000003,"inTheMoney":true},{"contractSymbol":"TSLA240412C00140000","strike":140,"currency":"USD","lastPrice":35,"change":0,"percentChange":0,"volume":95,"openInterest":0,"bid":0,"ask":0,"contractSize":"REGULAR","expiration":"2024-04-12T00:00:00.000Z","lastTradeDate":"2024-04-11T19:29:32.000Z","impliedVolatility":0.000010000000000000003,"inTheMoney":true},{"contractSymbol":"TSLA240412C00141000","strike":141,"currency":"USD","lastPrice":29.22,"change":0,"percentChange":0,"volume":20,"openInterest":0,"bid":0,"ask":0,"contractSize":"REGULAR","expiration":"2024-04-12T00:00:00.000Z","lastTradeDate":"2024-04-11T14:46:51.000Z","impliedVolatility":0.000010000000000000003,"inTheMoney":true},{"contractSymbol":"TSLA240412C00142000","strike":142,"currency":"USD","lastPrice":30.6,"change":0,"percentChange":0,"volume":6,"openInterest":0,"bid":0,"ask":0,"contractSize":"REGULAR","expiration":"2024-04-12T00:00:00.000Z","lastTradeDate":"2024-04-11T16:32:45.000Z","impliedVolatility":0.000010000000000000003,"inTheMoney":true},{"contractSymbol":"TSLA240412C00143000","strike":143,"currency":"USD","lastPrice":27.75,"change":0,"percentChange":0,"volume":1,"openInterest":0,"bid":0,"ask":0,"contractSize"...
                                                                                                                                                                                                                    
                                                                                                    

Stock Options - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/3833/yahoo+finance+api/4473/stock+options?ticker=TSLA' --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 Yahoo Finance 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

To use this API users must select one the available endpoint, read the description and specify the required parameter and will receive up-to-date information of the stock and much more!

The Yahoo Finance API provides several endpoints for retrieving different types of financial data. Some of the endpoints include search, news, historical data, stock options, dividends, earnings, and more.

You can search for a stock by making a GET request to the '/search' endpoint with the ticker symbol as a query parameter. Optionally, you can specify the number of quotes to return and the limit of results.

To fetch historical data for a stock, you can make a GET request to the '/yhfhistorical' endpoint with the ticker symbol as a query parameter. Additionally, you can specify the start and end dates for the historical data.

The '/fullData' endpoint provides comprehensive information about a stock, including its symbol, price, currency, symbol name, market cap, and more.

You can retrieve stock options by making a GET request to the '/stockOptions' endpoint with the ticker symbol as a query parameter. This endpoint returns information about available options for the specified stock.

The '/financials' endpoint allows you to fetch various financial data for a stock, such as financial statements, earnings, dividends, and more. You need to provide the stock symbol as a query parameter to retrieve the data.

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
82%
 Response Time
1,614ms

Category:


Tags:


Related APIs