googleAvailable
Google Finance Search
Explore the request examples and use this API in the Playground. Account balance and limits apply.
Endpoint and pricing
POST
https://api.serpbase.dev/google/financeCatalog price: 1 credit per request.
Example request parameters
The sample comes from this product’s catalog. It is not the complete parameter list or required-field rules. See the API documentation; known fields are validated by the API.
| Parameter | Example type | Example value |
|---|---|---|
| query | string | "apple stock" |
JSON
{
"query": "apple stock"
}Request examples
cURL
curl -X POST 'https://api.serpbase.dev/google/finance' \
-H "Content-Type: application/json" \
-H 'X-API-Key: YOUR_API_KEY' \
-d '{"query":"apple stock"}'JavaScript
const response = await fetch("https://api.serpbase.dev/google/finance", {
"method": "POST",
"headers": {
"Content-Type": "application/json",
"X-API-Key": "YOUR_API_KEY"
},
"body": "{\"query\":\"apple stock\"}"
});
const result = await response.json();
// Check result.status and result.error for the API outcome.
console.log(result);Response and API outcome
Responses are JSON. HTTP 200 on a search endpoint does not mean the API operation succeeded; inspect status and error. See the API documentation for response fields and errors.
View response documentation