{"slug":"otp-openverbs-com-v1-totp-113218","title":"Generate an RFC 6238 time-based one-time password from a base32 secret","host":"otp.openverbs.com","method":"POST","resource":"https://otp.openverbs.com/v1/totp","category":"other","description":"Generate an RFC 6238 time-based one-time password from a base32 secret. Uses the current time by default, or an explicit unix timestamp (seconds); configurable period (default 30s), digits (default 6) and algorithm (default SHA1). Also returns the counter and seconds remaining in the window.","price_listed":0.004,"price_asked":0.004,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":471,"reported_calls_30d":3,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"period":1,"secret":"example","timestamp":1},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$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"},"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"}},"required":["secret"],"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"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":471,"error":null}],"description_full":"Generate an RFC 6238 time-based one-time password from a base32 secret. Uses the current time by default, or an explicit unix timestamp (seconds); configurable period (default 30s), digits (default 6) and algorithm (default SHA1). Also returns the counter and seconds remaining in the window.","last_updated":"2026-09-06T08:12:25.644Z","schemes":["exact"]}