ToolAssay

Generate the current TOTP two-factor code (RFC 6238) from a base32 secret — the

Generate the current TOTP two-factor code (RFC 6238) from a base32 secret — the same codes authenticator apps produce. Supports 6/8 digits, 30/60-second steps and SHA-1/256/512. Deterministic HMAC via Web Crypto; nothing is stored. Use this when an agent needs to rFC 6238 2FA codes from a base32 secret.

Answeringour last check, 2026-10-18
1 of 1checks answered this week
288 msmedian answer time
$0.003listed price per call
$0.003price it asked us

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

GET https://agentstoolshub.com/api/v1/security/totp-generator

CategoryCode and developer
Provider hostagentstoolshub.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days3 from 2 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-10-18 valid payment request 402$0.003 288 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "secret": "JBSWY3DPEHPK3PXP"
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "algo": {
              "description": "Algorithm",
              "enum": [
                "SHA1",
                "SHA256",
                "SHA512"
              ],
              "type": "string"
            },
            "digits": {
              "description": "Digits",
              "enum": [
                6,
                8
              ],
              "type": "number"
            },
            "period": {
              "description": "Period (s)",
              "enum": [
                30,
                60
              ],
              "type": "number"
            },
            "secret": {
              "description": "Base32 secret",
              "type": "string"
            }
          },
          "required": [
            "secret"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON