Skip to main content
POST
/
api
/
google
/
finance
/
search
/google/finance/search
curl --request POST \
  --url https://api.anysite.io/api/google/finance/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "symbol": "<string>",
    "exchange": "<string>",
    "name": "<string>",
    "@type": "@google_finance_search_result",
    "price": 123,
    "change": 123,
    "change_percent": 123,
    "previous_close": 123,
    "currency": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required

Search query: company name or ticker symbol

Minimum string length: 1
Examples:

"apple"

"tesla"

count
integer
required

Maximum number of results to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
symbol
string
required
exchange
string
required
name
string
required
@type
string
default:@google_finance_search_result
price
number | null
change
number | null
change_percent
number | null
previous_close
number | null
currency
string | null