POST
/
v1
/
knowledge_search
curl --request POST \
  --url https://trytako.com/api/v1/knowledge_search \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "inputs": {
    "text": "AMD vs. Nvidia headcount since 2013"
  },
  "source_indexes": [
    "tako"
  ]
}'
{
  "outputs": {
    "knowledge_cards": [
      {
        "card_id": "jLmsqH4NfXFLqhWnZqhM",
        "title": "Nvidia, Advanced Micro Devices - Full Time Employees",
        "description": "This is a time series bar chart showing 2 series between 12:00AM UTC-04:00 on 04/01/2013 and 08:55PM UTC on 04/30/2025. Nvidia Full Time Employees latest value was at 12:00AM UTC on 12-31-2024, and had a final value of 36.0K Employees, or 308.72% growth since 12:00AM UTC on 12-31-2013, with a maximum value of 36.0K Employees at 12:00AM UTC on 12-31-2024 and a minimum value of 8.81K Employees at 12:00AM UTC on 12-31-2013; Advanced Micro Devices Full Time Employees latest value was at 12:00AM UTC on 12-31-2024, and had a final value of 28.0K Employees, or 162.39% growth since 12:00AM UTC on 12-31-2013, with a maximum value of 28.0K Employees at 12:00AM UTC on 12-31-2024 and a minimum value of 8.2K Employees at 12:00AM UTC on 12-31-2016. The source of the data is S&P Global. S&P Global is a US-based financial data and analytics company that provides products and services to the financial industry.",
        "webpage_url": "https://trytako.com/card/jLmsqH4NfXFLqhWnZqhM/",
        "image_url": "https://trytako.com/api/v1/image/jLmsqH4NfXFLqhWnZqhM/",
        "embed_url": "https://trytako.com/embed/jLmsqH4NfXFLqhWnZqhM/",
        "sources": [
          {
            "source_name": "S&P Global",
            "source_description": "S&P Global is a US-based financial data and analytics company that provides products and services to the financial industry.",
            "source_index": "tako",
            "url": "https://xignite.com"
          }
        ],
        "methodologies": [
          {
            "methodology_name": "Where the Data Comes From - S&P Global",
            "methodology_description": "The financial metrics are collected from S&P Global, where information is sourced from original regulatory filings, press releases, and subsequent restatements. Data points, including over 5,000 financial, supplemental, segment, ratio, and industry-specific items, are standardized across over 180,000 companies to ensure consistency and comparability across different reporting formats. This comprehensive and methodical process enables robust historical analysis and back-testing by seamlessly integrating diverse financial datasets while preserving the granularity of the original reports."
          }
        ],
        "source_indexes": [
          "tako"
        ]
      }
    ]
  },
  "request_id": "<string>"
}

Notes

  • To authenticate, you’ll need a Tako API key. It’s best practice to store it as an environment variable to avoid hardcoding sensitive credentials in your code.
  • This endpoint executes a Tako Knowledge Search using a natural language query. Tako parses and interprets the query, and then assembles knowledge cards on the fly in response.
  • If the query requests multiple series of data (i.e. “Tesla Stock Price vs Net Income”), Tako will adjust the knowlkedge cards so it matches the user’s intent. This may necessitate using both a left and right y-axis to visualize data of far different dimensions/magnitudes, applying aggregations (e.g. percent change since start y-axis when there are series with distinct unit types), or other transformations.

Authorizations

X-API-Key
string
header
required

Body

application/json

Response

200 - application/json

List of knowledge search results

The response is of type object.