TSAPI
tsapi · Analytics
TSAPI API
Authentication
No authentication requiredFree to use with no key needed.
Sample Requests
GET
Returns a list of available Surveys
Returns a list of available Surveys
https://api.apis.guru/v2/specs/tsapi.net/v1/Surveys
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/tsapi.net/v1/Surveys"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/tsapi.net/v1/Surveys",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/tsapi.net/v1/Surveys'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/tsapi.net/v1/Surveys"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/tsapi.net/v1/Surveys")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/tsapi.net/v1/Surveys";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET
Fetches some interview records for a specific survey
Fetches some interview records for a specific survey
https://api.apis.guru/v2/specs/tsapi.net/v1/Surveys/{surveyId}/Interviews?start=1&maxLength=1
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/tsapi.net/v1/Surveys/{surveyId}/Interviews?start=1&maxLength=1"import requests
params = {
"start": "1",
"maxLength": "1"
}
response = requests.get(
"https://api.apis.guru/v2/specs/tsapi.net/v1/Surveys/{surveyId}/Interviews",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/tsapi.net/v1/Surveys/{surveyId}/Interviews');
url.searchParams.set('start', '1');
url.searchParams.set('maxLength', '1');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/tsapi.net/v1/Surveys/{surveyId}/Interviews")
q := baseURL.Query()
q.Set("start", "1")
q.Set("maxLength", "1")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/tsapi.net/v1/Surveys/{surveyId}/Interviews")
uri.query = URI.encode_www_form({
"start" => "1",
"maxLength" => "1"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/tsapi.net/v1/Surveys/{surveyId}/Interviews?" . http_build_query([
"start" => "1",
"maxLength" => "1"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET
Fetches the metadata for a specific survey
Fetches the metadata for a specific survey
https://api.apis.guru/v2/specs/tsapi.net/v1/Surveys/{surveyId}/Metadata
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/tsapi.net/v1/Surveys/{surveyId}/Metadata"import requests
response = requests.get(
"https://api.apis.guru/v2/specs/tsapi.net/v1/Surveys/{surveyId}/Metadata",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/tsapi.net/v1/Surveys/{surveyId}/Metadata';
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/tsapi.net/v1/Surveys/{surveyId}/Metadata"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/tsapi.net/v1/Surveys/{surveyId}/Metadata")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/tsapi.net/v1/Surveys/{surveyId}/Metadata";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with TSAPI?
TSAPI is a Analytics API. Developers commonly use analytics APIs for:
- tracking product usage and user behaviour
- building custom reporting and BI dashboards
- measuring marketing and campaign performance
- running funnel, retention, and cohort analysis
- aggregating metrics from multiple data sources
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. TSAPI is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide