Yahoo Finance API

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

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.

Documentación de la API

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 - Características del Endpoint

Objeto Descripción
ticker [Requerido] the stock ticker/ symbol
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

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

Stock Price - CÓDIGOS DE EJEMPLO


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 - Características del Endpoint

Objeto Descripción
query [Requerido] The query to search
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"result":{"explains":[],"count":21,"quotes":[{"exchange":"NMS","shortname":"Tesla, Inc.","quoteType":"EQUITY","symbol":"TSLA","index":"quotes","score":77081,"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":20120,"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":20095,"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":20042,"typeDisp":"Equity","longname":"Tesla, Inc.","exchDisp":"Frankfurt","sector":"Consumer Cyclical","sectorDisp":"Consumer Cyclical","industry":"Auto Manufacturers","industryDisp":"Auto Manufacturers","isYahooFinance":true},{"exchange":"BUE","shortname":"TESLA INC CEDEAR EA 15 REP 1 CO","quoteType":"EQUITY","symbol":"TSLAD.BA","index":"quotes","score":20021,"typeDisp":"Equity","longname":"Tesla, Inc.","exchDisp":"Buenos Aires","isYahooFinance":true},{"index":"10947367cb744a95b0a39f6a0702f5f5","name":"Tesla Medical","permalink":"tesla-medical","isYahooFinance":false},{"index":"77669f4682d64ad2a21d4cf95f2d7269","name":"TeslaVolts","permalink":"teslavolts","isYahooFinance":false}],"news":[{"uuid":"3ec8ab2d-422a-3409-8b13-a9b48d5b9fca","title":"Tesla Stock Heads For 2024 Lows As Investors Await Q1 Earnings For Clarity On Elon Musk's Big Bet On Autonomy","publisher":"Investor's Business Daily","link":"https://finance.yahoo.com/m/3ec8ab2d-422a-3409-8b13-a9b48d5b9fca/tesla-stock-heads-for-2024.html","providerPublishTime":"2024-04-16T14:24:04.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/5GBCnG8p4J0OLHQnsh5z5Q--~B/aD01NjM7dz0xMDAwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/ibd.com/9e746c13e150c7bee48c24ef1dffb078","width":1000,"height":563,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/Wku9RO.OXYWPgwO70cyBfQ--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/ibd.com/9e746c13e150c7bee48c24ef1dffb078","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA"]},{"uuid":"54f06c00-5fe3-3f1a-9619-a1481d08c692","title":"Tesla layoffs hit high performers, some departments slashed, sources say","publisher":"TechCrunch","link":"https://finance.yahoo.com/m/54f06c00-5fe3-3f1a-9619-a1481d08c692/tesla-layoffs-hit-high.html","providerPublishTime":"2024-04-16T12:35:03.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/F3WzKenc8CoWce9L1wWx9Q--~B/aD0xMzQ4O3c9MjM5NjthcHBpZD15dGFjaHlvbg--/https://media.zenfs.com/en/techcrunch_350/e42616c88053be98a6b1f06b60e4ec24","width":2396,"height":1348,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/t3HDnUuoYnir_KSmEgPcIw--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/techcrunch_350/e42616c88053be98a6b1f06b60e4ec24","width":140,"height":140,"tag":"140x140"}]}},{"uuid":"8edab8e4-ec09-30b4-9ac8-d98c11b4aaa7","title":"Tesla’s Value Declines Below $500 Billion as Risks Pile Up","publisher":"Bloomberg","link":"https://finance.yahoo.com/news/tesla-value-declines-below-500-134149504.html","providerPublishTime":"2024-04-16T13:41:49.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/xfPA1yHgq8MTVtnAh2JMKw--~B/aD02NzU7dz0xMjAwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/bloomberg_markets_842/14708bc966448ca4edb2438182e13aee","width":1200,"height":675,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/e.PEu_niC1BbubpKE99qEA--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/bloomberg_markets_842/14708bc966448ca4edb2438182e13aee","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA"]},{"uuid":"b89b3053-3217-3499-ad76-2aaacb6cc0d5","title":"Tesla (TSLA) to Cut Jobs by 10% to Manage Costs Amid Low EV Sales","publisher":"Zacks","link":"https://finance.yahoo.com/news/tesla-tsla-cut-jobs-10-123100303.html","providerPublishTime":"2024-04-16T12:31:00.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/devY3XHJ1YpzrP8OVL3zBg--~B/aD00MDA7dz02MzU7YXBwaWQ9eXRhY2h5b24-/https://media.zenfs.com/en/zacks.com/962d113d34adba715b05697dec9c80b7","width":635,"height":400,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/.L4tlr.1KMxSb11cwM9lpw--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/zacks.com/962d113d34adba715b05697dec9c80b7","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA","F"]},{"uuid":"5c394e96-af30-3009-b609-c9100c19cea7","title":"Tesla Stock Breached Support. This Is Where It’s Headed.","publisher":"Barrons.com","link":"https://finance.yahoo.com/m/5c394e96-af30-3009-b609-c9100c19cea7/tesla-stock-breached-support..html","providerPublishTime":"2024-04-16T09:25:43.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/_kc6REYMS1JrAuV5bYtjfA--~B/aD02NTt3PTMyMDthcHBpZD15dGFjaHlvbg--/https://media.zenfs.com/en/Barrons.com/12ea0f43d8f8307249a68d1cb2e0587e","width":320,"height":65,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/5waH37HKuL3X52B3V2GWrw--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/Barrons.com/12ea0f43d8f8307249a68d1cb2e0587e","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA"]},{"uuid":"fb91fbfd-bf56-31bf-a3e4-75f5b395952c","title":"Analysts weigh in on 'far-reaching' Tesla layoffs as stock extends slump","publisher":"TheStreet","link":"https://finance.yahoo.com/m/fb91fbfd-bf56-31bf-a3e4-75f5b395952c/analysts-weigh-in-on.html","providerPublishTime":"2024-04-16T12:27:51.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/.JhYgvFgP97vm5LYI6Syrw--~B/aD04MDA7dz0xMTYyO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/thestreet_881/3d4c82c51cb3741a69a5d6778146c167","width":1162,"height":800,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/ON0RpsMsoewiwqLMFcSlSw--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/thestreet_881/3d4c82c51cb3741a69a5d6778146c167","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA"]},{"uuid":"5c169cb5-7966-3ae0-850b-354943223d72","title":"Tesla's global job cuts include leading markets US, China","publisher":"Reuters","link":"https://finance.yahoo.com/news/tesla-global-job-cuts-hit-070027304.html","providerPublishTime":"2024-04-16T07:00:27.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/eSbs9MSVOPRPco0yPwxURQ--~B/aD01MzM7dz04MDA7YXBwaWQ9eXRhY2h5b24-/https://media.zenfs.com/en/reuters-finance.com/6f7b235fd404f012a5f3e21a0ef78c8d","width":800,"height":533,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/3PLk1fcTfL_WjsXxxUe_ZQ--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/reuters-finance.com/6f7b235fd404f012a5f3e21a0ef78c8d","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA"]},{"uuid":"7e11bbf4-8166-397a-8728-14e18e9ab579","title":"Tesla Stock Is Falling Again. This Is Where It’s Headed.","publisher":"Barrons.com","link":"https://finance.yahoo.com/m/7e11bbf4-8166-397a-8728-14e18e9ab579/tesla-stock-is-falling-again..html","providerPublishTime":"2024-04-16T11:29:00.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/dvCMWdniRtT2TnXV9jbrUA--~B/aD02NDA7dz0xMjgwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/Barrons.com/b42d1cd7e2fb497bb37b15584439da27","width":1280,"height":640,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/fWpKPh0IGlnDu6zaClWTNg--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/Barrons.com/b42d1cd7e2fb497bb37b15584439da27","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA","^GSPC"]},{"uuid":"990b531b-7a5a-3aa3-a0c7-31e38280ac05","title":"Tesla's Latest Price Cut Looks Desperate","publisher":"Motley Fool","link":"https://finance.yahoo.com/m/990b531b-7a5a-3aa3-a0c7-31e38280ac05/tesla%27s-latest-price-cut.html","providerPublishTime":"2024-04-16T12:30:00.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/KNQyTaRjk6Mubi1XW_0lFQ--~B/aD0xMTUzO3c9MjYwMTthcHBpZD15dGFjaHlvbg--/https://media.zenfs.com/en/motleyfool.com/616871a3356d0c8d5539a115ac73425d","width":2601,"height":1153,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/dQuucmFXZZiX1Co4apt.Fg--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/motleyfool.com/616871a3356d0c8d5539a115ac73425d","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA"]},{"uuid":"b6f01d97-5355-3bdf-91df-602c74e3cb7f","title":"Tesla Cuts 'More Than 10%' Of Employees; Top Execs Depart As EV Giant Prepares For 'Next Phase Of Growth'","publisher":"Investor's Business Daily","link":"https://finance.yahoo.com/m/b6f01d97-5355-3bdf-91df-602c74e3cb7f/tesla-cuts-%27more-than-10%25%27-of.html","providerPublishTime":"2024-04-15T20:20:21.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/95mNngUcxsBdBpe5goShGw--~B/aD01NjM7dz0xMDAwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/ibd.com/e43cfbed9c26f391715b25d65eb23c40","width":...
                                                                                                                                                                                                                    
                                                                                                    

Search - CÓDIGOS DE EJEMPLO


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 - Características del Endpoint

Objeto Descripción
ticker [Requerido] the stock ticker/ symbol
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"news":[{"uuid":"b89b3053-3217-3499-ad76-2aaacb6cc0d5","title":"Tesla (TSLA) to Cut Jobs by 10% to Manage Costs Amid Low EV Sales","publisher":"Zacks","link":"https://finance.yahoo.com/news/tesla-tsla-cut-jobs-10-123100303.html","providerPublishTime":"2024-04-16T12:31:00.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/devY3XHJ1YpzrP8OVL3zBg--~B/aD00MDA7dz02MzU7YXBwaWQ9eXRhY2h5b24-/https://media.zenfs.com/en/zacks.com/962d113d34adba715b05697dec9c80b7","width":635,"height":400,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/.L4tlr.1KMxSb11cwM9lpw--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/zacks.com/962d113d34adba715b05697dec9c80b7","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA","F"]},{"uuid":"27075970-ec1c-31e2-88ef-591a6f779098","title":"Magnificent Seven Stocks: Nvidia, Apple, Tesla See Market Cap Shake-Up","publisher":"Investor's Business Daily","link":"https://finance.yahoo.com/m/27075970-ec1c-31e2-88ef-591a6f779098/magnificent-seven-stocks%3A.html","providerPublishTime":"2024-04-16T14:18:50.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/WGyXqXf_LcdzpRaHhGTxDw--~B/aD01NjM7dz0xMDAwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/ibd.com/e1d7160b119125a42817027007c6b741","width":1000,"height":563,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/F3QCz3tLO1_nSlQ3mil89g--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/ibd.com/e1d7160b119125a42817027007c6b741","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["COMP"]},{"uuid":"8df97086-8c90-3bb7-8cba-ce54d437bc6c","title":"Bank of America, Morgan Stanley, and UnitedHealth report: Yahoo Finance","publisher":"Yahoo Finance Video","link":"https://finance.yahoo.com/video/bank-america-morgan-stanley-unitedhealth-113013090.html","providerPublishTime":"2024-04-16T11:30:13.000Z","type":"VIDEO","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/JROOHNXjo16ZbnG0EpU6Ag--~B/aD0xMDgwO3c9MTkyMDthcHBpZD15dGFjaHlvbg--/https://media-mbst-pub-ue1.s3.amazonaws.com/creatr-uploaded-images/2019-09/1af93af0-db18-11e9-bff7-e34690b9be52","width":1920,"height":1080,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/.Pl07vIrpkJy_AGrKrtjlw--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media-mbst-pub-ue1.s3.amazonaws.com/creatr-uploaded-images/2019-09/1af93af0-db18-11e9-bff7-e34690b9be52","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["UAL","BAC","TSLA","DJT","DJTWW","RIVN","BA","JNJ","PNC","MS","UNH"]},{"uuid":"92535b87-b766-3bbe-ab25-1cc416bcc26f","title":"Tesla Is Running Out of Time to Deliver on Self-Driving Promises","publisher":"The Wall Street Journal","link":"https://finance.yahoo.com/m/92535b87-b766-3bbe-ab25-1cc416bcc26f/tesla-is-running-out-of-time.html","providerPublishTime":"2024-04-16T11:52:00.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/335PpXsiMYa3Hn4CNJeAOQ--~B/aD02NDA7dz0xMjgwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/wsj.com/3b5ffd2292a70c4cd35baf00e43a7633","width":1280,"height":640,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/JzvtESaklK9DP2zLBKtmOA--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/wsj.com/3b5ffd2292a70c4cd35baf00e43a7633","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA"]},{"uuid":"240eb652-2caa-3752-9245-c70c574838bc","title":"Tesla (TSLA) Reduces FSD Monthly Subscription Price by 50%","publisher":"Zacks","link":"https://finance.yahoo.com/news/tesla-tsla-reduces-fsd-monthly-152400436.html","providerPublishTime":"2024-04-15T15:24:00.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/qcNfuGLpp8.CUP2WyvvZ3Q--~B/aD00MDA7dz02MzU7YXBwaWQ9eXRhY2h5b24-/https://media.zenfs.com/en/zacks.com/cdf0e845342e2ccbc2f5c42fc22f87f1","width":635,"height":400,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/WErXXk50jZZ6f9C6cUPH3A--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/zacks.com/cdf0e845342e2ccbc2f5c42fc22f87f1","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA"]},{"uuid":"990b531b-7a5a-3aa3-a0c7-31e38280ac05","title":"Tesla's Latest Price Cut Looks Desperate","publisher":"Motley Fool","link":"https://finance.yahoo.com/m/990b531b-7a5a-3aa3-a0c7-31e38280ac05/tesla%27s-latest-price-cut.html","providerPublishTime":"2024-04-16T12:30:00.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/KNQyTaRjk6Mubi1XW_0lFQ--~B/aD0xMTUzO3c9MjYwMTthcHBpZD15dGFjaHlvbg--/https://media.zenfs.com/en/motleyfool.com/616871a3356d0c8d5539a115ac73425d","width":2601,"height":1153,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/dQuucmFXZZiX1Co4apt.Fg--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/motleyfool.com/616871a3356d0c8d5539a115ac73425d","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA"]},{"uuid":"fb91fbfd-bf56-31bf-a3e4-75f5b395952c","title":"Analysts weigh in on 'far-reaching' Tesla layoffs as stock extends slump","publisher":"TheStreet","link":"https://finance.yahoo.com/m/fb91fbfd-bf56-31bf-a3e4-75f5b395952c/analysts-weigh-in-on.html","providerPublishTime":"2024-04-16T12:27:51.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/.JhYgvFgP97vm5LYI6Syrw--~B/aD04MDA7dz0xMTYyO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/thestreet_881/3d4c82c51cb3741a69a5d6778146c167","width":1162,"height":800,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/ON0RpsMsoewiwqLMFcSlSw--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/thestreet_881/3d4c82c51cb3741a69a5d6778146c167","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA"]},{"uuid":"4e70b8b9-17fe-3804-b8a9-f3c0f69fb9ac","title":"Tesla Stock Is Down 60%. How Much Further Could It Tumble?","publisher":"Motley Fool","link":"https://finance.yahoo.com/m/4e70b8b9-17fe-3804-b8a9-f3c0f69fb9ac/tesla-stock-is-down-60%25.-how.html","providerPublishTime":"2024-04-16T10:30:00.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/7.Un9AUGmNfmaUSkxa_K1g--~B/aD0xMDgwO3c9MTgwMDthcHBpZD15dGFjaHlvbg--/https://media.zenfs.com/en/motleyfool.com/25a84feec7f9dcdd855a5209065aa69e","width":1800,"height":1080,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/zjQmXENIt5KE0TP7yY9Whw--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/motleyfool.com/25a84feec7f9dcdd855a5209065aa69e","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["TSLA"]},{"uuid":"ac3a04e6-c8de-358b-bb01-ccb1922b6d6d","title":"Stocks to Watch Tuesday: UnitedHealth, Tesla, J&J, Morgan Stanley","publisher":"The Wall Street Journal","link":"https://finance.yahoo.com/m/ac3a04e6-c8de-358b-bb01-ccb1922b6d6d/stocks-to-watch-tuesday%3A.html","providerPublishTime":"2024-04-16T14:04:10.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/5OXenMtMcpv9ijMGh9V9lw--~B/aD02NDA7dz0xMjgwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/wsj.com/ffda70b68331156111c4024b1f20b857","width":1280,"height":640,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/IRGUPhUnl5f8UtL7FAKmLw--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/wsj.com/ffda70b68331156111c4024b1f20b857","width":140,"height":140,"tag":"140x140"}]},"relatedTickers":["LYV","MS","BAC","UNH"]},{"uuid":"3a065977-f4ea-3475-8f56-df9bc121b22a","title":"Are Battery-Powered Home Appliances in Our Future?","publisher":"The Wall Street Journal","link":"https://finance.yahoo.com/m/3a065977-f4ea-3475-8f56-df9bc121b22a/are-battery-powered-home.html","providerPublishTime":"2024-04-16T14:00:00.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/hEYm9ykybfvm3rZLQ5DcgQ--~B/aD02NDA7dz0xMjgwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/wsj.com/98f5293e30b2c916f83fcb0e1ecc02be","width":1280,"height":640,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/3FFEYwAP1sY7vXS3Nab72A--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/wsj.com/98f5293e30b2c916f83fcb0e1ecc02be","width":140,"height":140,"tag":"140x140"}]}},{"uuid":"e68b0c59-cb17-345d-b487-b8e385f37701","title":"Bill Gates Says AI Will 'Absolutely' Play A Role In Climate Change By Allowing Scientists To Genetically Modify Beef Cows","publisher":"Benzinga","link":"https://finance.yahoo.com/news/bill-gates-says-ai-absolutely-140014848.html","providerPublishTime":"2024-04-16T14:00:14.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/fPCpfoFoiiWEZw6COoc_7A--~B/aD01NjM7dz0xMDAwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/Benzinga/92359fd4499b44118bea465ee299ecf7","width":1000,"height":563,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/zdzXz2u0nHY4aYeCqMIHYQ--~B/Zmk9ZmlsbDtoPTE0MDtweW9mZj0wO3c9MTQwO2FwcGlkPXl0YWNoeW9u/https://media.zenfs.com/en/Benzinga/92359fd4499b44118bea465ee299ecf7","width":140,"height":140,"tag":"140x140"}]}},{"uuid":"ff68e1fa-7e16-39a8-83c0-03a564e678bc","title":"1 Wall Street Analyst Thinks Tesla Stock Is Going to $120. Is It a Sell?","publisher":"Motley Fool","link":"https://finance.yahoo.com/m/ff68e1fa-7e16-39a8-83c0-03a564e678bc/1-wall-street-analyst-thinks.html","providerPublishTime":"2024-04-16T12:07:22.000Z","type":"STORY","thumbnail":{"resolutions":[{"url":"https://s.yimg.com/uu/api/res/1.2/rAJuk.7EyeyFLBUt9ibBRQ--~B/aD0xNDE0O3c9MjEyMDthcHBpZD15dGFjaHlvbg--/https://media.zenfs.com/en/motleyfool.com/cf7d5cec649a0ee8c0e22afc97a199f9","width":2120,"height":1414,"tag":"original"},{"url":"https://s.yimg.com/uu/api/res/1.2/SNi5onMfd0lZI2fZRs3REQ--~B/Zmk9ZmlsbDtoPTE0MDtweW...
                                                                                                                                                                                                                    
                                                                                                    

News - CÓDIGOS DE EJEMPLO


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 - Características del Endpoint

Objeto Descripción
ticker [Requerido] the stock ticker/ symbol
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"language":"en-US","region":"US","quoteType":"EQUITY","typeDisp":"Equity","quoteSourceName":"Nasdaq Real Time Price","triggerable":true,"customPriceAlertConfidence":"HIGH","currency":"USD","marketState":"PRE","exchange":"NMS","shortName":"Tesla, Inc.","longName":"Tesla, Inc.","messageBoardId":"finmb_27444752","exchangeTimezoneName":"America/New_York","exchangeTimezoneShortName":"EDT","gmtOffSetMilliseconds":-14400000,"market":"us_market","esgPopulated":false,"regularMarketChangePercent":1.6534768,"regularMarketPrice":174.6,"hasPrePostMarketData":true,"firstTradeDateMilliseconds":"2010-06-29T13:30:00.000Z","priceHint":2,"preMarketChange":-2.8400116,"preMarketChangePercent":-1.6265817,"preMarketTime":"2024-04-12T13:22:04.000Z","preMarketPrice":171.76,"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.48,"epsCurrentYear":2.55,"priceEpsCurrentYear":68.47059,"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.172417,"priceToBook":8.878718,"sourceInterval":15,"exchangeDataDelayedBy":0,"averageAnalystRating":"2.9 - Hold","tradeable":false,"cryptoTradeable":false,"displayName":"Tesla","symbol":"TSLA"}
                                                                                                                                                                                                                    
                                                                                                    

Stock Full Information - CÓDIGOS DE EJEMPLO


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 - Características del Endpoint

Objeto Descripción
ticker [Requerido] the stock ticker/ symbol
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"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","hasPrePostMarketData":true,"firstTradeDateMilliseconds":"2010-06-29T13:30:00.000Z","priceHint":2,"preMarketChange":-2.7150116,"preMarketChangePercent":-1.5549895,"preMarketTime":"2024-04-12T13:22:30.000Z","preMarketPrice":171.885,"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.48,"epsCurrentYear":2.55,"priceEpsCurrentYear":68.47059,"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.172417,"priceToBook":8.878718,"sourceInterval":15,"exchangeDataDelayedBy":0,"averageAnalystRating":"2.9 - Hold","tradeable":false,"cryptoTradeable":false,"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,"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":105,"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":13,"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":44,"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":7,"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":125,"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":106,"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":1,"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":393,"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":13,"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":22,"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":26,"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":197,"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":9,"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":42,"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":9,"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":71,"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":622,"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":23,"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":24,"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":50,"bid":0...
                                                                                                                                                                                                                    
                                                                                                    

Stock Options - CÓDIGOS DE EJEMPLO


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


    

Clave de Acceso a la API y Autenticación

Después de registrarte, a cada desarrollador se le asigna una clave de acceso a la API personal, una combinación única de letras y dígitos proporcionada para acceder a nuestro endpoint de la API. Para autenticarte con el Yahoo Finance API simplemente incluye tu token de portador en el encabezado de Autorización.
Encabezados
Encabezado Descripción
Autorización [Requerido] Debería ser Bearer access_key. Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito.

Precios Simples y Transparentes

Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.

🚀 PLAN CORPORATIVO A MEDIDA

Comienza en
$ 10.000/Año


  • Volumen Personalizado
  • Límite de solicitudes personalizado
  • Soporte al Cliente Especializado
  • Monitoreo de API en Tiempo Real

Funciones favoritas de los clientes

  • ✔︎ Paga Solo por Solicitudes Exitosas
  • ✔︎ Prueba Gratuita de 7 Días
  • ✔︎ Soporte Multilenguaje
  • ✔︎ Una Clave API, Todas las APIs.
  • ✔︎ Panel de Control Intuitivo
  • ✔︎ Manejo de Errores Integral
  • ✔︎ Documentación Amigable para Desarrolladores
  • ✔︎ Integración con Postman
  • ✔︎ Conexiones HTTPS Seguras
  • ✔︎ Tiempo de Actividad Fiable

Yahoo Finance API FAQs

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.

The '/yhprice' endpoint returns real-time pricing information for a specified stock ticker. The response includes key fields such as the stock symbol, current price, currency, symbol name, and market capitalization.

The '/news' endpoint accepts the 'ticker' parameter to specify the stock symbol and an optional 'limit' parameter to define the maximum number of news articles to retrieve, defaulting to 14 if not provided.

The response from the '/fullData' endpoint is structured as a JSON object containing comprehensive stock details. Key fields include the stock symbol, price, currency, and additional financial metrics relevant to the stock.

The '/stockOptions' endpoint provides detailed information about stock options for a specified ticker, including expiration dates, strike prices, and other relevant option data, aiding in options trading analysis.

Users can customize their search requests by specifying the 'query' parameter for the stock or term they wish to search, along with 'quotesCount' to define the number of quotes returned and 'limit' for the maximum results.

The '/yhf' endpoint returns a JSON object containing summary details about a stock, including fields such as price, summary detail, and other financial indicators that provide insights into the stock's performance.

Typical use cases for the '/yhprice' endpoint include real-time stock tracking, algorithmic trading, and portfolio management, allowing users to make informed decisions based on current market conditions.

Data accuracy is maintained through Yahoo's robust infrastructure, which regularly updates financial information from reliable sources, ensuring users receive timely and accurate market data for their analyses.

General FAQs

Zyla API Hub es como una gran tienda de APIs, donde puedes encontrar miles de ellas en un solo lugar. También ofrecemos soporte dedicado y monitoreo en tiempo real de todas las APIs. Una vez que te registres, puedes elegir qué APIs quieres usar. Solo recuerda que cada API necesita su propia suscripción. Pero si te suscribes a varias, usarás la misma clave para todas, lo que hace todo más fácil para ti.

Los precios se muestran en USD (dólar estadounidense), EUR (euro), CAD (dólar canadiense), AUD (dólar australiano) y GBP (libra esterlina). Aceptamos todas las principales tarjetas de débito y crédito. Nuestro sistema de pago utiliza la última tecnología de seguridad y está respaldado por Stripe, una de las compañías de pago más confiables del mundo. Si tienes algún problema para pagar con tarjeta, contáctanos en [email protected]


Además, si ya tienes una suscripción activa en cualquiera de estas monedas (USD, EUR, CAD, AUD, GBP), esa moneda se mantendrá para suscripciones posteriores. Puedes cambiar la moneda en cualquier momento siempre que no tengas suscripciones activas.

La moneda local que aparece en la página de precios se basa en el país de tu dirección IP y se proporciona solo como referencia. Los precios reales están en USD (dólar estadounidense). Cuando realices un pago, el cargo aparecerá en tu estado de cuenta en USD, incluso si ves el monto equivalente en tu moneda local en nuestro sitio web. Esto significa que no puedes pagar directamente en tu moneda local.

Ocasionalmente, un banco puede rechazar el cargo debido a sus configuraciones de protección contra fraude. Te sugerimos comunicarte con tu banco primero para verificar si están bloqueando nuestros cargos. También puedes acceder al Portal de Facturación y cambiar la tarjeta asociada para realizar el pago. Si esto no funciona y necesitas más ayuda, por favor contacta a nuestro equipo en [email protected]

Los precios se determinan mediante una suscripción recurrente mensual o anual, dependiendo del plan elegido.

Las llamadas a la API se descuentan de tu plan en base a solicitudes exitosas. Cada plan incluye una cantidad específica de llamadas que puedes realizar por mes. Solo las llamadas exitosas, indicadas por una respuesta con estado 200, se contarán en tu total. Esto asegura que las solicitudes fallidas o incompletas no afecten tu cuota mensual.

Zyla API Hub funciona con un sistema de suscripción mensual recurrente. Tu ciclo de facturación comenzará el día en que compres uno de los planes de pago, y se renovará el mismo día del mes siguiente. Así que recuerda cancelar tu suscripción antes si quieres evitar futuros cargos.

Para actualizar tu plan de suscripción actual, simplemente ve a la página de precios de la API y selecciona el plan al que deseas actualizarte. La actualización será instantánea, permitiéndote disfrutar inmediatamente de las funciones del nuevo plan. Ten en cuenta que las llamadas restantes de tu plan anterior no se transferirán al nuevo plan, por lo que debes considerar esto al actualizar. Se te cobrará el monto total del nuevo plan.

Para verificar cuántas llamadas a la API te quedan en el mes actual, revisa el campo 'X-Zyla-API-Calls-Monthly-Remaining' en el encabezado de la respuesta. Por ejemplo, si tu plan permite 1,000 solicitudes por mes y has usado 100, este campo mostrará 900 llamadas restantes.

Para ver el número máximo de solicitudes a la API que permite tu plan, revisa el encabezado de la respuesta 'X-Zyla-RateLimit-Limit'. Por ejemplo, si tu plan incluye 1,000 solicitudes por mes, este encabezado mostrará 1,000.

El encabezado 'X-Zyla-RateLimit-Reset' muestra el número de segundos hasta que tu límite se restablezca. Esto te indica cuándo tu conteo de solicitudes se reiniciará. Por ejemplo, si muestra 3,600, significa que faltan 3,600 segundos para que el límite se restablezca.

Sí, puedes cancelar tu plan en cualquier momento desde tu cuenta, seleccionando la opción de cancelación en la página de Facturación. Ten en cuenta que las actualizaciones, degradaciones y cancelaciones tienen efecto inmediato. Además, al cancelar ya no tendrás acceso al servicio, incluso si te quedaban llamadas en tu cuota.

Puedes contactarnos a través de nuestro canal de chat para recibir asistencia inmediata. Siempre estamos en línea de 8 a. m. a 5 p. m. (EST). Si nos contactas fuera de ese horario, te responderemos lo antes posible. Además, puedes escribirnos por correo electrónico a [email protected]

Para darte la oportunidad de probar nuestras APIs sin compromiso, ofrecemos una prueba gratuita de 7 días que te permite realizar hasta 50 llamadas a la API sin costo. Esta prueba solo se puede usar una vez, por lo que recomendamos aplicarla a la API que más te interese. Aunque la mayoría de nuestras APIs ofrecen prueba gratuita, algunas pueden no hacerlo. La prueba finaliza después de 7 días o cuando realices 50 solicitudes, lo que ocurra primero. Si alcanzas el límite de 50 solicitudes durante la prueba, deberás "Iniciar tu Plan de Pago" para continuar haciendo solicitudes. Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios. Alternativamente, si no cancelas tu suscripción antes del día 7, tu prueba gratuita finalizará y tu plan se cobrará automáticamente, otorgándote acceso a todas las llamadas a la API especificadas en tu plan. Ten esto en cuenta para evitar cargos no deseados.

Después de 7 días, se te cobrará el monto total del plan al que estabas suscrito durante la prueba. Por lo tanto, es importante cancelar antes de que finalice el periodo de prueba. No se aceptan solicitudes de reembolso por olvidar cancelar a tiempo.

Cuando te suscribes a una prueba gratuita de una API, puedes realizar hasta 50 llamadas. Si deseas realizar más llamadas después de este límite, la API te pedirá que "Inicies tu Plan de Pago". Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios.

Las Órdenes de Pago se procesan entre el día 20 y el 30 de cada mes. Si envías tu solicitud antes del día 20, tu pago será procesado dentro de ese período.

 Nivel de Servicio
80%
 Tiempo de Respuesta
2.047ms

Categoría:


APIs Relacionadas


También te puede interesar