cancel
Showing results for 
Search instead for 
Did you mean: 
Cancel

Help Community

Announcements

We’ve made the difficult decision to discontinue the Yahoo Communities effective Jan 24, 2019.

Be assured you will still be able to find answers to your Yahoo product and app questions on the Yahoo Help website (https://help.yahoo.com). In addition, you’ll be able to find the Yahoo Community moderators on Twitter, responding from our many handles including @YahooCare and @YahooFantasyCC.

If you ever need help with your Yahoo accounts, try Yahoo Account Pro for 24/7 live phone support.

The API endpoint returns different data than on the website

Highlighted
New 'Hoo

The API endpoint returns different data than on the website

Hi guys,

 

We discovered that the share price information returned from yahoo API are not in sync with what is shown on yahoo finance. In the following example, I refreshed the website and called the quote API end point at the same time (you can see by comparing the request time) and get different results

 

I know that the New Zealand market data has a 20 min delay, but at least i should get the same result from both the website and the API calls.

 

Does anyone knows what is going on here? Thanks so much

 

Example:

on the website: https://nz.finance.yahoo.com/q?s=VCT.NZ , it shows

Vector Ltd (VCT.NZ)-NZSE
3.16 0.03 (0.96%) 14 Dec 17:00
 
Prev Close: 3.13
Open: 3.14
Bid: 3.14
Ask: 3.16
1y Target Est: N/A
Beta: N/A
Next Earnings Date: N/A
Day's Range: 3.13 - 3.16
52wk Range: 3.06 - 3.55
Volume: 114,629
Avg Vol (3m): 162,476
Market Cap: 3.15b
P/E (ttm): 11.58
EPS (ttm): 0.27 

 

but when I run the API call,

endpoint: yahoo.finance.quotes 

 

it gives me this:

 

 

<quote symbol="VCT.NZ">
<Ask>3.16</Ask>
<AverageDailyVolume>162476</AverageDailyVolume>
<Bid>3.12</Bid>
<AskRealtime/>
<BidRealtime/>
<BookValue>2.39</BookValue>
<Change_PercentChange>+0.03 - +0.96%</Change_PercentChange>
<Change>+0.03</Change>
<Commission/>
<Currency>NZD</Currency>
<ChangeRealtime/>
<AfterHoursChangeRealtime/>
<DividendShare/>
<LastTradeDate>12/14/2016</LastTradeDate>
<TradeDate/>
<EarningsShare>0.27</EarningsShare>
<ErrorIndicationreturnedforsymbolchangedinvalid/>
<EPSEstimateCurrentYear>0.12</EPSEstimateCurrentYear>
<EPSEstimateNextYear/>
<EPSEstimateNextQuarter>0.00</EPSEstimateNextQuarter>
<DaysLow>3.13</DaysLow>
<DaysHigh>3.16</DaysHigh>
<YearLow>3.06</YearLow>
<YearHigh>3.55</YearHigh>
<HoldingsGainPercent/>
<AnnualizedGain/>
<HoldingsGain/>
<HoldingsGainPercentRealtime/>
<HoldingsGainRealtime/>
<MoreInfo/>
<OrderBookRealtime/>
<MarketCapitalization>3.15B</MarketCapitalization>
<MarketCapRealtime/>
<EBITDA>527.15M</EBITDA>
<ChangeFromYearLow>0.10</ChangeFromYearLow>
<PercentChangeFromYearLow>+3.27%</PercentChangeFromYearLow>
<LastTradeRealtimeWithTime/>
<ChangePercentRealtime/>
<ChangeFromYearHigh>-0.39</ChangeFromYearHigh>
<PercebtChangeFromYearHigh>-10.99%</PercebtChangeFromYearHigh>
<LastTradeWithTime>5:00pm - &lt;b&gt;3.16&lt;/b&gt;</LastTradeWithTime>
<LastTradePriceOnly>3.16</LastTradePriceOnly>
<HighLimit/>
<LowLimit/>
<DaysRange>3.13 - 3.16</DaysRange>
<DaysRangeRealtime/>
<FiftydayMovingAverage>3.15</FiftydayMovingAverage>
<TwoHundreddayMovingAverage>3.29</TwoHundreddayMovingAverage>
<ChangeFromTwoHundreddayMovingAverage>-0.13</ChangeFromTwoHundreddayMovingAverage>
<PercentChangeFromTwoHundreddayMovingAverage>-4.01%</PercentChangeFromTwoHundreddayMovingAverage>
<ChangeFromFiftydayMovingAverage>0.01</ChangeFromFiftydayMovingAverage>
<PercentChangeFromFiftydayMovingAverage>+0.26%</PercentChangeFromFiftydayMovingAverage>
<Name>Vector Limited Ordinary Shares</Name>
<Notes/>
<Open>3.14</Open>
<PreviousClose>3.13</PreviousClose>
<PricePaid/>
<ChangeinPercent>+0.96%</ChangeinPercent>
<PriceSales>2.72</PriceSales>
<PriceBook>1.31</PriceBook>
<ExDividendDate>9/7/2016</ExDividendDate>
<PERatio>11.58</PERatio>
<DividendPayDate/>
<PERatioRealtime/>
<PEGRatio>1.68</PEGRatio>
<PriceEPSEstimateCurrentYear>26.33</PriceEPSEstimateCurrentYear>
<PriceEPSEstimateNextYear>24.31</PriceEPSEstimateNextYear>
<Symbol>VCT.NZ</Symbol>
<SharesOwned/>
<ShortRatio>0.00</ShortRatio>
<LastTradeTime>5:00pm</LastTradeTime>
<TickerTrend/>
<OneyrTargetPrice/>
<Volume>114629</Volume>
<HoldingsValue/>
<HoldingsValueRealtime/>
<YearRange>3.06 - 3.55</YearRange>
<DaysValueChange/>
<DaysValueChangeRealtime/>
<StockExchange>NZE</StockExchange>
<DividendYield/>
<PercentChange>+0.96%</PercentChange>
</quote>