curl --request POST \
--url https://trytako.com/api/v1/beta/visualize \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"tako_formatted_dataset": {
"title": "Walmart vs Verizon Total Revenue",
"description": "Comparison of Walmart and Verizon'\''s Total Revenue (fiscal years)",
"variables": [
{
"is_higher_better": true,
"is_sortable": true,
"name": "Company",
"type": "string",
"units": null
},
{
"is_higher_better": true,
"is_sortable": true,
"name": "Revenue",
"type": "number",
"units": "$M"
}
],
"rows": [
{
"values": [
{
"value": "Apple",
"variable_name": "Company"
},
{
"value": 1000000,
"variable_name": "Revenue"
}
]
}
],
"source": "<string>",
"source_byline": "<string>"
},
"file_id": "<string>",
"query": "<string>"
}'
{
"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>"
}
Visualize your datasets in knowledge cards
curl --request POST \
--url https://trytako.com/api/v1/beta/visualize \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"tako_formatted_dataset": {
"title": "Walmart vs Verizon Total Revenue",
"description": "Comparison of Walmart and Verizon'\''s Total Revenue (fiscal years)",
"variables": [
{
"is_higher_better": true,
"is_sortable": true,
"name": "Company",
"type": "string",
"units": null
},
{
"is_higher_better": true,
"is_sortable": true,
"name": "Revenue",
"type": "number",
"units": "$M"
}
],
"rows": [
{
"values": [
{
"value": "Apple",
"variable_name": "Company"
},
{
"value": 1000000,
"variable_name": "Revenue"
}
]
}
],
"source": "<string>",
"source_byline": "<string>"
},
"file_id": "<string>",
"query": "<string>"
}'
{
"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>"
}
List of knowledge search results
The response is of type object
.