Yahoo Finance Equity & ETF Quote
POST /api/v1/yahoo-finance/equity-etf
Scrape equity and ETF quote data from Yahoo Finance including real-time price, change, bid/ask, ranges, volume, and exchange.
Overview
Scrape equity and ETF quote data from Yahoo Finance including real-time price, change, bid/ask, ranges, volume, and exchange.
POST /api/v1/yahoo-finance/equity-etf
Method: POST Path: /api/v1/yahoo-finance/equity-etf Category: Finance
Request Parameters
Endpoint Parameters
| Name | Type | Requirement | Description |
|---|---|---|---|
| geolocation | string | Optional | Country the request is made from, as a two-letter code, e.g. US |
| target | string | Required | Ticker symbol or Yahoo Finance quote URL, e.g. AAPL or SPY |
Request Example
Yahoo Finance Equity & ETF Quote Request Examples
curl -X POST "https://api.dataguru.cc/api/v1/yahoo-finance/equity-etf" \ -H "Authorization: Api-Key YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"geolocation": "US", "target": "example"}'
Response Example
200 OK
Typical 200 OK JSON response structure with envelope metadata.
{ "equity_and_etf_data": { "ticker_symbol": "string", "company_name": "string", "exchange": "string", "real_time_price": 0.0, "change_points": 0.0, "change_percentage": 0.0, "previous_close": 0.0, "open": 0.0, "bid_ask": { "bid": 0.0, "ask": 0.0, "bid_size": 0, "ask_size": 0 }, "days_range": { "low": 0.0, "high": 0.0 }, "fifty_two_week_range": { "low": 0.0, "high": 0.0 }, "volume": 0, "average_volume": 0, "currency": "USD" }, "extended_hours": { "session": "string", "price": 0.0, "change_points": 0.0, "change_percentage": 0.0 }, "additional_quote_statistics": {}, "company_overview": { "description": "string", "website": "string", "full_time_employees": 0, "fiscal_year_ends": "string", "sector": "string", "industry": "string", "fund_family": "string", "fund_category": "string", "net_assets": 0, "inception_date": "2026-01-01T12:00:00Z" }, "performance_overview": {}, "analyst_price_targets": { "low": 0.0, "average": 0.0, "current": 0.0, "high": 0.0 }, "people_also_watch": [ { "ticker_symbol": "string", "company_name": "string", "price": 0.0, "change_percentage": 0.0 } ], "error": "string", "_metadata": { "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e", "execution_time_ms": 842, "endpoint": "Yahoo Finance Equity & ETF Quote", "mode": "live", "format": "json", "timestamp": "2026-01-01T12:00:00+00:00" } }
Response Schema
Fields returned in a successful response. Nested fields use dot notation and `[]` marks items of a list. Fields that are not required can be missing or `null` when the source does not provide them. Every response also includes a `_metadata` block.
Response Fields
| Field | Type | Required | Description |
|---|---|---|---|
| equity_and_etf_data | object | Yes | |
| equity_and_etf_data.ticker_symbol | string | Yes | Ticker symbol (e.g. AAPL, SPY) |
| equity_and_etf_data.company_name | string | Yes | Company or trust name |
| equity_and_etf_data.exchange | string | Yes | Stock exchange name (e.g. NASDAQ, NYSE) |
| equity_and_etf_data.real_time_price | number | null | Yes | Current or closing price |
| equity_and_etf_data.change_points | number | null | No | Net price change |
| equity_and_etf_data.change_percentage | number | null | No | Net price percentage change |
| equity_and_etf_data.previous_close | number | null | No | Previous trading session closing price |
| equity_and_etf_data.open | number | null | No | Current session open price |
| equity_and_etf_data.bid_ask | object | No | Current bid and ask quotations with order book sizes |
| equity_and_etf_data.bid_ask.bid | number | null | No | Bid price |
| equity_and_etf_data.bid_ask.ask | number | null | No | Ask price |
| equity_and_etf_data.bid_ask.bid_size | integer | null | No | Bid lot size |
| equity_and_etf_data.bid_ask.ask_size | integer | null | No | Ask lot size |
| equity_and_etf_data.days_range | object | No | Day low and high price range |
| equity_and_etf_data.days_range.low | number | null | No | |
| equity_and_etf_data.days_range.high | number | null | No | |
| equity_and_etf_data.fifty_two_week_range | object | No | 52-week low and high price range |
| equity_and_etf_data.fifty_two_week_range.low | number | null | No | |
| equity_and_etf_data.fifty_two_week_range.high | number | null | No | |
| equity_and_etf_data.volume | integer | null | No | Current session trading volume |
| equity_and_etf_data.average_volume | integer | null | No | Average daily trading volume |
| equity_and_etf_data.currency | string | Yes | Currency code (e.g. USD) |
| extended_hours | object | No | Pre-market or post-market session trading quote |
| extended_hours.session | string | No | Session type: pre_market or post_market |
| extended_hours.price | number | null | No | Extended hours price |
| extended_hours.change_points | number | null | No | Extended hours point change |
| extended_hours.change_percentage | number | null | No | Extended hours percentage change |
| additional_quote_statistics | object | No | Additional quote summary metrics (e.g. market cap, P/E, EPS, beta, or ETF NAV, yield, net assets) |
| company_overview | object | No | Company profile details or ETF fund overview |
| company_overview.description | string | No | |
| company_overview.website | string | No | |
| company_overview.full_time_employees | integer | null | No | |
| company_overview.fiscal_year_ends | string | No | |
| company_overview.sector | string | No | |
| company_overview.industry | string | No | |
| company_overview.fund_family | string | No | |
| company_overview.fund_category | string | No | |
| company_overview.net_assets | integer | null | No | |
| company_overview.inception_date | string | No | |
| performance_overview | object | No | Historical trailing return periods compared against benchmark |
| analyst_price_targets | object | No | Consensus analyst price targets |
| analyst_price_targets.low | number | null | No | |
| analyst_price_targets.average | number | null | No | |
| analyst_price_targets.current | number | null | No | |
| analyst_price_targets.high | number | null | No | |
| people_also_watch | array<object> | No | Related stocks or peer tickers |
| people_also_watch[].ticker_symbol | string | Yes | |
| people_also_watch[].company_name | string | Yes | |
| people_also_watch[].price | number | null | No | |
| people_also_watch[].change_percentage | number | null | No | |
| error | string | No | Error message when scrape fails |
Asynchronous Requests
Long-running requests can be processed in the background. Add `?async=true` (or the `Prefer: respond-async` header) to receive a `job_id` immediately, then poll the job until its status is `COMPLETED`.
Async Workflow
curl -X POST "https://api.dataguru.cc/api/v1/yahoo-finance/equity-etf?async=true" \ -H "Authorization: Api-Key YOUR_API_KEY" # 202 Accepted { "success": true, "status": "SUBMITTED", "job_id": "0ca215ce-244f-4b28-b481-dc1b551983c8", "status_url": "/api/v1/jobs/0ca215ce-244f-4b28-b481-dc1b551983c8/" }
Batch Processing
To run many requests at half price, upload them as a CSV file: one row per request, with the parameter names above as the header row. Rows run in the background within 24 hours (up to 7 days for large files) and each successful row costs 50% of the price below. Poll /api/v1/batches/{batch_id}/ for progress and download results.json when it has finished. See the Batch Processing guide for details.
Batch Workflow
target,geolocation example,US
Pricing & Rate Limits
Endpoint Pricing
$0.0022 / per successful request (USD)
Consumed per successful call: 1 request unit(s), 1 credit(s).
Endpoint Rate Limits
Common Errors
Common HTTP Errors
| Status | Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | A required parameter is missing or malformed. |
| 401 | UNAUTHORIZED | Missing or invalid API key. |
| 402 | INSUFFICIENT_BALANCE | Your balance cannot cover this request. |
| 403 | ENDPOINT_DISABLED | This endpoint is currently unavailable. |
| 405 | METHOD_NOT_ALLOWED | The endpoint was called with the wrong HTTP method. |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests. See the Retry-After header. |
| 502 | PROVIDER_ERROR | The upstream data source failed. Retry with exponential backoff. |