MCS API
This is a Postman Collection for the Multi-Chain Storage API v1 endpoints. The page below describes different components of our API offering.
Common
Get system config
GET
https://mcs-api.filswan.com/api/v1/common/system/params
This endpoint allows you to get system config
Path Parameters
Get host info
GET
https://mcs-api.filswan.com/api/v1/common/host/info
Upload file
Get USDC/Filecoin exchange rate
GET
https://mcs-api.filswan.com/api/v1/billing/price/filecoin
This endpoint allows you to get the current exchange rate of USDC against Filecoin.
Get average Filecoin statistics.
GET
https://api.filswan.com/stats/storage
This endpoint allows you to get average Filecoin storage price.
Upload to IPFS
POST
https://mcs-api.filswan.com/api/v1/storage/ipfs/upload
This endpoint allows you to upload your file to IPFS server.
Request Body
Batch Upload to IPFS
POST
https://mcs-api.filswan.com/api/v1/storage/ipfs/batchupload
This endpoint allows you to batch upload your file to IPFS server.
Request Body
My files
Get uploaded file list
GET
https://mcs-api.filswan.com/api/v1/storage/tasks/deals
This endpoint allows you to get a list of your uploaded files.
Path Parameters
Get deal details
GET
https://mcs-api.filswan.com/api/v1/storage/deal/detail/<deal_id>
This endpoint allows you to get deal details and DAO details.
Path Parameters
get deal logs
GET
https://mcs-api.filswan.com/api/v1/storage/deal/log/<deal_cid>
This endpoint allows you to get offline deal logs
Get payment information
GET
https://mcs-api.filswan.com/api/v1/billing/deal/lockpayment/info
This endpoint allows you to get the specific payment information by payload CID.
Path Parameters
Record mint info
POST
https://mcs-api.filswan.com/api/v1/storage/mint/info
This endpoint allows to record mint info to mcs database.
Request Body
Billing history
Get billing history
GET
https://mcs-api.filswan.com/api/v1/billing
This endpoint allows you to get the billing history related to current wallet account.
Path Parameters
Last updated