Upload API

Get API key

On the top right hand-side of the website, click on Your profile. A pop-up menu will appear. And then click on Accounts settings.
In the developer's settings, click on the Generate Auth Key button to get the key.
Add the obtained key to the header of the request:
{
"headers":{
"authentication":"Your Auth Key"
}
}

Upload data

post
https://www.footprint.network/api/v1/custom/data/upload
Upload data to Footprint
tableFieldSchema
Field name
Type
Required
Description
name
String
Yes
Field name
type
Enum
Yes
Field type

Example

{
"tableName":"your_table_name",
"tableFieldSchema":[
{
"name":"chain",
"type":"STRING"
},
{
"name":"time",
"type":"DATETIME"
}
],
"updateForce":false,
"tableData":[
{
"chain":"BSC",
"time":"2022-01-01 12:00:00"
},
{
"chain":"Polygon",
"time":"2022-01-01 12:00:00"
}
]
}
Copy link
Outline
Get API key
Upload data
post
Upload data to Footprint