RapidAPI logo

Sign Up

Log In

Yahoo Finance

FREEMIUM
By apidojo
Updated 3 days ago
Finance
9.7/10
Popularity Score
2317ms
Latency
98%
Success Rate

Yahoo Finance API Documentation

Yahoo Finance API helps to query for all information about finance summary, stocks, quotes, movers as on Yahoo Finance official website.

View API Details
market
GETmarket/get-summary
GETmarket/get-movers
GETmarket/get-quotes
GETmarket/get-charts
GETmarket/auto-complete
stock
GETstock/get-detail
GETstock/get-histories
GETstock/get-news
GETmarket/get-summary

Get live summary information at the request time

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
regionSTRING
REQUIREDThe main region to get summary information from (AU | CA | FR | DE | HK | US | IT | ES | GB | IN)
langSTRING
REQUIREDThe language codes (en | fr | de | it | es | zh)
Request Snippet
unirest.get("https://apidojo-yahoo-finance-v1.p.rapidapi.com/market/get-summary?region=US&lang=en")
.header("X-RapidAPI-Host", "apidojo-yahoo-finance-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://apidojo-yahoo-finance-v1.p.rapidapi.com/market/get-summary?region=US&lang=en")
.header("X-RapidAPI-Host", "apidojo-yahoo-finance-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication