Get Complete Stock Quote

Get comprehensive data for a stock including real-time quote, key statistics, company information, financials, news, and discover more suggestions. All data extracted from a single page fetch for maximum performance.

Endpoint

GET /api/google-finance/quote

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Parameters

symbol string Required

Stock symbol (e.g., AAPL)

exchange string Optional

Exchange code (e.g., NASDAQ)

period_type string Optional

Filter financials by period: quarterly or annual (default: returns visible data, typically quarterly)

hl string Optional

Language code (default: en)

gl string Optional

Country code (default: us)

Request Examples

<?php

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, 'https://scrappa.co/api/google-finance/quote?symbol=AAPL&exchange=NASDAQ');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    'x-api-key: YOUR_API_KEY_HERE',
]);

$response = curl_exec($ch);
curl_close($ch);

echo $response;
<?php

use Illuminate\Support\Facades\Http;

$response = Http::withHeaders([
    'x-api-key' => 'YOUR_API_KEY_HERE',
])->get('https://scrappa.co/api/google-finance/quote?symbol=AAPL&exchange=NASDAQ');

return $response->json();
fetch('https://scrappa.co/api/google-finance/quote?symbol=AAPL&exchange=NASDAQ', {
  headers: {
    'x-api-key': 'YOUR_API_KEY_HERE'
  }
})
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error('Error:', error));
const axios = require('axios');

axios.get('https://scrappa.co/api/google-finance/quote?symbol=AAPL&exchange=NASDAQ', {
  headers: {
    'x-api-key': 'YOUR_API_KEY_HERE'
  }
})
  .then(response => console.log(response.data))
  .catch(error => console.error('Error:', error));
import requests

headers = {
    'x-api-key': 'YOUR_API_KEY_HERE'
}

response = requests.get('https://scrappa.co/api/google-finance/quote?symbol=AAPL&exchange=NASDAQ', headers=headers)
print(response.json())
require 'net/http'
require 'uri'
require 'json'

uri = URI.parse('https://scrappa.co/api/google-finance/quote?symbol=AAPL&exchange=NASDAQ')
request = Net::HTTP::Get.new(uri)
request['x-api-key'] = 'YOUR_API_KEY_HERE'

response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == 'https') do |http|
  http.request(request)
end

puts JSON.parse(response.body)
package main

import (
    "fmt"
    "io/ioutil"
    "net/http"
)

func main() {
    client := &http.Client{}
    req, _ := http.NewRequest("GET", "https://scrappa.co/api/google-finance/quote?symbol=AAPL&exchange=NASDAQ", nil)
    req.Header.Set("x-api-key", "YOUR_API_KEY_HERE")

    resp, err := client.Do(req)
    if err != nil {
        panic(err)
    }
    defer resp.Body.Close()

    body, _ := ioutil.ReadAll(resp.Body)
    fmt.Println(string(body))
}
curl -X GET 'https://scrappa.co/api/google-finance/quote?symbol=AAPL&exchange=NASDAQ' \
  -H 'x-api-key: YOUR_API_KEY_HERE'

Response Schema

JSON Response 200 OK
{
    "quote": {
        "summary": {
            "name": "Apple Inc",
            "symbol": "AAPL",
            "exchange": "NASDAQ",
            "current_price": "255.78",
            "price_change": "-5.95",
            "percent_change": "-2.27%",
            "currency": "USD",
            "market": {
                "trading": "Closed",
                "price": "255.30",
                "extracted_price": 255.3,
                "price_movement": {
                    "percentage": 0.19,
                    "movement": "Up"
                }
            },
            "extensions": [
                "Closed: Feb 13, 8:00:00 PM UTC-5",
                "USD",
                "NASDAQ"
            ]
        },
        "key_stats": {
            "previous_close": "$261.73",
            "day_range": "$255.45 - $262.23",
            "year_range": "$169.21 - $288.61",
            "market_cap": "3.76T USD",
            "avg_volume": "53.72M",
            "pe_ratio": "32.36",
            "dividend_yield": "0.41%",
            "primary_exchange": "NASDAQ",
            "climate_change": {
                "score": "A",
                "link": "https://cdp.net/..."
            },
            "stats": [],
            "tags": []
        },
        "about": {
            "description": "Apple Inc. is an American multinational technology company...",
            "ceo": "Tim Cook",
            "founded": "Apr 1, 1976",
            "headquarters": "Cupertino, California",
            "employees": "166,000",
            "website": null,
            "info": []
        },
        "financials": [
            {
                "title": "Income Statement",
                "results": [
                    {
                        "date": "Dec 2025",
                        "period_type": "Quarterly",
                        "table": [
                            {
                                "title": "Revenue",
                                "description": "The total amount...",
                                "value": "143.76B",
                                "change": "15.65%"
                            },
                            {
                                "title": "Net income",
                                "description": "Company earnings...",
                                "value": "42.10B",
                                "change": "15.87%"
                            }
                        ]
                    }
                ]
            }
        ],
        "news": [
            {
                "title": "Here's Why Apple (AAPL) is a Great Momentum Stock to Buy",
                "link": "https://www.nasdaq.com/...",
                "source": "Nasdaq",
                "date": "1 day ago",
                "iso_date": "2025-02-13T12:00:00+00:00",
                "thumbnail": "https://..."
            }
        ],
        "discover_more": [
            {
                "title": "You may be interested in",
                "items": [
                    {
                        "stock": "AMZN:NASDAQ",
                        "name": "Amazon.com Inc",
                        "price": "$198.79",
                        "extracted_price": 198.79,
                        "currency": "USD",
                        "price_movement": {
                            "percentage": 0.41,
                            "movement": "Up"
                        }
                    }
                ]
            }
        ]
    }
}

Try It Live

Test this endpoint in our interactive playground with real data.

Open in Playground