Check Quote or Retweet
curl --request POST \
--url https://api.sorsa.io/v3/check-quoted \
--header 'ApiKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"tweet_link": "https://twitter.com/TweetScout_io/status/1782368585664626774",
"user_id": "44196397",
"user_link": "https://twitter.com/elonmusk",
"username": "elonmusk"
}
'import requests
url = "https://api.sorsa.io/v3/check-quoted"
payload = {
"tweet_link": "https://twitter.com/TweetScout_io/status/1782368585664626774",
"user_id": "44196397",
"user_link": "https://twitter.com/elonmusk",
"username": "elonmusk"
}
headers = {
"ApiKey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {ApiKey: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
tweet_link: 'https://twitter.com/TweetScout_io/status/1782368585664626774',
user_id: '44196397',
user_link: 'https://twitter.com/elonmusk',
username: 'elonmusk'
})
};
fetch('https://api.sorsa.io/v3/check-quoted', 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.sorsa.io/v3/check-quoted",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'tweet_link' => 'https://twitter.com/TweetScout_io/status/1782368585664626774',
'user_id' => '44196397',
'user_link' => 'https://twitter.com/elonmusk',
'username' => 'elonmusk'
]),
CURLOPT_HTTPHEADER => [
"ApiKey: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.sorsa.io/v3/check-quoted"
payload := strings.NewReader("{\n \"tweet_link\": \"https://twitter.com/TweetScout_io/status/1782368585664626774\",\n \"user_id\": \"44196397\",\n \"user_link\": \"https://twitter.com/elonmusk\",\n \"username\": \"elonmusk\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("ApiKey", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.sorsa.io/v3/check-quoted")
.header("ApiKey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"tweet_link\": \"https://twitter.com/TweetScout_io/status/1782368585664626774\",\n \"user_id\": \"44196397\",\n \"user_link\": \"https://twitter.com/elonmusk\",\n \"username\": \"elonmusk\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sorsa.io/v3/check-quoted")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["ApiKey"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"tweet_link\": \"https://twitter.com/TweetScout_io/status/1782368585664626774\",\n \"user_id\": \"44196397\",\n \"user_link\": \"https://twitter.com/elonmusk\",\n \"username\": \"elonmusk\"\n}"
response = http.request(request)
puts response.read_body{
"date": "2024-04-27 06:43:09",
"status": "quoted",
"text": "Quote text",
"user_protected": false
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}Verification
Check Quote or Retweet
Checks whether a user has quoted or retweeted a given tweet. Returns a status field with one of three values: quoted, retweet, or not_found. If a quote or retweet is found, the response also includes the interaction date and the quote text (when applicable). Identify the user with username, user_link, or user_id.
POST
/
check-quoted
Check Quote or Retweet
curl --request POST \
--url https://api.sorsa.io/v3/check-quoted \
--header 'ApiKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"tweet_link": "https://twitter.com/TweetScout_io/status/1782368585664626774",
"user_id": "44196397",
"user_link": "https://twitter.com/elonmusk",
"username": "elonmusk"
}
'import requests
url = "https://api.sorsa.io/v3/check-quoted"
payload = {
"tweet_link": "https://twitter.com/TweetScout_io/status/1782368585664626774",
"user_id": "44196397",
"user_link": "https://twitter.com/elonmusk",
"username": "elonmusk"
}
headers = {
"ApiKey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {ApiKey: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
tweet_link: 'https://twitter.com/TweetScout_io/status/1782368585664626774',
user_id: '44196397',
user_link: 'https://twitter.com/elonmusk',
username: 'elonmusk'
})
};
fetch('https://api.sorsa.io/v3/check-quoted', 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.sorsa.io/v3/check-quoted",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'tweet_link' => 'https://twitter.com/TweetScout_io/status/1782368585664626774',
'user_id' => '44196397',
'user_link' => 'https://twitter.com/elonmusk',
'username' => 'elonmusk'
]),
CURLOPT_HTTPHEADER => [
"ApiKey: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.sorsa.io/v3/check-quoted"
payload := strings.NewReader("{\n \"tweet_link\": \"https://twitter.com/TweetScout_io/status/1782368585664626774\",\n \"user_id\": \"44196397\",\n \"user_link\": \"https://twitter.com/elonmusk\",\n \"username\": \"elonmusk\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("ApiKey", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.sorsa.io/v3/check-quoted")
.header("ApiKey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"tweet_link\": \"https://twitter.com/TweetScout_io/status/1782368585664626774\",\n \"user_id\": \"44196397\",\n \"user_link\": \"https://twitter.com/elonmusk\",\n \"username\": \"elonmusk\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sorsa.io/v3/check-quoted")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["ApiKey"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"tweet_link\": \"https://twitter.com/TweetScout_io/status/1782368585664626774\",\n \"user_id\": \"44196397\",\n \"user_link\": \"https://twitter.com/elonmusk\",\n \"username\": \"elonmusk\"\n}"
response = http.request(request)
puts response.read_body{
"date": "2024-04-27 06:43:09",
"status": "quoted",
"text": "Quote text",
"user_protected": false
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}Authorizations
Body
application/json
tweet link, user link, username or user_id
Response
OK
Date of the interaction (if found).
Example:
"2024-04-27 06:43:09"
Interaction type: quoted, retweet, or not_found.
Example:
"quoted"
Text of the quote tweet (if status is quoted).
Example:
"Quote text"
true if the checked user's account is protected.
Example:
false
Was this page helpful?
⌘I