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

# Yahoo Finance

> Yahoo Finance data via Apify.

Yahoo Finance data via Apify. Fetch comprehensive stock info, news, analytics, and historical prices for any ticker. Runs asynchronously: start a run, poll it, then fetch the rows from the Apify dataset endpoint by run id.

1 endpoint available through Lava's AI Gateway. See the [Yahoo Finance API docs](https://docs.apify.com/api/v2) for full documentation.

<Info>Supports both **managed** (Lava's API keys) and **unmanaged** (bring your own credentials) mode.</Info>

## Endpoints

### Start a Yahoo Finance scrape (async). Pass `tickers` (array of symbol strings). Optional `start_date` / `end_date` (snake\_case, YYYY-MM-DD) bound the historical-price range. Returns a run object; the gateway polls it and bills the real run cost. Fetch rows from GET /v2/actor-runs/\{runId}/dataset/items.

**POST** `https://api.apify.com/v2/acts/architjn~yahoo-finance/runs` — \$0.009 / request

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.apify.com/v2/acts/architjn~yahoo-finance/runs', { body: {"tickers":["AAPL","GOOG"]} });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl -X POST "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.apify.com%2Fv2%2Facts%2Farchitjn~yahoo-finance%2Fruns" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY" \
      -H "Content-Type: application/json" \
      -d '{"tickers":["AAPL","GOOG"]}'
    ```
  </Tab>
</Tabs>

## Next Steps

<CardGroup cols={2}>
  <Card title="All Providers" icon="grid" href="/gateway/supported-providers">
    Browse all supported AI providers
  </Card>

  <Card title="Forward Proxy" icon="route" href="/gateway/forward-proxy">
    Learn how to construct proxy URLs and authenticate requests
  </Card>
</CardGroup>
