Ping
curl --request GET \
--url https://api.sbx.moduluslabs.io/reports/pingimport requests
url = "https://api.sbx.moduluslabs.io/reports/ping"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sbx.moduluslabs.io/reports/ping', 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://api.sbx.moduluslabs.io/reports/ping",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.sbx.moduluslabs.io/reports/ping"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sbx.moduluslabs.io/reports/ping")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.sbx.moduluslabs.io/reports/ping");
var client = new RestClient(options);
var request = new RestRequest("");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
"Pong!"Transaction Reporting API
Ping
Public health check endpoint to verify Transaction Reporting API connectivity and availability
GET
/
ping
Ping
curl --request GET \
--url https://api.sbx.moduluslabs.io/reports/pingimport requests
url = "https://api.sbx.moduluslabs.io/reports/ping"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sbx.moduluslabs.io/reports/ping', 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://api.sbx.moduluslabs.io/reports/ping",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.sbx.moduluslabs.io/reports/ping"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sbx.moduluslabs.io/reports/ping")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.sbx.moduluslabs.io/reports/ping");
var client = new RestClient(options);
var request = new RestRequest("");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
"Pong!"The Ping endpoint is a simple health check that allows you to:
- Test connectivity to Modulus Labs servers
- Verify API availability and response time
- Confirm your network can reach the API endpoints
This endpoint does not require authentication, making it perfect for quick connectivity tests and uptime monitoring.
If you receive
Pong!, the API is available and your network connectivity is working!Response
200 - text/plain
API is available and responding
The response is of type string.
Example:
"Pong!"
Was this page helpful?