Skip to main content

Quotes

Use quote routes for symbol-specific data.

Summary

curl "https://api.gfin.dev/v1/quote/AAPL/summary?exchange=NASDAQ" \
-H "X-Gfin-Contact: you@example.com"
summary = client.quote_summary("AAPL", exchange="NASDAQ")
const summary = await client.quoteSummary("AAPL", { exchange: "NASDAQ" });

Additional Views

curl "https://api.gfin.dev/v1/quote/AAPL/details?exchange=NASDAQ"
curl "https://api.gfin.dev/v1/quote/AAPL/history?exchange=NASDAQ"
curl "https://api.gfin.dev/v1/quote/AAPL/financials?exchange=NASDAQ"
curl "https://api.gfin.dev/v1/quote/AAPL/earnings?exchange=NASDAQ"
curl "https://api.gfin.dev/v1/quote/AAPL/related?exchange=NASDAQ"
curl "https://api.gfin.dev/v1/quote/AAPL/sentiment?exchange=NASDAQ"

Python helpers:

client.quote_details("AAPL", exchange="NASDAQ")
client.quote_history("AAPL", exchange="NASDAQ")
client.quote_financials("AAPL", exchange="NASDAQ")
client.quote_earnings("AAPL", exchange="NASDAQ")
client.quote_related("AAPL", exchange="NASDAQ")
client.quote_sentiment("AAPL", exchange="NASDAQ")

TypeScript helpers:

await client.quoteDetails("AAPL", { exchange: "NASDAQ" });
await client.quoteHistory("AAPL", { exchange: "NASDAQ" });
await client.quoteFinancials("AAPL", { exchange: "NASDAQ" });
await client.quoteEarnings("AAPL", { exchange: "NASDAQ" });
await client.quoteRelated("AAPL", { exchange: "NASDAQ" });
await client.quoteSentiment("AAPL", { exchange: "NASDAQ" });

Tips

  • Use search before quote calls when user input is ambiguous.
  • Pass exchange when known.
  • Keep quote summary for list pages and richer views for detail pages.
  • Treat absent fields as unavailable data.