{
"success": true,
"results": [
{
"pairId": 6408,
"symbol": "AAPL",
"name": "Apple Inc",
"exchange": "NASDAQ",
"assetType": "Equity",
"flagUrl": "https://i-invdn-com.financial-markets.com/flags_32x32/circle/United_States.png"
},
{
"pairId": 1253235,
"symbol": "AAPL5YUSAX",
"name": "Apple Inc CDS 5 Year USD",
"exchange": "NYSE",
"assetType": "Bond Yield",
"flagUrl": "https://i-invdn-com.financial-markets.com/flags_32x32/circle/United_States.png"
},
{
"pairId": 1193386,
"symbol": "AAPD",
"name": "Direxion Daily AAPL Bear 1X Shares",
"exchange": "NASDAQ",
"assetType": "ETF",
"flagUrl": "https://i-invdn-com.financial-markets.com/flags_32x32/circle/United_States.png"
}
],
"limit": 3,
"offset": 0,
"count": 3,
"total": 50,
"hasMore": true,
"nextOffset": 3
}
curl --location --request GET 'https://zylalabs.com/api/14794/global+financial+market+quotes+and+metrics+api/38339/search+tickers+and+instruments+autocomplete?query=AAPL§ion=quotes&limit=10&offset=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
{
"pairId": 6408,
"symbol": "AAPL",
"shortName": "Apple",
"longName": "Apple Computer Inc",
"exchange": "NASDAQ",
"currency": "USD",
"lastPrice": 348.6,
"change": 6.23,
"changePercent": 1.82,
"openPrice": 345.01,
"previousClose": 342.37,
"volume": "6,904,205",
"avgVolume": "42,662,526",
"daysRange": "344.78 - 350.34",
"fiftyTwoWeekRange": "243.42 - 355.38",
"marketCap": "5.07T",
"peRatio": "38.29",
"dividendYield": "1.08 (0.32%)",
"isMarketOpen": true,
"lastUpdate": "1794236960",
"eps": "8.98",
"revenue": "478.83B",
"beta": 1.09,
"sharesOutstanding": "14,532,182,000",
"nextEarningsDate": "Feb 04, 2027",
"oneYearChange": "27.53%",
"bidAsk": "-/-",
"bullishPercent": 66,
"bearishPercent": 34,
"technicalSummarySignals": {
"5m": "Strong Buy",
"15m": "Strong Buy",
"1h": "Strong Buy",
"1d": "Strong Buy"
},
"exchangeFlag": "https://i-invdn-com.financial-markets.com/flags_32x32/circle/United_States.png",
"instrumentType": "Stock"
}
curl --location --request GET 'https://zylalabs.com/api/14794/global+financial+market+quotes+and+metrics+api/38340/get+instrument+real-time+quote+and+overview?pair_id=6408' --header 'Authorization: Bearer YOUR_API_KEY'
{
"success": true,
"results": [
{
"date": "2026-11-09",
"open": 345.01,
"high": 350.24,
"low": 345.01,
"close": 349.05,
"volume": "5.07M",
"changePercent": "1.95%"
},
{
"date": "2026-11-06",
"open": 338.73,
"high": 345.79,
"low": 338.3,
"close": 342.37,
"volume": "44.70M",
"changePercent": "-0.52%"
},
{
"date": "2026-11-05",
"open": 353.89,
"high": 355.38,
"low": 342.06,
"close": 344.17,
"volume": "75.68M",
"changePercent": "-1.53%"
}
],
"limit": 3,
"offset": 0,
"count": 3,
"total": 21,
"hasMore": true,
"nextOffset": 3
}
curl --location --request GET 'https://zylalabs.com/api/14794/global+financial+market+quotes+and+metrics+api/38341/get+historical+ohlcv+candles?pair_id=6408&interval=P1D&limit=30&offset=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
{
"instrumentId": 6408,
"businessSummary": "Apple Inc. designs, manufactures, and markets smartphones, personal computers, tablets, wearables, and accessories. The company offers iPhone, a line of smartphones; Mac, a line of personal computers; iPad, a line of multi-purpose tablets; and wearables, home, and accessories, including Apple Watch, AirPods, Beats products, Apple Vision Pro, Apple TV 4K, HomePod, and Apple HomeView, as well as Apple branded and third-party accessories. It also provides advertising services comprising third-party licensing arrangements and own advertising platforms; AppleCare and cloud services; and payment services, including Apple Card and Apple Pay. In addition, the company operates App Store that allow customers to discover and download applications and digital content, such as books, music, video, games, and podcasts. Further, it provides digital content through subscription-based services, including Apple Arcade, a game service; Apple Fitness+, a personalized fitness service; Apple Music, which offers users a curated listening experience; Apple News+, a news and magazine service; and Apple TV, which offers original content and live sports. The company sells its products and resells third-party products through its retail and online stores, and direct sales force; its services through its various service platforms; and third-party cellular network carriers and other resellers. It serves consumer, small and mid-sized business, education, enterprise, and government markets. The company operates in North and South America, European countries, India, the Middle East, Africa, China mainland, Hong Kong, Taiwan, Japan, Australia, New Zealand, and rest of Asia. The company was formerly known as Apple Computer, Inc. and changed its name to Apple Inc. in January 2007. Apple Inc. was founded in 1976 and is headquartered in Cupertino, California.",
"sector": "Technology",
"industry": "Computers, Phones & Household Electronics",
"fullTimeEmployees": 167000,
"city": "Cupertino",
"state": "California",
"country": "United States",
"streetAddress": "One Apple Park Way MS 927-4GC",
"zipCode": "95014",
"website": "www.apple.com",
"phone": "(408) 996-1010",
"equityType": "ORD",
"industryId": 217,
"sectorId": 31,
"officers": [
{
"name": "Timothy D. Cook",
"title": "Executive Chairman of the Board",
"age": 65,
"sinceYear": 2026,
"rank": 1,
"yearBorn": null,
"totalPay": null
},
{
"name": "John Ternus",
"title": "CEO & Director",
"age": 50,
"sinceYear": 2026,
"rank": 2,
"yearBorn": null,
"totalPay": null
},
{
"name": "Andrea Jung",
"title": "Independent Director",
"age": 68,
"sinceYear": 2008,
"rank": 3,
"yearBorn": null,
"totalPay": null
}
]
}
curl --location --request GET 'https://zylalabs.com/api/14794/global+financial+market+quotes+and+metrics+api/38342/get+company+business+profile+and+executives?instrument_id=6408' --header 'Authorization: Bearer YOUR_API_KEY'
{
"success": true,
"results": [
{
"instrumentId": 1123484,
"countryId": 5,
"shortName": "Fox Corp B",
"symbol": "FOX",
"action": "Upgrade",
"date": "2026-11-09",
"firmName": "Seaport Global Securities",
"analystName": "David Joyce",
"rating": "Buy",
"pastRating": "Hold",
"priceTarget": 76,
"pastPriceTarget": null,
"price": 61.77,
"upsideDownside": 23.36
},
{
"instrumentId": 1123483,
"countryId": 5,
"shortName": "Fox Corp A",
"symbol": "FOXA",
"action": "Upgrade",
"date": "2026-11-09",
"firmName": "Seaport Global Securities",
"analystName": "David Joyce",
"rating": "Buy",
"pastRating": "Hold",
"priceTarget": 76,
"pastPriceTarget": null,
"price": 69.27,
"upsideDownside": 9.43
},
{
"instrumentId": 1166232,
"countryId": 5,
"shortName": "Compass Pathways",
"symbol": "CMPS",
"action": "Maintain",
"date": "2026-11-09",
"firmName": "Jefferies",
"analystName": "Andrew Tsai",
"rating": "Buy",
"pastRating": null,
"priceTarget": 18,
"pastPriceTarget": null,
"price": 8.79,
"upsideDownside": 102.7
}
],
"limit": 3,
"offset": 0,
"count": 3,
"total": 100,
"hasMore": true,
"nextOffset": 3
}
curl --location --request GET 'https://zylalabs.com/api/14794/global+financial+market+quotes+and+metrics+api/38343/get+latest+wall+street+upgrades+and+downgrades?limit=10&offset=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
{
"success": true,
"results": [],
"limit": 3,
"offset": 0,
"count": 0,
"total": 0,
"hasMore": false,
"nextOffset": null
}
curl --location --request GET 'https://zylalabs.com/api/14794/global+financial+market+quotes+and+metrics+api/38344/get+global+macroeconomic+calendar+events?countries=US&limit=10&offset=Optional' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 全球金融市场报价和指标 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
从我们的基础层级开始(每月 $24.99,15,000 次请求)构建和启动您的集成。当您的流量增加或需要更高的吞吐量时,可以无缝升级到专业版(35,000 次请求)、专业Plus(80,000 次请求,120 次/分钟)或终极版(175,000 次请求,240 次/分钟),实现零停机时间的大容量和并发
该API涵盖全球股票、交易所交易基金(ETF)、指数、商品、主要和次要外汇对以及北美、欧洲和亚洲交易所的顶级加密货币
市场报价和实时概览指标在活跃交易时段内以亚毫秒延迟更新,同时历史OHLCV蜡烛图按天汇总
将股票代码或公司名称提交到搜索股票自动完成端点,以获取其用于报价和基础查询的唯一工具对ID
每个端点返回特定的财务数据:搜索股票代码端点提供工具标识符和名称;实时报价端点提供市场指标,如最后价格和交易量;历史OHLCV端点提供价格条;公司简介端点包括商业摘要和高管详情;分析师评级端点显示上调和下调;宏观经济日历端点列出预定的经济事件
关键字段因端点而异:实时报价的字段包括符号、最后价格、变动百分比和市值;历史OHLCV的字段包括日期、开盘、最高、最低、收盘和成交量;公司概况的字段包括业务摘要和高管;分析师评级的字段包括行动、评级和目标价格;宏观经济日历的字段包括事件日期和描述
参数因端点而异:搜索代码端点接受金融工具名称的查询;实时报价端点需要金融工具ID;历史OHLCV端点允许指定日期范围;公司简介端点使用金融工具ID;分析师评级端点可以按日期过滤;宏观经济日历可以指定事件类型或日期
响应数据以JSON格式结构化,通常包含成功标志、结果数组和相关数据字段。例如,实时报价响应包括市场指标的摘要,而历史OHLCV响应以时间顺序组织价格数据,便于访问特定日期和指标
数据来源于全球信誉良好的金融市场和交易所,确保对股票、ETF、指数和宏观经济指标的全面覆盖。通过与金融机构的合作以及市场信息的持续更新,数据的准确性得以保持
典型的使用案例包括实时交易应用程序 投资分析 使用历史数据进行交易策略的回测 通过档案和评级监控公司业绩 以及跟踪宏观经济事件以进行经济预测和决策
用户可以利用返回的数据进行各种分析,例如跟踪股票表现、使用历史OHLCV数据进行技术分析、评估公司基本面,以及根据分析师评级和宏观经济事件做出明智的投资决策
如果结果是部分或为空,用户应检查其查询参数的准确性。例如,如果没有返回历史数据,则可能表示在指定日期范围内没有交易活动。在应用程序中实现错误处理可以帮助优雅地管理这些情况