> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapeunblocker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Yahoo Finance price history

> Returns OHLCV `rows` for one symbol: `date` (exchange-local day), `timestamp` (UTC), `open`, `high`, `low`, `close`, `adjClose` and `volume`, oldest first, plus `dividends` and `splits` that fell inside the window. Choose the window with `range`, or with `start` and `end` for exact dates. Yahoo limits how far back intraday bars go and how many days one request can cover; a window it refuses returns 400 with its reason.



## OpenAPI

````yaml /api-reference/openapi.json post /finance/yahoo-history
openapi: 3.1.0
info:
  title: ScrapeUnblocker API
  description: >-
    Public API for the ScrapeUnblocker proxy/anti-bot service. Authenticate
    every request with the `x-scrapeunblocker-key` header. Documented here:
    page-source extraction, Google SERP scraping, image fetch, and the dedicated
    plugin endpoints (search engines, marketplaces, reviews, travel, social and
    more). All other paths exist for internal operations and are intentionally
    hidden from this spec.
  version: 3.0.0
servers:
  - url: https://api.scrapeunblocker.com
    description: Production
security: []
paths:
  /finance/yahoo-history:
    post:
      tags:
        - Plugins
      summary: Get Yahoo Finance price history
      description: >-
        Returns OHLCV `rows` for one symbol: `date` (exchange-local day),
        `timestamp` (UTC), `open`, `high`, `low`, `close`, `adjClose` and
        `volume`, oldest first, plus `dividends` and `splits` that fell inside
        the window. Choose the window with `range`, or with `start` and `end`
        for exact dates. Yahoo limits how far back intraday bars go and how many
        days one request can cover; a window it refuses returns 400 with its
        reason.
      operationId: yahoo_history_finance_yahoo_history_post
      parameters:
        - name: symbol
          in: query
          required: true
          schema:
            type: string
            description: >-
              Yahoo Finance symbol: 'AAPL', a listing with its suffix ('VOD.L',
              '7203.T'), an index ('^GSPC'), a crypto pair ('BTC-USD'), a
              currency ('EURUSD=X') or a future ('ES=F').
            title: Symbol
          description: >-
            Yahoo Finance symbol: 'AAPL', a listing with its suffix ('VOD.L',
            '7203.T'), an index ('^GSPC'), a crypto pair ('BTC-USD'), a currency
            ('EURUSD=X') or a future ('ES=F').
        - name: range
          in: query
          required: false
          schema:
            type: string
            description: >-
              1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd or max. Ignored when
              `start` and `end` are given.
            default: 1mo
            title: Range
          description: >-
            1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd or max. Ignored when
            `start` and `end` are given.
        - name: interval
          in: query
          required: false
          schema:
            type: string
            description: >-
              Bar size: 1m, 2m, 5m, 15m, 30m, 60m, 90m, 1h, 1d, 5d, 1wk, 1mo or
              3mo.
            default: 1d
            title: Interval
          description: >-
            Bar size: 1m, 2m, 5m, 15m, 30m, 60m, 90m, 1h, 1d, 5d, 1wk, 1mo or
            3mo.
        - name: start
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: First day of the window, YYYY-MM-DD. Use with `end`.
            title: Start
          description: First day of the window, YYYY-MM-DD. Use with `end`.
        - name: end
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Day after the last one in the window, YYYY-MM-DD. Use with
              `start`.
            title: End
          description: Day after the last one in the window, YYYY-MM-DD. Use with `start`.
        - name: proxy_country
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Proxy country the request is sent from (ISO-2, e.g. 'US', 'DE').
              Leave blank to let the API pick.
            title: Proxy Country
          description: >-
            Proxy country the request is sent from (ISO-2, e.g. 'US', 'DE').
            Leave blank to let the API pick.
      responses:
        '200':
          description: JSON with `rows`, `dividends` and `splits`.
          content:
            application/json:
              schema: {}
        '400':
          description: >-
            Invalid symbol, range, interval or dates, or a range and interval
            Yahoo refuses.
        '404':
          description: The symbol does not exist, or has no prices in that window.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '502':
          description: Blocked, unreadable, or the call did not finish in time.
      security:
        - ScrapeUnblockerKey: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ScrapeUnblockerKey:
      type: apiKey
      in: header
      name: x-scrapeunblocker-key
      description: Your ScrapeUnblocker API key. Apply on every request.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.