{"symbol":"AAPL","Name":"Apple Inc.","currency":"USD","marketCap":"3.842T","regularMarketPreviousClose":260.25,"regularMarketOpen":258.72,"regularMarketChangePercent":"-0.10%","regularMarketChange":-0.26000977,"regularMarketTime":{"raw":1768320933,"fmt":"11:15AM EST"},"regularMarketPrice":259.99,"regularMarketDayHigh":261.81,"regularMarketDayLow":258.39,"regularMarketVolume":"13.342M","marketState":"REGULAR"}
curl --location --request GET 'https://zylalabs.com/api/448/realtime+stock+and+business+data+api/347/realtime+prices&symbol=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{"source":"Zylalabs - Realtime Stock Data API","data":{"message":"Either AAPL is not a valid ticker OR balance-sheet info is not available for this ticker"}}
curl --location --request GET 'https://zylalabs.com/api/448/realtime+stock+and+business+data+api/348/get+balance+sheet&symbol=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{"source":"Manwil Zaki - Realtime Stock Data API","data":{"currentPrice":259.99,"targetHighPrice":350,"targetLowPrice":350,"targetMeanPrice":350,"targetMedianPrice":350,"recommendationKey":"buy","totalCash":"54.7B","totalDebt":"112.38B","quickRatio":0.771,"currentRatio":0.893,"totalRevenue":"416.16B","revenuePerShare":27.84,"grossProfits":"195.2B","freeCashflow":"78.86B","operatingCashflow":"111.48B","revenueGrowth":"7.90%","profitMargins":"26.92%"}}
curl --location --request GET 'https://zylalabs.com/api/448/realtime+stock+and+business+data+api/349/get+ai+recommendations&symbol=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{"source":"Zylalabs - Realtime Stock Data API","data":{"address":"One Apple Park Way","city":"Cupertino","state":"CA","zip":"95014","country":"United States","phone":"(408) 996-1010","website":"https://www.apple.com","industry":"Consumer Electronics","fullTimeEmployees":166000}}
curl --location --request GET 'https://zylalabs.com/api/448/realtime+stock+and+business+data+api/350/get+asset+profile&symbol=Required' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the RealTime Stock and Business Data API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
About the API:
This API will allow you to retrieve real-time stock prices. Also, this API will provide complementary information about the company that's behind that stock like balance sheets, and finance analytics options based on AI recommendations.
Just with the ticker symbol, you will be able to retrieve the real-time prices for that stock. Also, based on that symbol, receive AI recommendations about positions.
Get additional information like balance sheets, revenue, earnings, cashflow, and more.
Use this API to have the best-updated stock platform. This is ideal for those companies that want to keep track of the latest stock prices and want to have additional information about those companies to have a better understanding of their investments.
Besides API call limitations per month, there is a limitation of 5 requests per second.
The API provides various data types: real-time stock prices, balance sheets, AI recommendations, and company profiles. Each endpoint returns structured JSON data relevant to its specific function, such as stock metrics, financial statements, or company details.
Key fields include "symbol," "marketCap," and "regularMarketPrice" for stock prices; "totalAssets" and "totalLiabilities" for balance sheets; "recommendationKey" for AI suggestions; and "industry" and "website" for company profiles.
Response data is structured in JSON format, with each endpoint returning a "source" field and a "data" object. The "data" object contains relevant key-value pairs, making it easy to access specific information.
The API offers real-time stock prices, detailed balance sheets, AI-driven investment recommendations, and comprehensive company profiles, including industry classification and contact information.
Users can customize requests by specifying the ticker symbol as a parameter for endpoints. This allows retrieval of tailored data for specific stocks, enabling focused analysis and decision-making.
The data is sourced from reliable financial markets and databases, ensuring accuracy and timeliness. The API maintains data quality through regular updates and validation checks against market standards.
Common use cases include real-time stock monitoring, financial analysis for investment decisions, evaluating company performance through balance sheets, and leveraging AI recommendations for trading strategies.
Users can analyze stock performance trends using price data, assess financial health through balance sheets, and make informed investment decisions based on AI recommendations, enhancing their overall investment strategy.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund