curl --request GET \
--url https://api.webacy.com/usage/current \
--header 'x-api-key: <api-key>'import requests
url = "https://api.webacy.com/usage/current"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.webacy.com/usage/current', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.webacy.com/usage/current",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.webacy.com/usage/current"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.webacy.com/usage/current")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.webacy.com/usage/current")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"addresses/:walletAddress": {
"used": 1234,
"remaining": null,
"limit": null
},
"quick-profile/:walletAddress": {
"used": 87,
"remaining": 4913,
"limit": 5000
}
}{
"message": "Organization name not found"
}Get current API usage
Get current billing-period API usage by endpoint. Each route reports real served-request consumption from Datadog completion logs plus AWS quota state. remaining and limit are null for unlimited plans. Cache-served responses—requested with use-cache=true or used when a live provider is rate-limited—add the stale and generated_at markers plus the X-Data-Age-Seconds header.
curl --request GET \
--url https://api.webacy.com/usage/current \
--header 'x-api-key: <api-key>'import requests
url = "https://api.webacy.com/usage/current"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.webacy.com/usage/current', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.webacy.com/usage/current",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.webacy.com/usage/current"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.webacy.com/usage/current")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.webacy.com/usage/current")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"addresses/:walletAddress": {
"used": 1234,
"remaining": null,
"limit": null
},
"quick-profile/:walletAddress": {
"used": 87,
"remaining": 4913,
"limit": 5000
}
}{
"message": "Organization name not found"
}Authorizations
Query Parameters
Serve the persisted current-period snapshot instead of querying live providers. Cache responses include freshness markers.
Response
Success
Route path -> current-period usage. Cache-served responses also include the string/boolean stale and generated_at markers.
Present and true when this response was served from the persisted cache, either explicitly or after provider rate limiting. Absent on live responses.
true
Generation time of the persisted current-usage snapshot—the age of the stored record, not of the underlying measurement. Drives X-Data-Age-Seconds. Present on cache-served responses.
"2026-08-20T12:00:00.000Z"
Show child attributes
Show child attributes
