Test method
curl --request GET \
--url https://tag.alfa-bot.com/api/prod/v1/test \
--header 'token: <api-key>'import requests
url = "https://tag.alfa-bot.com/api/prod/v1/test"
headers = {"token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {token: '<api-key>'}};
fetch('https://tag.alfa-bot.com/api/prod/v1/test', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://tag.alfa-bot.com/api/prod/v1/test",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://tag.alfa-bot.com/api/prod/v1/test"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://tag.alfa-bot.com/api/prod/v1/test")
.header("token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://tag.alfa-bot.com/api/prod/v1/test")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"code": "200",
"error_code": null,
"error_message": null,
"data": {
"success": true,
"data": {
"status": "ok",
"service": "crypto-api",
"time": "2026-05-28T09:00:00.000Z"
}
}
}{
"code": "400",
"error_code": "request",
"error_message": "Invalid request",
"data": {
"request": "No additional parameters are required for this endpoint"
}
}{
"code": "500",
"error_code": "system",
"error_message": "Unexpected server error. Please try again later.",
"data": null
}Server & Status
Test method
GET
/
test
Test method
curl --request GET \
--url https://tag.alfa-bot.com/api/prod/v1/test \
--header 'token: <api-key>'import requests
url = "https://tag.alfa-bot.com/api/prod/v1/test"
headers = {"token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {token: '<api-key>'}};
fetch('https://tag.alfa-bot.com/api/prod/v1/test', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://tag.alfa-bot.com/api/prod/v1/test",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://tag.alfa-bot.com/api/prod/v1/test"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://tag.alfa-bot.com/api/prod/v1/test")
.header("token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://tag.alfa-bot.com/api/prod/v1/test")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"code": "200",
"error_code": null,
"error_message": null,
"data": {
"success": true,
"data": {
"status": "ok",
"service": "crypto-api",
"time": "2026-05-28T09:00:00.000Z"
}
}
}{
"code": "400",
"error_code": "request",
"error_message": "Invalid request",
"data": {
"request": "No additional parameters are required for this endpoint"
}
}{
"code": "500",
"error_code": "system",
"error_message": "Unexpected server error. Please try again later.",
"data": null
}Authorizations
Pass your API token in the token request header.
Response
OK - service is available
⌘I