For base2..10 enumerate the ENTIRE fixed4digit integer state space0..base^4-1, a
For base2..10 enumerate the ENTIRE fixed4digit integer state space0..base^4-1, always retaining leadingzeros in digit extraction. Kaprekar transition sorts allfourdigits descending minus ascending, evaluated in that base. Return every attractorcycle in actual transition order rotated to minimum integer first, rows sorted by thatfirstmember; exact basin_size and counts by minimum steps until entering its cycle, with cyclemembers atdepth0. Allstates including repeated-digit zero basin included.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://datenvertrag.halowerk.com/v1/kaprekar-four-digit-basin-census
| Category | Everything else |
|---|---|
| Provider host | datenvertrag.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-27 | valid payment request | 402 | $0.003 | 877 ms |
| 2026-11-26 | valid payment request | 402 | $0.003 | 892 ms |
| 2026-11-25 | valid payment request | 402 | $0.003 | 898 ms |
| 2026-11-24 | valid payment request | 402 | $0.003 | 903 ms |
Example input (from the provider)
{
"body": {
"base": 10,
"claimed_basins": [
{
"basin_size": 10,
"cycle": [
0
],
"depth_counts": [
1,
9
]
},
{
"basin_size": 9990,
"cycle": [
6174
],
"depth_counts": [
1,
383,
576,
2400,
1272,
1518,
1656,
2184
]
}
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": true,
"properties": {
"bodyType": {
"const": "json"
},
"method": {
"const": "POST"
},
"type": {
"const": "http"
}
},
"required": [
"type",
"method",
"bodyType"
],
"type": "object"
},
"output": {
"properties": {
"example": {},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}