Google Finance data for production apps
gfin
A hosted Google Finance API for builders and their agents: quotes, prices, financials, earnings, news, market context, OpenAPI, Python, TypeScript, REST, and native SDK calls.
Use gfin from the runtime you already have.
Start with the native Python SDK, use the TypeScript SDK in apps and agents, or call the hosted REST API from any language.
Download the Python SDK
Use the hosted API client directly from Python apps, jobs, and agents.
pip install gfin
TypeScript
Download the TypeScript SDK
Use gfin from Node, browsers, Workers, Bun, Deno, and agent runtimes.
npm install @bluefin-ai/gfin
REST
Call the hosted API
Fetch quotes, price history, financials, earnings, news, market data, and research.
https://api.gfin.dev
Docs
Read the docs
Guides, concepts, rate limits, error shapes, OpenAPI, and SDK docs.
docs.gfin.dev
Familiar market-data calls. A real API where it counts.
gfin gives teams and agents a hosted API surface with native SDK clients, shared caching, and predictable public limits.
| Area | gfin | Local fetch stack |
|---|---|---|
| Best fit | Apps, services, agents, jobs, dashboards | Local notebooks and scripts |
| Public REST API | Hosted API with stable URLs | No hosted REST API |
| Free public limits | 20 req/s anonymous, 500 req/s with API key | No managed API tier |
| SDKs | Python + TypeScript/JavaScript | Application-owned clients |
| AI and tool use | OpenAPI, docs, stable HTTP routes | Requires Python execution or a custom wrapper |
| Integration | Use gfin.Client or REST directly |
Application-owned adapters |
One market-data surface, three entry points.
Use the SDK when it fits. Use REST when you want the same data from another language, service, or agent.
import gfin
client = gfin.Client(api_key="gfin_live_...")
print(client.quotes.get("AAPL", exchange="NASDAQ"))
print(client.prices.history("AAPL", exchange="NASDAQ"))
import { Client } from "@bluefin-ai/gfin";
const gfin = new Client({ apiKey: "gfin_live_..." });
const quote = await gfin.quotes.get("AAPL", { exchange: "NASDAQ" });
console.log(quote.data);
No signup. Install gfin and go.
Start free, verify an email when your app needs more room, and request custom RPS when your workload grows.