Live Tap Trace
Live Tap Trace (website demo).
method
GET
host
strait.
version
/v1
resource
/
GET /v1/trace/{st}
Auth: none. Public and rate-limited.
Request
What the engine decided for one tap of the demo link (demo.strait.link/try?st=<token>), readable for 15 minutes. Public, rate-limited (30 burst, 1/s per IP); CORS only for https://straitlink.in and http://localhost:<port>. Never returns the IP, user agent or workspace. Only the demo workspace stores tokens.
Parameters
strequired string path- The session token the demo page generated: the
stvalue on the demo link it shows
Response
- 200 The trace
- 204 No tap for this token yet (or it is older than 15 minutes): keep polling
- 404 Malformed token
- 429 Rate limited
curl -X GET https://strait.link/v1/trace/k3v9x2m7q8w1z5r4t6y0p2s8const res = await fetch('https://strait.link/v1/trace/k3v9x2m7q8w1z5r4t6y0p2s8');
const data = await res.json();
console.log(res.status, data);import requests
res = requests.get(
"https://strait.link/v1/trace/k3v9x2m7q8w1z5r4t6y0p2s8",
)
print(res.status_code, res.json())<?php
// Plain PHP with ext-curl, no packages. In Laravel, Http::get($url) sends the same request.
$ch = curl_init('https://strait.link/v1/trace/k3v9x2m7q8w1z5r4t6y0p2s8');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
]);
$response = curl_exec($ch);
if ($response === false) {
throw new RuntimeException(curl_error($ch));
}
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
echo $status, PHP_EOL;
print_r(json_decode($response, true));import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
// Java 17+, java.net.http only (no dependencies).
public class Main {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder(URI.create("https://strait.link/v1/trace/k3v9x2m7q8w1z5r4t6y0p2s8"))
.GET()
.build();
HttpResponse<String> res = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(res.statusCode() + " " + res.body());
}
}package main
import (
"fmt"
"io"
"log"
"net/http"
)
func main() {
req, err := http.NewRequest(http.MethodGet, "https://strait.link/v1/trace/k3v9x2m7q8w1z5r4t6y0p2s8", nil)
if err != nil {
log.Fatal(err)
}
res, err := http.DefaultClient.Do(req)
if err != nil {
log.Fatal(err)
}
defer res.Body.Close()
data, err := io.ReadAll(res.Body)
if err != nil {
log.Fatal(err)
}
fmt.Println(res.StatusCode, string(data))
}The response, printed
{
"tappedAt": "2026-10-01T10:00:00.000Z",
"platform": "android",
"os": "Android 14",
"deviceClass": "phone",
"inAppBrowser": "whatsapp",
"channel": "whatsapp",
"decision": "escape",
"sentTo": "in_app_browser_page",
"clickId": "9a1c7e52",
"decidedMs": null,
"open": {
"at": "2026-10-01T10:00:04.000Z",
"isNewUser": false,
"appState": "background"
}
}