# 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.

![](https://2687445983-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LjckyokuMSRQdYTIfLV%2F-Ln5GgDFSFKGqYUtBOXO%2F-Ln5H4-PMBl2HoPAPV6s%2Fjson.png?alt=media\&token=0f2355a7-f716-47de-8a8c-407e4c7e751b)

### 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
	}
]
```
