Yahoo Finance avatar
Yahoo Finance

Pricing

$5.00/month + usage

Go to Store
Yahoo Finance

Yahoo Finance

Developed by

Canadesk Support

Maintained by Community

Get Stock quotes, Historical data, Analyst recommendations, Price targets and more. It's fast with a very low usage cost!

0.0 (0)

Pricing

$5.00/month + usage

7

Monthly users

14

Runs succeeded

98%

Response time

4.7 hours

Last modified

2 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": "1.4",
5    "x-build-id": "qWcLeEpSP00tr0XJL"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/canadesk~yahoo-finance/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-canadesk-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/canadesk~yahoo-finance/runs": {
50      "post": {
51        "operationId": "runs-sync-canadesk-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/canadesk~yahoo-finance/run-sync": {
93      "post": {
94        "operationId": "run-sync-canadesk-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          "process",
135          "tickers"
136        ],
137        "properties": {
138          "process": {
139            "title": "Process",
140            "enum": [
141              "gh",
142              "gi",
143              "gn",
144              "gr",
145              "gp",
146              "ge",
147              "gf"
148            ],
149            "type": "string",
150            "description": "",
151            "default": "gh"
152          },
153          "tickers": {
154            "title": "Tickers",
155            "type": "array",
156            "description": "",
157            "default": [
158              "MSFT",
159              "AMZN"
160            ],
161            "items": {
162              "type": "string"
163            }
164          },
165          "period": {
166            "title": "Period",
167            "enum": [
168              "1d",
169              "5d",
170              "1mo",
171              "3mo",
172              "6mo",
173              "1y",
174              "2y",
175              "5y",
176              "10y",
177              "ytd",
178              "max"
179            ],
180            "type": "string",
181            "description": "Only applies to Get History.",
182            "default": "1y"
183          },
184          "interval": {
185            "title": "Interval",
186            "enum": [
187              "1m",
188              "2m",
189              "5m",
190              "15m",
191              "30m",
192              "60m",
193              "90m",
194              "1h",
195              "1d",
196              "5d",
197              "1wk",
198              "1mo",
199              "3mo"
200            ],
201            "type": "string",
202            "description": "Only applies to Get History.",
203            "default": "1d"
204          },
205          "rounding": {
206            "title": "Rounding",
207            "enum": [
208              "max",
209              "2",
210              "3",
211              "4"
212            ],
213            "type": "string",
214            "description": "Only applies to Get History.",
215            "default": "max"
216          },
217          "storecsv": {
218            "title": "CSV Storage",
219            "enum": [
220              "no",
221              "yes"
222            ],
223            "type": "string",
224            "description": "Saves .csv file in key-value-store. Only applies to Get History.",
225            "default": "no"
226          },
227          "delay": {
228            "title": "Request delay",
229            "minimum": 1,
230            "maximum": 90,
231            "type": "integer",
232            "description": "",
233            "default": 3
234          },
235          "proxy": {
236            "title": "Proxy configuration",
237            "type": "object",
238            "description": "Select proxies to be used by your crawler."
239          }
240        }
241      },
242      "runsResponseSchema": {
243        "type": "object",
244        "properties": {
245          "data": {
246            "type": "object",
247            "properties": {
248              "id": {
249                "type": "string"
250              },
251              "actId": {
252                "type": "string"
253              },
254              "userId": {
255                "type": "string"
256              },
257              "startedAt": {
258                "type": "string",
259                "format": "date-time",
260                "example": "2025-01-08T00:00:00.000Z"
261              },
262              "finishedAt": {
263                "type": "string",
264                "format": "date-time",
265                "example": "2025-01-08T00:00:00.000Z"
266              },
267              "status": {
268                "type": "string",
269                "example": "READY"
270              },
271              "meta": {
272                "type": "object",
273                "properties": {
274                  "origin": {
275                    "type": "string",
276                    "example": "API"
277                  },
278                  "userAgent": {
279                    "type": "string"
280                  }
281                }
282              },
283              "stats": {
284                "type": "object",
285                "properties": {
286                  "inputBodyLen": {
287                    "type": "integer",
288                    "example": 2000
289                  },
290                  "rebootCount": {
291                    "type": "integer",
292                    "example": 0
293                  },
294                  "restartCount": {
295                    "type": "integer",
296                    "example": 0
297                  },
298                  "resurrectCount": {
299                    "type": "integer",
300                    "example": 0
301                  },
302                  "computeUnits": {
303                    "type": "integer",
304                    "example": 0
305                  }
306                }
307              },
308              "options": {
309                "type": "object",
310                "properties": {
311                  "build": {
312                    "type": "string",
313                    "example": "latest"
314                  },
315                  "timeoutSecs": {
316                    "type": "integer",
317                    "example": 300
318                  },
319                  "memoryMbytes": {
320                    "type": "integer",
321                    "example": 1024
322                  },
323                  "diskMbytes": {
324                    "type": "integer",
325                    "example": 2048
326                  }
327                }
328              },
329              "buildId": {
330                "type": "string"
331              },
332              "defaultKeyValueStoreId": {
333                "type": "string"
334              },
335              "defaultDatasetId": {
336                "type": "string"
337              },
338              "defaultRequestQueueId": {
339                "type": "string"
340              },
341              "buildNumber": {
342                "type": "string",
343                "example": "1.0.0"
344              },
345              "containerUrl": {
346                "type": "string"
347              },
348              "usage": {
349                "type": "object",
350                "properties": {
351                  "ACTOR_COMPUTE_UNITS": {
352                    "type": "integer",
353                    "example": 0
354                  },
355                  "DATASET_READS": {
356                    "type": "integer",
357                    "example": 0
358                  },
359                  "DATASET_WRITES": {
360                    "type": "integer",
361                    "example": 0
362                  },
363                  "KEY_VALUE_STORE_READS": {
364                    "type": "integer",
365                    "example": 0
366                  },
367                  "KEY_VALUE_STORE_WRITES": {
368                    "type": "integer",
369                    "example": 1
370                  },
371                  "KEY_VALUE_STORE_LISTS": {
372                    "type": "integer",
373                    "example": 0
374                  },
375                  "REQUEST_QUEUE_READS": {
376                    "type": "integer",
377                    "example": 0
378                  },
379                  "REQUEST_QUEUE_WRITES": {
380                    "type": "integer",
381                    "example": 0
382                  },
383                  "DATA_TRANSFER_INTERNAL_GBYTES": {
384                    "type": "integer",
385                    "example": 0
386                  },
387                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
388                    "type": "integer",
389                    "example": 0
390                  },
391                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
392                    "type": "integer",
393                    "example": 0
394                  },
395                  "PROXY_SERPS": {
396                    "type": "integer",
397                    "example": 0
398                  }
399                }
400              },
401              "usageTotalUsd": {
402                "type": "number",
403                "example": 0.00005
404              },
405              "usageUsd": {
406                "type": "object",
407                "properties": {
408                  "ACTOR_COMPUTE_UNITS": {
409                    "type": "integer",
410                    "example": 0
411                  },
412                  "DATASET_READS": {
413                    "type": "integer",
414                    "example": 0
415                  },
416                  "DATASET_WRITES": {
417                    "type": "integer",
418                    "example": 0
419                  },
420                  "KEY_VALUE_STORE_READS": {
421                    "type": "integer",
422                    "example": 0
423                  },
424                  "KEY_VALUE_STORE_WRITES": {
425                    "type": "number",
426                    "example": 0.00005
427                  },
428                  "KEY_VALUE_STORE_LISTS": {
429                    "type": "integer",
430                    "example": 0
431                  },
432                  "REQUEST_QUEUE_READS": {
433                    "type": "integer",
434                    "example": 0
435                  },
436                  "REQUEST_QUEUE_WRITES": {
437                    "type": "integer",
438                    "example": 0
439                  },
440                  "DATA_TRANSFER_INTERNAL_GBYTES": {
441                    "type": "integer",
442                    "example": 0
443                  },
444                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
445                    "type": "integer",
446                    "example": 0
447                  },
448                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
449                    "type": "integer",
450                    "example": 0
451                  },
452                  "PROXY_SERPS": {
453                    "type": "integer",
454                    "example": 0
455                  }
456                }
457              }
458            }
459          }
460        }
461      }
462    }
463  }
464}

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

Rental 

To 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

$5.00