YepAPI
SERP

Google Finance

Google Finance results — stock tickers, market data, financial news, and indices.

POST/v1/serp/google-finance
$0.01/call

Usage

const res = await fetch('https://api.yepapi.com/v1/serp/google-finance', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ query: 'AAPL stock price', depth: 10 }),
});
const { data } = await res.json();
console.log(data);
curl -X POST https://api.yepapi.com/v1/serp/google-finance \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "AAPL stock price", "depth": 10}'

Request Body

ParameterTypeRequiredDescriptionDefault
querystringYesFinance search query to look up on Google Finance
depthnumberNoNumber of results to return10
location_codenumberNoTarget country code (e.g., 2840 for US). See Location Codes.2840
languagestringNoISO language code (e.g., en, es)"en"

Response

{
  "ok": true,
  "data": {
    "query": "AAPL stock",
    "totalResults": 0,
    "results": []
  }
}

Response Fields

FieldTypeDescription
okbooleanWhether the request succeeded
data.querystringThe finance search query that was executed
data.totalResultsnumberTotal number of finance results found
data.resultsobject[]Array of finance result items (may be empty if no structured finance data is available)
data.results[].positionnumberPosition in results (1-indexed)
data.results[].typestringResult type (e.g., financeSearch, stockQuote)
data.results[].titlestringStock ticker name or financial instrument title
data.results[].urlstringURL to the finance page
data.results[].descriptionstringFinancial summary or market data snippet
data.results[].domainstringDomain of the finance data source
Under the Hood

Under the hood, this queries our SERP engine. We normalize the response format and flatten nested structures for consistency.

On this page