SEARCH
SEARCH (GET)
GET
/
api
/
v4
/
respondents
/
search
/
{publishable_key}
SEARCH
curl --request GET \
--url https://prod.rtymgt.com/api/v4/respondents/search/{publishable_key}import requests
url = "https://prod.rtymgt.com/api/v4/respondents/search/{publishable_key}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://prod.rtymgt.com/api/v4/respondents/search/{publishable_key}', 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://prod.rtymgt.com/api/v4/respondents/search/{publishable_key}",
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://prod.rtymgt.com/api/v4/respondents/search/{publishable_key}"
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://prod.rtymgt.com/api/v4/respondents/search/{publishable_key}")
.asString();require 'uri'
require 'net/http'
url = URI("https://prod.rtymgt.com/api/v4/respondents/search/{publishable_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"Respondent": {
"threat_potential_score": "23",
"country": "United States",
"country_code": "US",
"respondent_risk": 0,
"respondent_ud": "4489560a-507f-468a-ae4b-d81ea80fab5d",
"time_zone": "America/Chicago"
},
"Surveys": [
{
"flag": 1,
"duplicate_initial_ud": "481cd5cf-88f1-44c2-8292-6b779b8a3a8e",
"duplicate_potential": "high",
"duplicate_score": "100",
"country_mismatch": 0,
"failure_reason": "02",
"days_flag": 1,
"days_difference": 0
}
]
}Digital fingerprinting with bot and click-farm detection. Returns a threat potential score, duplication scoring, and geolocation checks for a respondent at survey entry.
sn_ud and sy_nr are required; rt_cy_ce (country code) is strongly recommended so SEARCH can detect country mismatches. Adding destination_platform_id and destination_platform_survey_number activates PREDUPE.
For parameter definitions, failure-reason codes, the advanced fingerprinting JS library, and redundant-parameter guidance, see the SEARCH guide.Query Parameters
Was this page helpful?
SEARCH
curl --request GET \
--url https://prod.rtymgt.com/api/v4/respondents/search/{publishable_key}import requests
url = "https://prod.rtymgt.com/api/v4/respondents/search/{publishable_key}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://prod.rtymgt.com/api/v4/respondents/search/{publishable_key}', 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://prod.rtymgt.com/api/v4/respondents/search/{publishable_key}",
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://prod.rtymgt.com/api/v4/respondents/search/{publishable_key}"
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://prod.rtymgt.com/api/v4/respondents/search/{publishable_key}")
.asString();require 'uri'
require 'net/http'
url = URI("https://prod.rtymgt.com/api/v4/respondents/search/{publishable_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"Respondent": {
"threat_potential_score": "23",
"country": "United States",
"country_code": "US",
"respondent_risk": 0,
"respondent_ud": "4489560a-507f-468a-ae4b-d81ea80fab5d",
"time_zone": "America/Chicago"
},
"Surveys": [
{
"flag": 1,
"duplicate_initial_ud": "481cd5cf-88f1-44c2-8292-6b779b8a3a8e",
"duplicate_potential": "high",
"duplicate_score": "100",
"country_mismatch": 0,
"failure_reason": "02",
"days_flag": 1,
"days_difference": 0
}
]
}