curl --request POST \
--url https://app.d-sports.org/api/v1/engage/games/locker-singularity/ledger/taps \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tapCount": 2,
"idempotencyKey": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'import requests
url = "https://app.d-sports.org/api/v1/engage/games/locker-singularity/ledger/taps"
payload = {
"tapCount": 2,
"idempotencyKey": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({tapCount: 2, idempotencyKey: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://app.d-sports.org/api/v1/engage/games/locker-singularity/ledger/taps', 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://app.d-sports.org/api/v1/engage/games/locker-singularity/ledger/taps",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'tapCount' => 2,
'idempotencyKey' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.d-sports.org/api/v1/engage/games/locker-singularity/ledger/taps"
payload := strings.NewReader("{\n \"tapCount\": 2,\n \"idempotencyKey\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.d-sports.org/api/v1/engage/games/locker-singularity/ledger/taps")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"tapCount\": 2,\n \"idempotencyKey\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.d-sports.org/api/v1/engage/games/locker-singularity/ledger/taps")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"tapCount\": 2,\n \"idempotencyKey\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}"
response = http.request(request)
puts response.read_body{
"ledger": {
"buzz": "<string>",
"lifetimeBuzz": "<string>",
"cumulativeBuzz": "<string>",
"playbooks": 123,
"generators": [
{
"generatorId": "rookie-card",
"owned": 123
}
],
"milestonesClaimed": [
"<string>"
],
"upgrades": [
"<string>"
],
"rings": 123,
"totalRings": 123,
"prestigeCount": 123,
"multiplier": 123,
"prestigeUnlocked": true,
"version": 123,
"lastSeenAt": "2023-11-07T05:31:56Z"
},
"acceptedTaps": 123,
"clampedTaps": 123,
"tapValue": "<string>"
}Submit batched buzz taps
The client sends intent, never values. tapCount is an integer >= 1 with no wire max; values above 100 are clamped server-side (acceptedTaps=100, clampedTaps=tapCount-100). Non-integer or non-positive counts return 400 VALIDATION_ERROR. Sustained abuse returns 429 IDLE_TAP_RATE_LIMITED with a Retry-After header. Mutations carry a UUID v4 idempotencyKey: replaying the same key returns the stored response verbatim, while the same key with a mutated body returns 400 VALIDATION_ERROR with no second credit. Optional X-Client-Version below minClientVersion returns 403 GAME_UPDATE_REQUIRED.
curl --request POST \
--url https://app.d-sports.org/api/v1/engage/games/locker-singularity/ledger/taps \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tapCount": 2,
"idempotencyKey": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'import requests
url = "https://app.d-sports.org/api/v1/engage/games/locker-singularity/ledger/taps"
payload = {
"tapCount": 2,
"idempotencyKey": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({tapCount: 2, idempotencyKey: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://app.d-sports.org/api/v1/engage/games/locker-singularity/ledger/taps', 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://app.d-sports.org/api/v1/engage/games/locker-singularity/ledger/taps",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'tapCount' => 2,
'idempotencyKey' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.d-sports.org/api/v1/engage/games/locker-singularity/ledger/taps"
payload := strings.NewReader("{\n \"tapCount\": 2,\n \"idempotencyKey\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.d-sports.org/api/v1/engage/games/locker-singularity/ledger/taps")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"tapCount\": 2,\n \"idempotencyKey\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.d-sports.org/api/v1/engage/games/locker-singularity/ledger/taps")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"tapCount\": 2,\n \"idempotencyKey\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}"
response = http.request(request)
puts response.read_body{
"ledger": {
"buzz": "<string>",
"lifetimeBuzz": "<string>",
"cumulativeBuzz": "<string>",
"playbooks": 123,
"generators": [
{
"generatorId": "rookie-card",
"owned": 123
}
],
"milestonesClaimed": [
"<string>"
],
"upgrades": [
"<string>"
],
"rings": 123,
"totalRings": 123,
"prestigeCount": 123,
"multiplier": 123,
"prestigeUnlocked": true,
"version": 123,
"lastSeenAt": "2023-11-07T05:31:56Z"
},
"acceptedTaps": 123,
"clampedTaps": 123,
"tapValue": "<string>"
}Authorizations
Clerk session token. Use Authorization: Bearer .
Headers
Native client semver. Below minClientVersion returns 403 GAME_UPDATE_REQUIRED.
Body
Response
{ ledger, acceptedTaps, clampedTaps, tapValue }
locker-singularity idle ledger wire state. Buzz counters are BigInt serialized as decimal strings. Additive-only wire evolution (d-sports-api#682).
Show child attributes
Show child attributes
BigInt serialized as decimal string.
Was this page helpful?
