Google Finance API endpoint
Google Finance trending stocks
Returns normalized trending instruments.
GETapiKey1 credit/requestfinance.instrumentsResponseDoc
/google/finance/markets/trendingParameters
| Name | In | Type | Required | Enum | Example | Description |
|---|---|---|---|---|---|---|
| limit | query | integer | No | Result limit | ||
| x-api-key | header | string | Yes | API key required |
Authentication
Send your scraping API key in the x-api-key header. Use the console API Keys page to rotate or select the active key.
Billing
Endpoint usage is metered in credits. The plan prices, included credits, limits, and overage rates below match the active backend billing configuration.
- Credit cost
- 1 credit/request
- Charged response
- Successful 2xx responses
| Plan | Price | Included credits | Daily cap | Rate limit | Overage |
|---|---|---|---|---|---|
| Free | $0/mo | 2,000 | 500 daily credits | 5/min | No overage |
| Starter | $9/mo | 20,000 | 5,000 daily credits | 15/min | $0.75/1,000 overage credits when enabled |
| Growth | $29/mo | 100,000 | 25,000 daily credits | 45/min | $0.45/1,000 overage credits when enabled |
| Pro | $79/mo | 400,000 | No daily cap | 120/min | $0.30/1,000 overage credits |
| Business | $199/mo | 1,200,000 | No daily cap | 300/min | $0.20/1,000 overage credits |
| Enterprise | $499/mo | 5,000,000 | No daily cap | 1,000/min | $0.12/1,000 overage credits |
Failure responses
| Status | Description | Schema |
|---|---|---|
| 500 | Internal Server Error | #/definitions/app.Response |
| 502 | Bad Gateway | #/definitions/app.Response |
Example response
{
"code": 200,
"msg": "OK",
"data": [
{
"ticker": "AAPL",
"exchange": "NASDAQ",
"name": "Apple Inc"
}
]
}Request schema
No body schema
Response schema
#/definitions/finance.instrumentsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | array | No | ||||
| data[].after_hours | finance.PriceChange | No | ||||
| data[].after_hours.change | number | No | -3.37 | |||
| data[].after_hours.change_percent | number | No | -1.3 | |||
| data[].after_hours.price | number | No | 255.65 | |||
| data[].change | number | No | -3.37 | |||
| data[].change_percent | number | No | -1.3 | |||
| data[].country | string | No | US | |||
| data[].currency | string | No | USD | |||
| data[].exchange | string | No | NASDAQ | |||
| data[].google_id | string | No | /m/07zmbvf | |||
| data[].identifier | string | No | AAPL:NASDAQ | |||
| data[].last_update_unix | integer | No | 1777077000 | |||
| data[].name | string | No | Apple Inc | |||
| data[].previous_close | number | No | 236.35 | |||
| data[].price | number | No | 255.65 | |||
| data[].ticker | string | No | AAPL | |||
| data[].timezone | string | No | America/New_York | |||
| data[].type | string | No | stock | |||
| msg | string | No | OK |
Example request
curl -X GET "https://api.crawlora.net/api/v1/google/finance/markets/trending" -H "x-api-key: <api-key>"
TypeScript fetch
const url = new URL("https://api.crawlora.net/api/v1/google/finance/markets/trending");
const headers = new Headers();
headers.set("x-api-key", "<api-key>");
const response = await fetch(url, {
method: "GET",
headers,
});
const payload = await response.json();