TILDA HELP CENTER

Tilda API

You need to get Publickey and Secretkey to interact with API. This is an experimental function. For any questions or suggestions don't hesitate to email us: hello@tilda.cc
All requests are sent by the GET method and get back as a JSON response. The status of a success response is: FOUND, the status of an error response is: ERROR. The limit to the number of requests is150 per hour.

Get projects list

Request line GET:
http://api.tildacdn.info/v1/getprojectslist/?publickey=00000000000000000000&secretkey=00000000000000000000
json response:
{
"status":"FOUND",
"result":[
{
"id":"0",
"title":"First Project",
"descr":"Some info"
},
{
"id":"1",
"title":"Second Project",
"descr":""
},
...
]
}

Get project date

Request line GET:
http://api.tildacdn.info/v1/getproject/?publickey=00000000000000000000&secretkey=00000000000000000000&projectid=0
{
"status":"FOUND",
"result":{
"id":"0",
"title":"Project name",
"descr":"dome description",
"customdomain":"",
"css":["http://tilda.ws/css/tilda-grid-2.0.css",
"http://tilda.ws/project0/tilda-blocks-2.0.css"],
"js":["http://code.jquery.com/jquery-1.10.2.min.js",
"http://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js",
"http://tilda.ws/js/jquery.videoBG.js",
"http://tilda.ws/js/jquery.parallax-1.1.3.js",
"http://tilda.ws/js/tilda-scripts-2.0.js"
]
}
}

Get pages list

Request line GET:
http://api.tildacdn.info/v1/getpageslist/?publickey=00000000000000000000&secretkey=00000000000000000000&projectid=0
json response:
{
"status":"FOUND",
"result":[
{
"id":"1001",
"projectid":"0",
"title":"Page title first",
"descr":"",
"img":"",
"featureimg":"",
"alias":"",
"date":"2014-05-16 14:45:53",
"sort":"80",
"published":"1419702868"
},
{
"id":"1001",
"projectid":"0",
"title":"Page title second",
"descr":"",
"img":"",
"featureimg":"",
"alias":"",
"date":"2014-05-16 14:45:53",
"sort":"90",
"published":"1419702277"
},
...
]
}

Get date of a page and its body html code

Request line GET:
http://api.tildacdn.info/v1/getpage/?publickey=00000000000000000000&secretkey=00000000000000000000&pageid=1001
{
"status":"FOUND",
"result":
{
"id":"1001",
"projectid":"0",
"title":"Page title",
"descr":"",
"img":"",
"featureimg":"",
"alias":"",
"date":"2014-05-16 14:45:53",
"sort":"80",
"published":"1419702868",
"html":"some html page code"
}
}
Made on
Tilda