Verify a submitted TOTP code against a base32 secret, scanning ±window time step
Verify a submitted TOTP code against a base32 secret, scanning ±window time steps (default ±1) to tolerate clock drift. Returns valid plus the matching step offset (delta). A code that does not match is a successful result with valid=false — not an error.
Answeringour last check, 2026-09-24
1 of 1checks answered this week
457 msmedian answer time
$0.004listed price per call
$0.004price 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
POST https://otp.openverbs.com/v1/verify
| Category | Code and developer |
|---|---|
| Provider host | otp.openverbs.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 3 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.004 | 457 ms |
Example input (from the provider)
{
"body": {
"code": "example",
"period": 1,
"secret": "example",
"timestamp": 1
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"algorithm": {
"description": "HMAC algorithm. Default SHA1.",
"enum": [
"SHA1",
"SHA256",
"SHA512"
],
"type": "string"
},
"code": {
"description": "The submitted OTP code.",
"maxLength": 12,
"minLength": 1,
"type": "string"
},
"digits": {
"description": "Number of code digits. Default 6.",
"maximum": 10,
"minimum": 6,
"type": "integer"
},
"period": {
"description": "Time step in seconds. Default 30.",
"maximum": 86400,
"minimum": 1,
"type": "integer"
},
"secret": {
"description": "Base32-encoded shared secret.",
"maxLength": 1024,
"minLength": 1,
"type": "string"
},
"t0": {
"description": "Epoch start offset in seconds. Default 0.",
"minimum": 0,
"type": "integer"
},
"timestamp": {
"description": "Unix time in seconds. Default: now.",
"minimum": 0,
"type": "integer"
},
"window": {
"description": "Steps of drift tolerance each side. Default 1.",
"maximum": 20,
"minimum": 0,
"type": "integer"
}
},
"required": [
"secret",
"code"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}