Redirect from a typed number to its page
GET /v1/lookup
https://verify.tanba-ooh.kz/v1/lookup
Takes the number typed into the form on the verification home page and redirects with 303 to the page of that approval. A number that is unknown or malformed gets the same 404 as the approval page, so the answer does not reveal which numbers exist. lang selects the language of the page.
Authentication
None. This call is public.
Parameters
| Name | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
number | query | string | no | The number as typed by a person. | TNB-2026-000123 |
lang | query | string | no | Language of the page: kk, ru or en. kk, ru, en | kk |
Responses
303 Redirect to the approval page.
No body.
Errors
Errors are problem documents (application/problem+json) with a stable code.
| Status | Meaning |
|---|---|
| 404 | Not an issued approval. |
| 429 | Rate limit; see Retry-After. |
Code samples
curl
curl 'https://verify.tanba-ooh.kz/v1/lookup'
Python
import requests
response = requests.get(
"https://verify.tanba-ooh.kz/v1/lookup",
)
print(response.status_code, response.text)
Go
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://verify.tanba-ooh.kz/v1/lookup", nil)
if err != nil {
panic(err)
}
resp, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
data, _ := io.ReadAll(resp.Body)
fmt.Println(resp.Status, string(data))
}