v1/account/usage REST API Endpoint
Query Parameters
startDate
string
REQUIRED
Loading...
endDate
string
REQUIRED
Loading...
interval
string
REQUIRED
Loading...
Returns
interval
string
Loading...
startTime
string
Loading...
endTime
string
Loading...
storageBytes
string
Loading...
bandwidthBytes
string
Loading...
Request
1curl --location 'https://api.quicknode.com/ipfs/rest/v1/account/usage?endDate=2023-07-27T22%3A18%3A08.000Z&interval=month&startDate=2023-06-27T22%3A18%3A08.000Z' \2--header 'x-api-key: YOUR_API_KEY'
1curl --location 'https://api.quicknode.com/ipfs/rest/v1/account/usage?endDate=2023-07-27T22%3A18%3A08.000Z&interval=month&startDate=2023-06-27T22%3A18%3A08.000Z' \2--header 'x-api-key: YOUR_API_KEY'
1var myHeaders = new Headers();2myHeaders.append("x-api-key", "YOUR_API_KEY");34var requestOptions = {5method: 'GET',6headers: myHeaders,7redirect: 'follow'8};910fetch("https://api.quicknode.com/ipfs/rest/v1/account/usage?endDate=2023-07-27T22%3A18%3A08.000Z&interval=month&startDate=2023-06-27T22%3A18%3A08.000Z", requestOptions)11.then(response => response.text())12.then(result => console.log(result))13.catch(error => console.log('error', error));
1var myHeaders = new Headers();2myHeaders.append("x-api-key", "YOUR_API_KEY");34var requestOptions = {5method: 'GET',6headers: myHeaders,7redirect: 'follow'8};910fetch("https://api.quicknode.com/ipfs/rest/v1/account/usage?endDate=2023-07-27T22%3A18%3A08.000Z&interval=month&startDate=2023-06-27T22%3A18%3A08.000Z", requestOptions)11.then(response => response.text())12.then(result => console.log(result))13.catch(error => console.log('error', error));
1import requests23url = "https://api.quicknode.com/ipfs/rest/v1/account/usage?endDate=2023-07-27T22%3A18%3A08.000Z&interval=month&startDate=2023-06-27T22%3A18%3A08.000Z"45payload = {}6headers = {7'x-api-key': 'YOUR_API_KEY'8}910response = requests.request("GET", url, headers=headers, data=payload)1112print(response.text)13
1import requests23url = "https://api.quicknode.com/ipfs/rest/v1/account/usage?endDate=2023-07-27T22%3A18%3A08.000Z&interval=month&startDate=2023-06-27T22%3A18%3A08.000Z"45payload = {}6headers = {7'x-api-key': 'YOUR_API_KEY'8}910response = requests.request("GET", url, headers=headers, data=payload)1112print(response.text)13
1require "uri"2require "net/http"34url = URI("https://api.quicknode.com/ipfs/rest/v1/account/usage?endDate=2023-07-27T22%3A18%3A08.000Z&interval=month&startDate=2023-06-27T22%3A18%3A08.000Z")56https = Net::HTTP.new(url.host, url.port)7https.use_ssl = true89request = Net::HTTP::Get.new(url)10request["x-api-key"] = "YOUR_API_KEY"1112response = https.request(request)13puts response.read_body
1require "uri"2require "net/http"34url = URI("https://api.quicknode.com/ipfs/rest/v1/account/usage?endDate=2023-07-27T22%3A18%3A08.000Z&interval=month&startDate=2023-06-27T22%3A18%3A08.000Z")56https = Net::HTTP.new(url.host, url.port)7https.use_ssl = true89request = Net::HTTP::Get.new(url)10request["x-api-key"] = "YOUR_API_KEY"1112response = https.request(request)13puts response.read_body
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free