Billing
Retrieves historical usage data
GEThttps://api.w3ipfs.storage/api/billing/historyUsage
Query
offset (default: 0)
limit (default: 10)
Headers
pinning_api_key* PINNING-API-KEY
pinning_secret_key* PINNING-SECRET-KEY
Response
200: OK
curl --location --request GET 'https://api.w3ipfs.storage/api/billing/historyUsage?offset=0&limit=10' \
--header 'pinning_api_key: KEY' \
--header 'pinning_secret_key: SECRET'
Retrieves top up data
GEThttps://api.w3ipfs.storage/api/billing/topUp
Query
offset (default: 0)
limit (default: 10)
Headers
pinning_api_key* PINNING-API-KEY
pinning_secret_key* PINNING-SECRET-KEY
Response
200: OK
curl --location --request GET 'https://api.w3ipfs.storage/api/billing/topUp?offset=0&limit=10' \
--header 'pinning_api_key: KEY' \
--header 'pinning_secret_key: SECRET' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "test-api-key3",
"scopes": {
"data": {
"pinList": true
},
"pinning": {
"unpin": true
}
}
}'
Get this month usage data for a user
GEThttps://api.w3ipfs.storage/api/billing/thisMonthUsage
Query
offset (default: 0)
limit (default: 10)
Headers
pinning_api_key* PINNING-API-KEY
pinning_secret_key* PINNING-SECRET-KEY
Response
200: OK
curl --location --request GET 'https://api.w3ipfs.storage/api/billing/thisMonthUsage?offset=0&limit=10' \
--header 'pinning_api_key: KEY' \
--header 'pinning_secret_key: SECRET'