Skip to main content
This page is a complete, self-contained reference for building against Tako Search. It is written for coding agents (and developers in a hurry): every example runs after you supply an API key, every parameter is grounded in the live API, and the common mistakes are called out explicitly. For the auto-generated schema, see the Search API reference; for a narrative introduction, see the Overview.

What Search does

POST https://tako.com/api/v3/search takes a natural-language query and returns both data results — Tako knowledge cards (interactive, embeddable data visualizations with structured fields, named sources, and methodology) — and web search results, with no synthesized answer on top. Reach for it when you want to render or post-process the results yourself. Responses are compact and fast, so you can call it frequently and in parallel inside agentic loops. Unlike a web-search API that returns text snippets, each Tako card is a live visualization backed by structured data and attribution — so you get renderable, citable results, not just links.
  • Base URL: https://tako.com/api/
  • Auth: send your API key in the X-API-Key request header (not a bearer token). Create a key in the Tako console.
  • Request body is shared with Answer — the only difference is Answer adds a synthesized answer string.

Install

Minimal working example

Each snippet makes the same call and is complete after you set TAKO_API_KEY.

Request parameters

The body is a SearchRequest. Only query is required.

Forcing entity boundaries in query

Tako identifies the entities in the query before it searches. Double quotes force a phrase to be exactly one entity, and an optional :LABEL suffix sets its type. Use this when you already know the entity — an agent usually does.
Labels: PERSON, ORG, GPE, LOC, PRODUCT, DATE, EVENT, MONEY, CARDINAL, METRIC, TIME_PERIOD, UNITS. Quoting is all-or-nothing: every " in the query must belong to a non-empty pair of 80 characters or less. If one quote is unmatched, Tako ignores every quote in that query and searches as usual, so an ordinary web-style phrase query still works. An unrecognized label stays in the query text. The quotes never reach the search text. Answer accepts the same syntax.

Latency

Target p50 latency (not a guarantee), by effort:

Choosing sources

By default Search queries both Tako’s curated knowledge graph (data) and the live web (web), 5 results each. sources is an object whose keys select the indexes — a source is searched only if its key is present. Each source takes optional per-source settings:
The legacy key tako is accepted as a synonym for data and is mapped to it. Prefer data in new code.

What a response looks like

A 200 returns a SearchResponse:
Each card (TakoCard) carries:

People and company lists

A query that asks for people or companies with at least one filter returns a list card, built from company registries and licensed company and people data:
  • People: a role plus a company or a place, or a people word such as “executives” plus a company, such as "Heads of product at Figma", "VPs of sales at Salesforce", "executives at Databricks", or "CFOs in Austin". Name several companies and Search returns a separate list card for each, such as "engineers at Stripe or Plaid".
  • Companies: an industry or a company word such as “companies” or “startups”, plus a place, an employee count, a funding stage, public or private, or a founding year, such as "Cybersecurity startups in Tel Aviv", "Series B fintechs", or "AI startups founded since 2020". An industry plus a company word also works: "fintech companies".
A list card works like any other card, with these differences:
  • It shows the top 25 matches. A Contents export runs the search again and returns up to 1,000 rows. The card’s content.total_rows is the most rows that export returns, and content.truncated is true when that’s more than the card shows. Pass total_rows as max_rows to export the whole list.
  • Each row links to its own card. The row’s tako_url column holds a link to a one-row card for that person (/card/pe_…) or company (/card/co_…). Pass it to Contents to export just that row.
  • Some columns are premium. A people list’s contact columns (person_contact) and some company-list fields (company_record) are withheld in Search and in a default Contents export; Premium columns names them. The card’s content.premium_rows counts the records that hold them. Reveal them with a Contents export that sets premium: true.
For a list that takes several steps, such as a registry screen combined with a company’s directors, use the Company Agent. Search is for fast, structured data retrieval — cards and web results you render or post-process yourself, with no synthesized answer. Reach for it when:
  • You want structured results, not prose. No answer-synthesis LLM call in the path, so responses come back fast — about 500 ms on the default fast effort (see Latency) — call it frequently and fan out across many entities in parallel.
  • You’re feeding an agentic loop that needs a lot of accurate data, fast. One query per entity; act on the structured cards instead of waiting on generated text.
  • You want more than a single value. Each result is a knowledge card — a full series with named sources and methodology — so one call returns the surrounding context too, ready to render or compute on.
  • You want broad coverage. Search queries Tako’s curated knowledge graph, which includes companies and the people at them, and the live web by default, so you get a meaningful result across far more queries than either source alone.
Want prose instead? Use Answer for a synthesized, source-attributed answer over the same data in one call. Need multi-step reasoning — resolving a cohort, ranking a set, multi-hop aggregation? Use the Agent.

Downloading the underlying data

A result whose data is downloadable includes a content descriptor. Pass that result’s webpage_url (for a card) or url (for a web result) to Contents (POST /v1/contents) to download it — a CSV of a Tako card’s data, or extracted text for a web page. Not every result carries one: when a result’s underlying data can’t be exported, content is omitted. Treat its absence as “no download available” and skip the Contents call for that result. A placeholder card whose description names an unlock price is the exception: it has no content, but Contents returns its data. Pass its webpage_url to Contents, and the export charges as Cards with variable-cost data describes. A placeholder without that price can’t be exported. See the Contents For Your Coding Agent page for the full request and response reference, including url vs inline delivery modes. To skip the second call, inline the data in this response with the per-source include_contents setting.

Common mistakes

Avoid these — they are the patterns coding agents most often get wrong.

Errors

Failures return a BaseAPIError body: { "error_message": "...", "error_type": "..." }.