Skip to main content
For AI agents: Use llms.txt for a full index of all documentation.

Installation

Tako ships official SDKs for Python and TypeScript / JavaScript. AI clients connect through the hosted MCP server — nothing to install, just the endpoint. Every endpoint is also a single POST, so any other language works over the REST API directly.
pip install tako-sdk
npm install tako-sdk
npm install @takoviz/ai-sdk ai @ai-sdk/openai
https://mcp.tako.com/mcp
For one-click MCP setup in Claude, ChatGPT, Cursor, and VS Code, see the MCP server page.

Get your API key

1

Sign up for free credits

New to Tako? Sign up and get free credits to start building.
2

Create an API key

Create an API key from your Tako console.
3

Store it as an environment variable

Store it as an environment variable — for example TAKO_API_KEY — rather than hardcoding it.

Pick the right tool

Each API is a single call over the same curated, real-time data — here’s what each one is for, and why it beats a generic search API. Expand a tool to see when to reach for it.
  • Rank a cohort. “Which of the 20 largest US semiconductor companies grew revenue fastest since 2015?” — the Agent resolves the set, pulls each company’s data, and ranks them in one long-running run you dispatch and poll.
  • Background research job. Kick off an overnight run that compiles a competitor’s funding history, headcount, and recent filings into one cited brief, and read it when it finishes.
Learn more about Agent
  • Answer in a chat assistant. A support bot hits “What was NVIDIA’s latest quarterly revenue?” mid-conversation and gets back the written answer plus its sources in one call — no retrieval to wire up.
  • Keep a page current. A weekly market-recap page renders “How did the S&P 500 do this week?” with the cards behind it, then re-runs each morning to keep the copy fresh.
Learn more about Answer
  • Mass-query for an agent. Fan out Search calls to grab fresh data fast — pull this quarter’s revenue for all 30 holdings in a portfolio at once, one call per ticker, with no LLM in the loop — then compute on the results.
  • Embed a live chart. A dashboard drops a live “Gold price, last 5 years” card into the page from a single query.
Learn more about Search
  • Feed exact numbers to an agent. After Search returns a card, the agent downloads its CSV and computes a 3-year growth rate on the real series instead of guessing from prose.
  • Pull a series into a notebook. An analyst pulls “US CPI, year over year” straight into a pandas dataframe or spreadsheet to chart it themselves.
Learn more about Contents
Already have your own data? Thin-Viz turns it into interactive, embeddable Tako cards.

Make your first request

Pick the use case closest to what you’re building. Each is a single call over the same real-time data — the code and the live result below both change to match.
Search returns fast, structured knowledge cards for a query — no LLM in the loop. Ideal for pulling live prices you render or compute on yourself.

Code

curl -X POST https://tako.com/api/v3/search \
  -H "X-API-Key: $TAKO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "What are today'\''s top performing stocks?"
  }'
import os
from tako import Configuration, SearchRequest
from tako.lib import Tako

config = Configuration()
config.api_key["apiKey"] = os.environ["TAKO_API_KEY"]
client = Tako(config)

results = client.search(SearchRequest(query="What are today's top performing stocks?"))
for card in results.cards or []:
    print(card.title, card.webpage_url)
import { Tako } from "tako-sdk";

const tako = new Tako({ apiKey: process.env.TAKO_API_KEY! });

const results = await tako.search({ query: "What are today's top performing stocks?" });
for (const card of results.cards ?? []) {
  console.log(card.title, card.webpage_url);
}

Result

A knowledge card — a full data series with its sources, ready to render or compute on.

Next steps

Developer Playground

No setup required. Try a simple query like “Nvidia earnings” or a long-form prompt to see what Tako returns.

What is Tako?

Learn more about Tako’s key concepts and functionality.