Yahoo Finance Market Data

Retrieve public Yahoo Finance quotes and bounded historical bars for one or more symbols.

by Yahoo FinanceReady to run$0.0025 per request · $0.25 per 100 requests

Example

You ask your agent

“How has Apple's share price moved over the last five days?”

You get

Range
5d
Symbol
AAPL
Currency
USD
Exchange
NMS
Interval
1d
Bar count
5
Quote count
0
Historical bars
AAPL, AAPL, AAPL and 2 more
What your agent sends and gets back (JSON)

Your agent works out the exact inputs, such as IDs, dates and settings, from what you ask.

Request

{
  "tool_id": "yahoo-finance.market-data",
  "input": {
    "input": {
      "range": "5d",
      "symbols": [
        "AAPL"
      ],
      "interval": "1d",
      "includeHistory": true
    },
    "maxItems": 1
  }
}

Response

{
  "range": "5d",
  "quotes": [],
  "source": "yahoo_finance",
  "symbol": "AAPL",
  "currency": "USD",
  "exchange": "NMS",
  "interval": "1d",
  "bar_count": 5,
  "quote_count": 0,
  "retrieved_at": "2026-11-21T19:42:02.669Z",
  "historical_bars": [
    {
      "low": 351.31,
      "high": 357.13,
      "open": 357.13,
      "close": 352.78,
      "range": "5d",
      "source": "yahoo_finance",
      "symbol": "AAPL",
      "volume": 50292200,
      "interval": "1d",
      "timestamp": "2026-11-16",
      "record_type": "historical_bar",
      "retrieved_at": "2026-11-21T19:42:02.669Z",
      "adjusted_close": 352.78
    },
    {
      "low": 349.67001,
      "high": 355.35999,
      "open": 352.82999,
      "close": 351.91,
      "range": "5d",
      "source": "yahoo_finance",
      "symbol": "AAPL",
      "volume": 37407500,
      "interval": "1d",
      "timestamp": "2026-11-17",
      "record_type": "historical_bar",
      "retrieved_at": "2026-11-21T19:42:02.669Z",
      "adjusted_close": 351.91
    },
    {
      "low": 351.47,
      "high": 356.42001,
      "open": 351.94,
      "close": 352.45001,
      "range": "5d",
      "source": "yahoo_finance",
      "symbol": "AAPL",
      "volume": 34209900,
      "interval": "1d",
      "timestamp": "2026-11-18",
      "record_type": "historical_bar",
      "retrieved_at": "2026-11-21T19:42:02.669Z",
      "adjusted_close": 352.45001
    },
    {
      "low": 346.47,
      "high": 355.28,
      "open": 352.91,
      "close": 349.20999,
      "range": "5d",
      "source": "yahoo_finance",
      "symbol": "AAPL",
      "volume": 40906900,
      "interval": "1d",
      "timestamp": "2026-11-19",
      "record_type": "historical_bar",
      "retrieved_at": "2026-11-21T19:42:02.669Z",
      "adjusted_close": 349.20999
    },
    {
      "low": 340.56,
      "high": 354.34,
      "open": 352.87,
      "close": 342.56,
      "range": "5d",
      "source": "yahoo_finance",
      "symbol": "AAPL",
      "volume": 80464200,
      "interval": "1d",
      "timestamp": "2026-11-20",
      "record_type": "historical_bar",
      "retrieved_at": "2026-11-21T19:42:02.669Z",
      "adjusted_close": 342.56
    }
  ]
}

Use it with your agent

Copy the prompt and paste it into your agent, then tell it what you need.

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use Yahoo Finance Market Data (tool ID: yahoo-finance.market-data). Ask me for the details you need, then show me the result.

Provider access is included. If your agent isn't connected to Scrollport yet, it will help you set that up.

No agent yet? Create your account on the web and connect one from your dashboard later.

Questions

Is Yahoo Finance Market Data free?

Scrollport has no free tier: it costs $0.0025 per request ($0.25 per 100 requests), paid per use from a prepaid wallet with no subscription. Connecting your first agent adds $1 of trial credit, so you can try it before adding funds.

Do I need an API key from Yahoo Finance?

No. Your agent runs it through your Scrollport connection (MCP, the Scrollport CLI or the HTTP API), and Scrollport handles access to Yahoo Finance, so you don't sign up with Yahoo Finance or manage an API key.

Details

About this tool

Read one Yahoo Finance symbol, such as AAPL, ^GSPC or BTC-USD. With includeHistory (the default), you get daily, weekly or monthly bars with open, high, low, close, adjusted close and volume, over five days to five years or the year to date. Set includeHistory to false for the current quote instead: name, price, change, previous close, day range, volume, market cap, sector and industry. Each run returns history or a quote, not both. An unknown symbol fails and costs nothing. This route does not provide financial advice. The worked example shows selected fields: long text is shortened and nested lists keep one item.

All inputs and outputs

Input

inputobject · required

Provider-specific public source, URL or search criteria.

maxItemsinteger · optional

Maximum number of records to return.

minimum: 1 · maximum: 1

Output

bar_countnumber
currencystring
exchangestring
historical_barsarray
intervalstring
quote_countnumber
quotesarray
rangestring
retrieved_atstring

When the data was retrieved.

sourcestring

Where the record came from.

symbolstring
Errors and limits
  • upstream_error: The provider could not return a usable answer; the wallet was not charged.Check the symbol, search or URL, or retry later.