
Yahoo Finance
Pricing
$10.00/month + usage

Yahoo Finance
Extract Yahoo Finance Market Data. Very fast and reliable
0.0 (0)
Pricing
$10.00/month + usage
1
Monthly users
3
Runs succeeded
>99%
Last modified
6 months ago
You can access the Yahoo Finance programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1{
2 "openapi": "3.0.1",
3 "info": {
4 "version": "0.0",
5 "x-build-id": "myPjTT8uPdLUTw14w"
6 },
7 "servers": [
8 {
9 "url": "https://api.apify.com/v2"
10 }
11 ],
12 "paths": {
13 "/acts/nmdmnd~yahoo-finance/run-sync-get-dataset-items": {
14 "post": {
15 "operationId": "run-sync-get-dataset-items-nmdmnd-yahoo-finance",
16 "x-openai-isConsequential": false,
17 "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18 "tags": [
19 "Run Actor"
20 ],
21 "requestBody": {
22 "required": true,
23 "content": {
24 "application/json": {
25 "schema": {
26 "$ref": "#/components/schemas/inputSchema"
27 }
28 }
29 }
30 },
31 "parameters": [
32 {
33 "name": "token",
34 "in": "query",
35 "required": true,
36 "schema": {
37 "type": "string"
38 },
39 "description": "Enter your Apify token here"
40 }
41 ],
42 "responses": {
43 "200": {
44 "description": "OK"
45 }
46 }
47 }
48 },
49 "/acts/nmdmnd~yahoo-finance/runs": {
50 "post": {
51 "operationId": "runs-sync-nmdmnd-yahoo-finance",
52 "x-openai-isConsequential": false,
53 "summary": "Executes an Actor and returns information about the initiated run in response.",
54 "tags": [
55 "Run Actor"
56 ],
57 "requestBody": {
58 "required": true,
59 "content": {
60 "application/json": {
61 "schema": {
62 "$ref": "#/components/schemas/inputSchema"
63 }
64 }
65 }
66 },
67 "parameters": [
68 {
69 "name": "token",
70 "in": "query",
71 "required": true,
72 "schema": {
73 "type": "string"
74 },
75 "description": "Enter your Apify token here"
76 }
77 ],
78 "responses": {
79 "200": {
80 "description": "OK",
81 "content": {
82 "application/json": {
83 "schema": {
84 "$ref": "#/components/schemas/runsResponseSchema"
85 }
86 }
87 }
88 }
89 }
90 }
91 },
92 "/acts/nmdmnd~yahoo-finance/run-sync": {
93 "post": {
94 "operationId": "run-sync-nmdmnd-yahoo-finance",
95 "x-openai-isConsequential": false,
96 "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97 "tags": [
98 "Run Actor"
99 ],
100 "requestBody": {
101 "required": true,
102 "content": {
103 "application/json": {
104 "schema": {
105 "$ref": "#/components/schemas/inputSchema"
106 }
107 }
108 }
109 },
110 "parameters": [
111 {
112 "name": "token",
113 "in": "query",
114 "required": true,
115 "schema": {
116 "type": "string"
117 },
118 "description": "Enter your Apify token here"
119 }
120 ],
121 "responses": {
122 "200": {
123 "description": "OK"
124 }
125 }
126 }
127 }
128 },
129 "components": {
130 "schemas": {
131 "inputSchema": {
132 "type": "object",
133 "required": [
134 "market"
135 ],
136 "properties": {
137 "market": {
138 "title": "Market",
139 "enum": [
140 "world_indices",
141 "futures",
142 "bonds",
143 "currencies",
144 "options",
145 "stocks",
146 "crypto",
147 "etfs",
148 "chart"
149 ],
150 "type": "string",
151 "description": "Select the Market section to get data from.",
152 "default": "world_indices"
153 },
154 "predefined_options": {
155 "title": "Predefined Options",
156 "enum": [
157 "MOST_ACTIVES_OPTIONS",
158 "DAY_GAINERS_OPTIONS",
159 "DAY_LOSERS_OPTIONS",
160 "TOP_OPTIONS_IMPLIED_VOLATALITY",
161 "TOP_OPTIONS_OPEN_INTEREST"
162 ],
163 "type": "string",
164 "description": "Select the predefined options to get data from. Only applicable for Options.",
165 "default": "MOST_ACTIVES_OPTIONS"
166 },
167 "predefined_stocks": {
168 "title": "Predefined Stocks",
169 "enum": [
170 "MOST_ACTIVES",
171 "TRENDING",
172 "DAY_GAINERS",
173 "DAY_LOSERS",
174 "FIFTY_TWO_WK_GAINERS",
175 "FIFTY_TWO_WK_LOSERS"
176 ],
177 "type": "string",
178 "description": "Select the predefined stocks to get data from. Only applicable for Stocks.",
179 "default": "MOST_ACTIVES"
180 },
181 "predefined_crypto": {
182 "title": "Predefined Crypto",
183 "enum": [
184 "ALL_CRYPTOCURRENCIES_US",
185 "MOST_ACTIVES_CRYPTOCURRENCIES",
186 "DAY_GAINERS_CRYPTOCURRENCIES",
187 "DAY_LOSERS_CRYPTOCURRENCIES"
188 ],
189 "type": "string",
190 "description": "Select the predefined crypto to get data from. Only applicable for Cryptocurrencies.",
191 "default": "ALL_CRYPTOCURRENCIES_US"
192 },
193 "predefined_etfs": {
194 "title": "Predefined ETFS",
195 "enum": [
196 "MOST_ACTIVES_ETFS",
197 "DAY_GAINERS_ETFS",
198 "DAY_LOSERS_ETFS",
199 "TOP_PERFORMING_ETFS",
200 "TRENDING",
201 "BEST_HIST_PERFORMANCE_ETFS",
202 "TOP_ETFS_US"
203 ],
204 "type": "string",
205 "description": "Select the predefined ETFS to get data from. Only applicable for ETFs.",
206 "default": "MOST_ACTIVES_ETFS"
207 },
208 "symbol": {
209 "title": "Symbol",
210 "type": "string",
211 "description": "The symbol to use as input for Chart (Time Series) data.",
212 "default": "AAPL"
213 },
214 "interval": {
215 "title": "Interval",
216 "enum": [
217 "1m",
218 "2m",
219 "5m",
220 "15m",
221 "30m",
222 "60m",
223 "90m",
224 "1h",
225 "1d",
226 "5d",
227 "1wk",
228 "1mo",
229 "3mo"
230 ],
231 "type": "string",
232 "description": "The interval to use for Chart (Time Series) data.",
233 "default": "1d"
234 },
235 "range": {
236 "title": "Range",
237 "enum": [
238 "1d",
239 "5d",
240 "1mo",
241 "3mo",
242 "6mo",
243 "1y",
244 "2y",
245 "5y",
246 "10y",
247 "ytd",
248 "max"
249 ],
250 "type": "string",
251 "description": "The range to use for Chart (Time Series) data.",
252 "default": "1d"
253 },
254 "count": {
255 "title": "Count",
256 "type": "integer",
257 "description": "Number of records to return. Only applicable for Options, Stocks, Cryptocurrencies, ETFS.",
258 "default": 25
259 },
260 "offset": {
261 "title": "Offset",
262 "type": "integer",
263 "description": "The offset to start from. Only applicable for Options, Stocks, Cryptocurrencies, ETFS.",
264 "default": 0
265 },
266 "region": {
267 "title": "Region",
268 "enum": [
269 "US",
270 "CA",
271 "FR",
272 "DE",
273 "HK",
274 "IN",
275 "IT",
276 "ES",
277 "GB",
278 "AU",
279 "BR",
280 "CN",
281 "NL",
282 "RU",
283 "SG",
284 "SE",
285 "CH",
286 "TW",
287 "JP"
288 ],
289 "type": "string",
290 "description": "Select the region to get data from. Only applicable for Options, Stocks, Cryptocurrencies, ETFS",
291 "default": "US"
292 },
293 "proxy": {
294 "title": "Proxy configuration",
295 "type": "object",
296 "description": "Select proxies to be used by the scraper."
297 }
298 }
299 },
300 "runsResponseSchema": {
301 "type": "object",
302 "properties": {
303 "data": {
304 "type": "object",
305 "properties": {
306 "id": {
307 "type": "string"
308 },
309 "actId": {
310 "type": "string"
311 },
312 "userId": {
313 "type": "string"
314 },
315 "startedAt": {
316 "type": "string",
317 "format": "date-time",
318 "example": "2025-01-08T00:00:00.000Z"
319 },
320 "finishedAt": {
321 "type": "string",
322 "format": "date-time",
323 "example": "2025-01-08T00:00:00.000Z"
324 },
325 "status": {
326 "type": "string",
327 "example": "READY"
328 },
329 "meta": {
330 "type": "object",
331 "properties": {
332 "origin": {
333 "type": "string",
334 "example": "API"
335 },
336 "userAgent": {
337 "type": "string"
338 }
339 }
340 },
341 "stats": {
342 "type": "object",
343 "properties": {
344 "inputBodyLen": {
345 "type": "integer",
346 "example": 2000
347 },
348 "rebootCount": {
349 "type": "integer",
350 "example": 0
351 },
352 "restartCount": {
353 "type": "integer",
354 "example": 0
355 },
356 "resurrectCount": {
357 "type": "integer",
358 "example": 0
359 },
360 "computeUnits": {
361 "type": "integer",
362 "example": 0
363 }
364 }
365 },
366 "options": {
367 "type": "object",
368 "properties": {
369 "build": {
370 "type": "string",
371 "example": "latest"
372 },
373 "timeoutSecs": {
374 "type": "integer",
375 "example": 300
376 },
377 "memoryMbytes": {
378 "type": "integer",
379 "example": 1024
380 },
381 "diskMbytes": {
382 "type": "integer",
383 "example": 2048
384 }
385 }
386 },
387 "buildId": {
388 "type": "string"
389 },
390 "defaultKeyValueStoreId": {
391 "type": "string"
392 },
393 "defaultDatasetId": {
394 "type": "string"
395 },
396 "defaultRequestQueueId": {
397 "type": "string"
398 },
399 "buildNumber": {
400 "type": "string",
401 "example": "1.0.0"
402 },
403 "containerUrl": {
404 "type": "string"
405 },
406 "usage": {
407 "type": "object",
408 "properties": {
409 "ACTOR_COMPUTE_UNITS": {
410 "type": "integer",
411 "example": 0
412 },
413 "DATASET_READS": {
414 "type": "integer",
415 "example": 0
416 },
417 "DATASET_WRITES": {
418 "type": "integer",
419 "example": 0
420 },
421 "KEY_VALUE_STORE_READS": {
422 "type": "integer",
423 "example": 0
424 },
425 "KEY_VALUE_STORE_WRITES": {
426 "type": "integer",
427 "example": 1
428 },
429 "KEY_VALUE_STORE_LISTS": {
430 "type": "integer",
431 "example": 0
432 },
433 "REQUEST_QUEUE_READS": {
434 "type": "integer",
435 "example": 0
436 },
437 "REQUEST_QUEUE_WRITES": {
438 "type": "integer",
439 "example": 0
440 },
441 "DATA_TRANSFER_INTERNAL_GBYTES": {
442 "type": "integer",
443 "example": 0
444 },
445 "DATA_TRANSFER_EXTERNAL_GBYTES": {
446 "type": "integer",
447 "example": 0
448 },
449 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
450 "type": "integer",
451 "example": 0
452 },
453 "PROXY_SERPS": {
454 "type": "integer",
455 "example": 0
456 }
457 }
458 },
459 "usageTotalUsd": {
460 "type": "number",
461 "example": 0.00005
462 },
463 "usageUsd": {
464 "type": "object",
465 "properties": {
466 "ACTOR_COMPUTE_UNITS": {
467 "type": "integer",
468 "example": 0
469 },
470 "DATASET_READS": {
471 "type": "integer",
472 "example": 0
473 },
474 "DATASET_WRITES": {
475 "type": "integer",
476 "example": 0
477 },
478 "KEY_VALUE_STORE_READS": {
479 "type": "integer",
480 "example": 0
481 },
482 "KEY_VALUE_STORE_WRITES": {
483 "type": "number",
484 "example": 0.00005
485 },
486 "KEY_VALUE_STORE_LISTS": {
487 "type": "integer",
488 "example": 0
489 },
490 "REQUEST_QUEUE_READS": {
491 "type": "integer",
492 "example": 0
493 },
494 "REQUEST_QUEUE_WRITES": {
495 "type": "integer",
496 "example": 0
497 },
498 "DATA_TRANSFER_INTERNAL_GBYTES": {
499 "type": "integer",
500 "example": 0
501 },
502 "DATA_TRANSFER_EXTERNAL_GBYTES": {
503 "type": "integer",
504 "example": 0
505 },
506 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
507 "type": "integer",
508 "example": 0
509 },
510 "PROXY_SERPS": {
511 "type": "integer",
512 "example": 0
513 }
514 }
515 }
516 }
517 }
518 }
519 }
520 }
521 }
522}
Yahoo Finance OpenAPI definition
OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.
OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.
By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.
You can download the OpenAPI definitions for Yahoo Finance from the options below:
If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.
You can also check out our other API clients:
Pricing
Pricing model
RentalTo use this Actor, you have to pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage.
Free trial
3 days
Price
$10.00