# yahoo_finance.quote

A share, fund, index, currency pair or cryptocurrency on Yahoo Finance: price, day and 52-week range, volume, valuation, dividend and company profile.

Yahoo Finance quote, one of the Yahoo Finance scrapers.

| | |
| --- | --- |
| Id | `yahoo_finance.quote` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/yahoo_finance.quote/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `symbol` | string | yes | The instrument's symbol on Yahoo Finance: `AAPL`, `7203.T` (a share on another exchange), `VOO` (a fund), `^GSPC` (an index), `EURUSD=X` (a currency pair), `BTC-USD` (a cryptocurrency); or the address of its page. Limit: at least 1 characters, at most 300 characters. |

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `symbol` | string | Yahoo Finance's symbol of the instrument, e.g. `AAPL`, `7203.T`, `BTC-USD`, `^GSPC`. |
| `name` | string or null | The instrument's name, e.g. `Apple Inc.`. |
| `url` | string | The instrument's page on Yahoo Finance. |
| `quote_type` | string or null | The kind of instrument, in Yahoo's word: `EQUITY`, `ETF`, `MUTUALFUND`, `INDEX`, `CURRENCY`, `CRYPTOCURRENCY`, `FUTURE`. |
| `exchange` | string or null | The exchange the price is from, as the page names it, e.g. `NasdaqGS`, `Tokyo`, `LSE`. |
| `currency` | string or null | The currency the prices are in, e.g. `USD`. London shares are quoted in pence, which Yahoo writes `GBp`. |
| `market_state` | string or null | Whether the market was open when the page was read, in Yahoo's word: `REGULAR`, `PRE`, `POST`, `CLOSED`. |
| `price` | number or null | The latest price of the regular session. |
| `change` | number or null | The price's change from the previous close, in the price's currency. |
| `change_percent` | number or null | The same change in percent of the previous close: 1.5 means one and a half percent. |
| `price_time` | string (date-time) or null | When that price was set, in UTC. |
| `previous_close` | number or null | The previous session's closing price. |
| `open` | number or null | The session's opening price. |
| `day_low` | number or null | The session's lowest price. |
| `day_high` | number or null | The session's highest price. |
| `volume` | integer or null | The number of units traded in the session. |
| `average_volume` | integer or null | The average daily volume over the last three months. |
| `bid` | number or null | The highest price a buyer offers. Null where the page shows none. |
| `ask` | number or null | The lowest price a seller asks. Null where the page shows none. |
| `fifty_two_week_low` | number or null | The lowest price of the last 52 weeks. |
| `fifty_two_week_high` | number or null | The highest price of the last 52 weeks. |
| `fifty_day_average` | number or null | The average closing price of the last 50 sessions. |
| `two_hundred_day_average` | number or null | The average closing price of the last 200 sessions. |
| `pre_market_price` | number or null | The latest price before the regular session, where the page shows one. |
| `post_market_price` | number or null | The latest price after the regular session, where the page shows one. |
| `market_cap` | integer or null | The market capitalisation, in the price's currency. Null for an index, a fund or a currency pair. |
| `enterprise_value` | integer or null | The enterprise value of a company. |
| `shares_outstanding` | integer or null | The number of a company's shares outstanding. |
| `trailing_pe` | number or null | The price divided by the last twelve months' earnings per share. |
| `forward_pe` | number or null | The price divided by the expected earnings per share. |
| `eps` | number or null | The earnings per share of the last twelve months. |
| `price_to_book` | number or null | The price divided by the book value per share. |
| `beta` | number or null | The share's five-year monthly beta against its market. |
| `dividend_rate` | number or null | The expected dividend per share over a year, in the price's currency. |
| `dividend_yield_percent` | number or null | That dividend in percent of the price: 1.5 means one and a half percent. |
| `ex_dividend_date` | string (date) or null | The last day's date before which a buyer still receives the next dividend. |
| `earnings_date` | string (date) or null | The date of the company's next earnings report, where the page gives one. |
| `target_mean_price` | number or null | The average of the analysts' price targets. |
| `recommendation` | string or null | The analysts' consensus in Yahoo's word: `strong_buy`, `buy`, `hold`, `underperform`, `sell`. |
| `analyst_count` | integer or null | How many analysts the target and the recommendation are from. |
| `total_assets` | integer or null | A fund's net assets. |
| `nav_price` | number or null | A fund's net asset value per share. |
| `fund_yield_percent` | number or null | A fund's yield as a percentage. |
| `circulating_supply` | integer or null | A cryptocurrency's units in circulation. |
| `sector` | string or null | A company's sector, e.g. `Technology`. |
| `industry` | string or null | A company's industry, e.g. `Consumer Electronics`. |
| `employees` | integer or null | A company's number of full-time employees. |
| `website` | string or null | The company's or the project's own website. |
| `city` | string or null | The city of a company's head office. |
| `country` | string or null | The country of a company's head office. |
| `description` | string or null | What the page says the company does, or what the cryptocurrency is. |
| `fetched_at` | string (date-time) | When the page was read, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/yahoo_finance.quote/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"symbol":"AAPL"}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "yahoo_finance.quote",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "symbol": "AAPL"
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "symbol": "AAPL",
      "name": "Apple Inc.",
      "url": "https://finance.yahoo.com/quote/AAPL/",
      "quote_type": "EQUITY",
      "exchange": "NasdaqGS",
      "currency": "USD",
      "market_state": "POST",
      "price": 352.45,
      "change": 0.54,
      "change_percent": 0.1535,
      "price_time": "2026-11-18T21:00:01Z",
      "previous_close": 351.91,
      "open": 351.87,
      "day_low": 351.4706,
      "day_high": 356.42,
      "volume": 33393854,
      "average_volume": 42699353,
      "bid": 351.52,
      "ask": 353.17,
      "fifty_two_week_low": 243.42,
      "fifty_two_week_high": 360.83,
      "fifty_day_average": 340.4064,
      "two_hundred_day_average": 302.1289,
      "pre_market_price": 352.05,
      "post_market_price": 351.6,
      "market_cap": 5121867513856,
      "enterprise_value": 5151777095680,
      "shares_outstanding": 14532182000,
      "trailing_pe": 39.248333,
      "forward_pe": 33.335762,
      "eps": 8.98,
      "price_to_book": 45.695583,
      "beta": 1.089,
      "dividend_rate": 1.08,
      "dividend_yield_percent": 0.31,
      "ex_dividend_date": "2026-11-12",
      "earnings_date": "2027-01-28",
      "target_mean_price": 345.6313,
      "recommendation": "buy",
      "analyst_count": 39,
      "total_assets": null,
      "nav_price": null,
      "fund_yield_percent": null,
      "circulating_supply": null,
      "sector": "Technology",
      "industry": "Consumer Electronics",
      "employees": 167000,
      "website": "https://www.apple.com",
      "city": "Cupertino",
      "country": "United States",
      "description": "Apple Inc. designs, manufactures, and markets smartphones, personal computers, tablets, wearables, and accessories. The company offers iPhone, a line of smartphones; Mac, a line of personal computers; iPad, a line of multi-purpose tablets; … [truncated]",
      "fetched_at": "2026-11-19T18:07:42.727154Z"
    }
  ],
  "next_cursor": null
}
```

What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with `… [truncated]`.

- Shortened: `description`: 1,853 characters, the first 239 shown.

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the Yahoo Finance scrapers](https://docs.enrichednow.com/results-and-statuses.md#yahoo-finance) are in their own section there.
