> For the complete documentation index, see [llms.txt](https://pavel-kuligin.gitbook.io/chart/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pavel-kuligin.gitbook.io/chart/json-data.md).

# JSON data

### Link Chart with remote JSON

If you want to use data for Chart from your REST API response go to `JSON tab` and click `HTTPS link`, your JSON must be valid. After syncing you need to select keys, header and click Create chart.

![](/files/-Ln5H4-PMBl2HoPAPV6s)

### Upload JSON

If you want to upload static JSON file click `Local JSON` in the JSON tab. You can use only valid JSON.

### What is valid JSON

Valid JSON must have array of objects, each object must have the similar keys.

```javascript
[
	{
		"date":"21.03",
		"price":"$120.3",
		"sales":43
	},
	{
		"date":"22.03",
		"price":"$130.4",
		"sales":40
	},
	{
		"date":"23.03",
		"price":"$70.1",
		"sales":25
	}
]
```
