11openapi : 3.0.0
22info :
33 contact : {}
4- description : This REST API provides endpoints to search for trending tickers and get ticker details.
4+ description : This REST API provides endpoints to search for trending tickers and
5+ get ticker details.
56 termsOfService : http://swagger.io/terms/
67 title : TickerTrends API
78 version : 2.1.0
@@ -94,6 +95,30 @@ paths:
9495 name : timeframe
9596 schema :
9697 type : string
98+ - description : Start time in 24-hour format (e.g., 09:15)
99+ in : query
100+ name : time_from
101+ required : true
102+ schema :
103+ type : string
104+ - description : End time in 24-hour format (e.g., 22:30)
105+ in : query
106+ name : time_to
107+ required : true
108+ schema :
109+ type : string
110+ - description : Start date in ISO 8601 format (e.g., 2024-12-30)
111+ in : query
112+ name : date_from
113+ required : true
114+ schema :
115+ type : string
116+ - description : End date in ISO 8601 format (e.g., 2024-12-30)
117+ in : query
118+ name : date_to
119+ required : true
120+ schema :
121+ type : string
97122 - description : Page number
98123 in : query
99124 name : page
@@ -110,7 +135,7 @@ paths:
110135 content :
111136 application/json :
112137 schema :
113- $ref : " #/components/schemas/httpapi.trendingTickersListAPIResponse "
138+ $ref : " #/components/schemas/models.TrendingTickersListAPIResponse "
114139 " 400 " :
115140 description : Bad Request
116141 content :
@@ -122,7 +147,7 @@ paths:
122147 content :
123148 application/json :
124149 schema :
125- $ref : " #/components/schemas/httpapi.trendingTickersListAPIResponse "
150+ $ref : " #/components/schemas/models.TrendingTickersListAPIResponse "
126151 security :
127152 - ApiKeyAuth : []
128153 summary : Get ticker trend list data
@@ -186,15 +211,6 @@ components:
186211 ok :
187212 type : boolean
188213 type : object
189- httpapi.security :
190- properties :
191- exchange :
192- type : string
193- name :
194- type : string
195- ticker :
196- type : string
197- type : object
198214 httpapi.tickerTrendAPIResponse :
199215 properties :
200216 data :
@@ -230,24 +246,30 @@ components:
230246 time_bucket :
231247 type : string
232248 type : object
233- httpapi.trendingTickersListAPIResponse :
249+ models.Security :
250+ properties :
251+ exchange :
252+ type : string
253+ name :
254+ type : string
255+ ticker :
256+ type : string
257+ type : object
258+ models.TrendingTickersListAPIResponse :
234259 properties :
235260 data :
236261 items :
237- $ref : " #/components/schemas/httpapi.trendingTickersListData "
262+ $ref : " #/components/schemas/models.TrendingTickersListData "
238263 type : array
239264 ok :
240265 type : boolean
241266 type : object
242- httpapi.trendingTickersListData :
267+ models.TrendingTickersListData :
243268 properties :
244269 count :
245270 type : integer
246271 pct_chg :
247272 type : integer
248273 security :
249- $ref : " #/components/schemas/httpapi.security "
274+ $ref : " #/components/schemas/models.Security "
250275 type : object
251- servers :
252- - url : https://api.benzinga.com
253- description : Default
0 commit comments