Google Finance API endpoint

Google Finance classification data

Returns normalized classification strings for a quote.

GETapiKey1 credit/requestfinance.classificationResponseDoc/google/finance/classification/{quote}

Parameters

NameInTypeRequiredEnumExampleDescription
quotepathstringYesQuote identifier such as AAPL:NASDAQ
x-api-keyheaderstringYesAPI 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
PlanPriceIncluded creditsDaily capRate limitOverage
Free$0/mo2,000500 daily credits5/minNo overage
Starter$9/mo20,0005,000 daily credits15/min$0.75/1,000 overage credits when enabled
Growth$29/mo100,00025,000 daily credits45/min$0.45/1,000 overage credits when enabled
Pro$79/mo400,000No daily cap120/min$0.30/1,000 overage credits
Business$199/mo1,200,000No daily cap300/min$0.20/1,000 overage credits
Enterprise$499/mo5,000,000No daily cap1,000/min$0.12/1,000 overage credits

Catalog quality warnings

  • missing example for required path param: quote

Failure responses

StatusDescriptionSchema
400Bad Request#/definitions/app.Response
404Not Found#/definitions/app.Response
500Internal Server Error#/definitions/app.Response
502Bad Gateway#/definitions/app.Response

Example response

{
  "code": 200,
  "msg": "OK",
  "data": {
    "instrument": {
      "ticker": "AAPL",
      "exchange": "NASDAQ",
      "name": "Apple Inc"
    },
    "categories": [
      "Technology"
    ]
  }
}

Request schema

No body schema

Response schema

#/definitions/finance.classificationResponseDoc

FieldTypeRequiredEnumBoundsExampleDescription
codeintegerNo200
datafinance.ClassificationResponseNo
data.categoriesarrayNo
data.instrumentfinance.InstrumentNo
data.instrument.after_hoursfinance.PriceChangeNo
data.instrument.after_hours.changenumberNo-3.37
data.instrument.after_hours.change_percentnumberNo-1.3
data.instrument.after_hours.pricenumberNo255.65
data.instrument.changenumberNo-3.37
data.instrument.change_percentnumberNo-1.3
data.instrument.countrystringNoUS
data.instrument.currencystringNoUSD
data.instrument.exchangestringNoNASDAQ
data.instrument.google_idstringNo/m/07zmbvf
data.instrument.identifierstringNoAAPL:NASDAQ
data.instrument.last_update_unixintegerNo1777077000
data.instrument.namestringNoApple Inc
data.instrument.previous_closenumberNo236.35
data.instrument.pricenumberNo255.65
data.instrument.tickerstringNoAAPL
data.instrument.timezonestringNoAmerica/New_York
data.instrument.typestringNostock
msgstringNoOK

Example request

curl -X GET "https://api.crawlora.net/api/v1/google/finance/classification/%3Cquote%3E" -H "x-api-key: <api-key>"

TypeScript fetch

const url = new URL("https://api.crawlora.net/api/v1/google/finance/classification/%3Cquote%3E");
const headers = new Headers();
headers.set("x-api-key", "<api-key>");
const response = await fetch(url, {
  method: "GET",
  headers,
});
const payload = await response.json();