{
"success": true,
"meta": {
"request_id": "req_trends_now_8921a",
"plugin": "trends",
"endpoint": "trending-now",
"tier": "PRO",
"cached": false,
"latency_ms": 842.15,
"timestamp": "2026-10-28T14:00:00+00:00"
},
"data": {
"geo": "US",
"hours": 24,
"timeWindow": "24h",
"category": "Technology",
"categoryId": 18,
"query": null,
"language": "en",
"totalMatching": 42,
"offset": 0,
"pageSize": 1,
"nextOffset": 1,
"hasMore": true,
"items": [
{
"rank": 1,
"keyword": "apple event",
"normalizedKeyword": "apple event",
"geo": "US",
"volume": 200000,
"volumeFormatted": "200K+",
"volumeGrowthPct": 1000,
"isBreakout": true,
"startedTimestamp": 1793129400,
"startedAt": "2026-10-27T19:30:00+00:00",
"endedTimestamp": null,
"endedAt": null,
"isActive": true,
"topicIds": [
18,
3
],
"topicNames": [
"Technology",
"Business and Finance"
],
"trendKeywords": [
"apple event",
"m4 macbook announcement",
"apple keynote"
],
"picture": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcExampleTechThumb",
"pictureSource": "The Verge",
"newsCount": 1,
"news": [
{
"title": "Everything announced at the October hardware keynote",
"url": "https://www.theverge.com/tech/october-hardware-keynote-summary",
"source": "The Verge",
"picture": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcExampleTechThumb",
"publishedAt": "2026-10-27T20:00:00+00:00",
"snippet": "Search interest in the hardware event surged +1,000% over the past 24 hours."
}
],
"scrapedAt": "2026-10-28T14:00:00+00:00"
}
]
},
"error": null
}
curl --location --request GET 'https://zylalabs.com/api/14737/real-time+trending+topics+and+breaking+news+api/38134/get+real-time+google+trending+searches?page_size=20&offset=Optionallanguage=en&geo=US&hours=24&category=technology' --header 'Authorization: Bearer YOUR_API_KEY'
{
"success": true,
"meta": {
"request_id": "req_trends_iot_8921a",
"plugin": "trends",
"endpoint": "interest-over-time",
"tier": "PRO",
"cached": false,
"latency_ms": 542.18,
"timestamp": "2026-11-05T12:00:00+00:00"
},
"data": {
"keywords": [
"artificial intelligence",
"machine learning"
],
"geo": "US",
"timeframe": "today 3-m",
"gprop": "web",
"category": null,
"categoryId": 0,
"language": "en",
"pointsCount": 3,
"averages": {
"artificial intelligence": 78.33,
"machine learning": 34.67
},
"peaks": {
"artificial intelligence": 100,
"machine learning": 42
},
"latestValues": {
"artificial intelligence": 88,
"machine learning": 36
},
"timeline": [
{
"timestampUtc": "2026-11-03T00:00:00+00:00",
"values": {
"artificial intelligence": 67,
"machine learning": 30
},
"isPartial": false
},
{
"timestampUtc": "2026-11-04T00:00:00+00:00",
"values": {
"artificial intelligence": 100,
"machine learning": 42
},
"isPartial": false
},
{
"timestampUtc": "2026-11-05T00:00:00+00:00",
"values": {
"artificial intelligence": 88,
"machine learning": 36
},
"isPartial": true
}
],
"scrapedAt": "2026-11-05T12:00:00+00:00"
},
"error": null
}
curl --location --request GET 'https://zylalabs.com/api/14737/real-time+trending+topics+and+breaking+news+api/38135/get+keyword+search+interest+over+time?keywords=artificial intelligence,machine learning&timeframe=today 3-m&geo=US&gprop=web&language=en' --header 'Authorization: Bearer YOUR_API_KEY'
{
"success": true,
"meta": {
"request_id": "req_trends_breakout_8921a",
"plugin": "trends",
"endpoint": "breakouts",
"tier": "PRO",
"cached": false,
"latency_ms": 4.12,
"timestamp": "2026-10-28T14:00:00+00:00"
},
"data": {
"geo": "US",
"hours": 24,
"timeWindow": "24h",
"category": "Technology",
"categoryId": 18,
"minGrowthPct": 500,
"minVolume": 10000,
"language": "en",
"totalMatching": 12,
"offset": 0,
"pageSize": 1,
"nextOffset": 1,
"hasMore": true,
"items": [
{
"rank": 1,
"keyword": "apple event",
"normalizedKeyword": "apple event",
"geo": "US",
"volume": 200000,
"volumeFormatted": "200K+",
"volumeGrowthPct": 1000,
"isBreakout": true,
"startedTimestamp": 1793129400,
"startedAt": "2026-10-27T19:30:00+00:00",
"endedTimestamp": null,
"endedAt": null,
"isActive": true,
"topicIds": [
18,
3
],
"topicNames": [
"Technology",
"Business and Finance"
],
"trendKeywords": [
"apple event",
"m4 macbook announcement",
"apple keynote"
],
"picture": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcExampleTechThumb",
"pictureSource": "The Verge",
"newsCount": 1,
"news": [
{
"title": "Everything announced at the October hardware keynote",
"url": "https://www.theverge.com/tech/october-hardware-keynote-summary",
"source": "The Verge",
"picture": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcExampleTechThumb",
"publishedAt": "2026-10-27T20:00:00+00:00",
"snippet": "Search interest in the hardware event surged +1,000% over the past 24 hours."
}
],
"scrapedAt": "2026-10-28T14:00:00+00:00"
}
]
},
"error": null
}
curl --location --request GET 'https://zylalabs.com/api/14737/real-time+trending+topics+and+breaking+news+api/38136/get+breakout+search+trends?geo=US&hours=24&min_growth_pct=500&min_volume=Optionalpage_size=20' --header 'Authorization: Bearer YOUR_API_KEY'
{
"success": true,
"meta": {
"request_id": "req_trends_news_8921a",
"plugin": "trends",
"endpoint": "news",
"tier": "PRO",
"cached": false,
"latency_ms": 238.4,
"timestamp": "2026-10-28T14:00:00+00:00"
},
"data": {
"geo": "US",
"category": "Technology",
"categoryId": 18,
"language": "en",
"returnedCount": 1,
"items": [
{
"rank": 1,
"keyword": "apple event",
"normalizedKeyword": "apple event",
"geo": "US",
"volume": 200000,
"volumeFormatted": "200K+",
"volumeGrowthPct": 1000,
"isBreakout": true,
"startedTimestamp": 1793129400,
"startedAt": "2026-10-27T19:30:00+00:00",
"endedTimestamp": null,
"endedAt": null,
"isActive": true,
"topicIds": [
18,
3
],
"topicNames": [
"Technology",
"Business and Finance"
],
"trendKeywords": [
"apple event",
"m4 macbook announcement",
"apple keynote"
],
"picture": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcExampleTechThumb",
"pictureSource": "The Verge",
"newsCount": 1,
"news": [
{
"title": "Everything announced at the October hardware keynote",
"url": "https://www.theverge.com/tech/october-hardware-keynote-summary",
"source": "The Verge",
"picture": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcExampleTechThumb",
"publishedAt": "2026-10-27T20:00:00+00:00",
"snippet": "Search interest in the hardware event surged +1,000% over the past 24 hours."
}
],
"scrapedAt": "2026-10-28T14:00:00+00:00"
}
]
},
"error": null
}
curl --location --request GET 'https://zylalabs.com/api/14737/real-time+trending+topics+and+breaking+news+api/38137/get+breaking+trend+news?geo=US&page_size=10&language=en' --header 'Authorization: Bearer YOUR_API_KEY'
{
"success": true,
"meta": {
"request_id": "req_trends_cats_8921a",
"plugin": "trends",
"endpoint": "categories",
"tier": "PRO",
"cached": true,
"latency_ms": 0.45,
"timestamp": "2026-10-28T14:00:00+00:00"
},
"data": {
"categoriesCount": 19,
"categories": [
{
"id": 1,
"slug": "autos_and_vehicles",
"name": "Autos and Vehicles"
},
{
"id": 2,
"slug": "beauty_and_fashion",
"name": "Beauty and Fashion"
},
{
"id": 3,
"slug": "business_and_finance",
"name": "Business and Finance"
},
{
"id": 4,
"slug": "entertainment",
"name": "Entertainment"
},
{
"id": 16,
"slug": "shopping",
"name": "Shopping"
},
{
"id": 17,
"slug": "sports",
"name": "Sports"
},
{
"id": 18,
"slug": "technology",
"name": "Technology"
}
],
"timeWindows": [
{
"code": "4h",
"hours": 4,
"label": "Past 4 Hours (Breaking Viral Spikes)"
},
{
"code": "24h",
"hours": 24,
"label": "Past 24 Hours (Daily Trending Searches)"
},
{
"code": "48h",
"hours": 48,
"label": "Past 48 Hours (2-Day Momentum)"
},
{
"code": "7d",
"hours": 168,
"label": "Past 7 Days (Weekly Top Trends)"
}
],
"popularGeos": [
"US",
"GB",
"CA",
"AU",
"DE",
"FR",
"ES",
"IT",
"JP",
"KR",
"IN",
"BR"
]
},
"error": null
}
curl --location --request GET 'https://zylalabs.com/api/14737/real-time+trending+topics+and+breaking+news+api/38138/get+supported+categories+and+windows' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 实时热门话题和突发新闻 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
您可以使用2个字母的ISO代码(例如US GB DE JP BR IN CA AU FR)或州子区域(例如US-CA US-NY)查询超过100个国家,查询时间范围为4个窗口:4小时(4h) 24小时(24h) 48小时(48h)和7天(168h)
您可以在单个请求中比较1到5个以逗号分隔的关键词,时间范围从过去一小时(现在1小时)和过去7天(现在7天)到3个月(今天3个月)、12个月(今天12个月)、5年(今天5年)或自定义日期范围
传递类别参数与19个支持的类别标识符中的任何一个(例如科技、商业、购物、体育、娱乐、健康、科学、游戏、政治、气候、汽车、美容或食品),这些标识符由获取支持的类别和Windows端点返回
每个端点返回各种类型的数据,包括趋势搜索、关键词搜索兴趣随时间的变化、突破性趋势和突发新闻文章。例如,“获取实时谷歌趋势搜索”端点提供搜索量、增长百分比和相关查询,而“获取突发性趋势新闻”端点包括标题和文章链接
响应数据中的关键字段包括“关键字”、“搜索量”、“搜索量增长百分比”、“是否突破”和“类别”。例如,在热门搜索的响应中,“搜索量”表示估计的搜索兴趣,而“是否突破”标识出兴趣的显著激增。
参数因端点而异,但通常包括“geo”用于国家,“timeWindow”用于回溯期,“keywords”用于搜索词,以及“category”用于主题过滤。例如,“获取按时间变化的关键词搜索兴趣”端点最多接受5个关键词,并允许自定义时间范围
响应数据结构包含一个“meta”部分,包含请求的详细信息,以及一个“data”部分,包含主要内容。“data”部分包括用于项目、时间线或类别的数组,使解析和利用特定信息变得容易,例如搜索趋势或新闻文章
数据来源于谷歌趋势和经过验证的出版商新闻文章这确保了实时搜索兴趣和可信新闻报道的结合增强了通过API提供的信息的可靠性
典型的用例包括市场调研 内容创作 趋势分析 和新闻聚合 企业可以利用热门搜索来指导营销策略 而记者可以使用突发新闻数据来保持对时事的更新
用户可以分析返回的数据以识别趋势 比较关键词绩效 并监控新闻报道 例如 通过检查“volumeGrowthPct”用户可以发现新兴话题 而“isBreakout”则有助于突出可能值得进一步探索的显著兴趣激增
如果结果是部分或为空,用户应检查其参数的准确性,例如确保正确的国家代码或时间范围。此外,查看“totalMatching”字段可以提供有关可用结果数量的见解,从而指导调整查询以获得更好的结果