# Get Stock Quotes

Get current Yahoo Finance quotes for one or many symbols. Returns price, change, change percent, volume, market cap, day and 52-week ranges, currency, exchange and market state. Pass several symbols as a comma-separated list to receive them in one request.

- **Documentation:** [https://scrappa.co/docs/yahoo-finance-api/yahoo_finance_quote](https://scrappa.co/docs/yahoo-finance-api/yahoo_finance_quote)
- **API group:** Yahoo Finance API
- **Endpoint:** `GET https://scrappa.co/api/yahoo-finance/quote`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `symbols` | string | Yes | One symbol or a comma-separated list, e.g. AAPL or AAPL,MSFT. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/yahoo-finance/quote?symbols=AAPL%2CMSFT"
```

## Example response

```json
{
    "quotes": [
        {
            "symbol": "AAPL",
            "short_name": "Apple Inc.",
            "long_name": "Apple Inc.",
            "price": 198.42,
            "change": 1.25,
            "change_percent": 0.63,
            "volume": 48234567,
            "market_cap": 2980000000000,
            "day_high": 199.62,
            "day_low": 196.15,
            "fifty_two_week_high": 228.2,
            "fifty_two_week_low": 143.9,
            "currency": "USD",
            "exchange": "NasdaqGS",
            "market_state": "REGULAR"
        }
    ],
    "source": "yahoo_finance"
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | Not found | No quote was returned for the symbols. |
|  | Service error | The upstream request failed. No credit is charged. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
