# perldoc > Finance::Quote::YahooJSON

---
type: CommandReference
command: Finance::Quote::YahooJSON
mode: perldoc
section: 
source: perldoc
---

## Quick Reference
- `$q->fetch("yahoo_json","SBIIN.NS")` — Fetch quote for a symbol from Yahoo Finance via JSON

## Name
Obtain quotes from Yahoo Finance through JSON call

## Synopsis
perl
use Finance::Quote;

$q = Finance::Quote->new;

%info = Finance::Quote->fetch("yahoo_json","SBIIN.NS");
## Description
Fetches information from Yahoo as JSON. Loaded by default on a `Finance::Quote` object. Can also be loaded explicitly by placing `"YahooJSON"` in the argument list to `Finance::Quote->new()`. Provides the `"yahoo_json"` fetch method.

## Options
The following labels may be returned:
- `name`
- `last`
- `isodate`
- `volume`
- `currency`
- `method`
- `exchange`
- `type`
- `div_yield`
- `eps`
- `pe`
- `year_range`
- `open`
- `high`
- `low`
- `close`

## Examples
perl
use Finance::Quote;

my $q = Finance::Quote->new;
my %info = $q->fetch("yahoo_json", "SBIIN.NS");
print $info{"SBIIN.NS"}->{"name"};
## See Also
[Finance::Quote](https://www.chedong.com/phpMan.php/perldoc/Finance%3A%3AQuote/markdown)