Random tokens safe to use as credentials. Free, no key, no account.
4
Response Fields
FREE
No API Key Needed
JSON
Response Format
Base URL
Basehttps://cubsoftware.site
Authentication
No API key required — this endpoint is publicly accessible.
Please include a descriptive User-Agent header identifying your app.
Token Generator
GET/api/tokenSecurity
Random tokens safe to use as credentials.
Parameter
Type
Required
Description
length
integer
optional
Characters per token. Default 32, max 128.
count
integer
optional
How many to generate. Default 1, max 20.
format
string
optional
hex, urlsafe or alphanumeric. Default hex.
Example Response
{
"format": "hex",
"length": 32,
"note": "Generated with secrets, not random — these are safe to use as credentials.",
"tokens": [
"6860f6bd17fe9f14fadf204d6a863791"
]
}
package main
import (
"encoding/json""fmt""io""net/http"
)
funcmain() {
resp, _ := http.Get("https://cubsoftware.site/api/token?length=32&format=hex")
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
var data map[string]any
json.Unmarshal(body, &data)
fmt.Println(data["tokens"])
}
using System.Net.Http.Json;
var client = newHttpClient();
var data = await client.GetFromJsonAsync<Dictionary<string, object>>(
"https://cubsoftware.site/api/token?length=32&format=hex"
);
Console.WriteLine(data["tokens"]);
import java.net.URI;
import java.net.http.*;
import java.util.Map;
import com.fasterxml.jackson.databind.ObjectMapper;
var client = HttpClient.newHttpClient();
var req = HttpRequest.newBuilder()
.uri(URI.create("https://cubsoftware.site/api/token?length=32&format=hex"))
.build();
var res = client.send(req, HttpResponse.BodyHandlers.ofString());
var data = newObjectMapper().readValue(res.body(), Map.class);
System.out.println(data.get("tokens"));
require'net/http'require'json'
uri = URI('https://cubsoftware.site/api/token?length=32&format=hex')
data = JSON.parse(Net::HTTP.get(uri))
puts data['tokens']
Try It
Live request
Edit the path and send it. This runs against the real endpoint.
Press Send to run the request.
Rate Limits
10 requests per second per IP, across every endpoint.
We use cookies to keep you logged in, remember your preferences, and improve your experience.
By clicking Accept All you agree to our use of cookies as described in our Privacy Policy.
Cookies declined — some features like staying logged in may not work as expected.
Cookie Settings
Choose which cookies you allow. Your choice is saved and can be changed at any time using the settings button on every page.
Essential
Keeps you logged in, secures your session, and allows tools like the affiliate dashboard and account page to work. Warning: turning this off will sign you out immediately. You can still log in, but you won't stay signed in between visits.Disabling means you must sign in again every time you open the site.
Functional
Saves things like your saved settings, UI preferences, and other choices so you don't have to re-configure them every visit. Disabling this means preferences reset when you close the tab.
Analytics & Tracking
Used for affiliate referral tracking (the __cub_vid visitor cookie) and understanding how tools are used so we can improve them. No data is sold or shared with third parties. Disabling this means affiliate links won't track your visit.