Search Mentions
curl --request POST \
--url https://api.sorsa.io/v3/mentions \
--header 'ApiKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"min_likes": 100,
"min_replies": 100,
"min_retweets": 100,
"next_cursor": "JKHSJFHADUYJKSDy2y3u123",
"order": "popular",
"query": "elonmusk",
"since_date": "2026-01-01",
"until_date": "2026-01-01"
}
'import requests
url = "https://api.sorsa.io/v3/mentions"
payload = {
"min_likes": 100,
"min_replies": 100,
"min_retweets": 100,
"next_cursor": "JKHSJFHADUYJKSDy2y3u123",
"order": "popular",
"query": "elonmusk",
"since_date": "2026-01-01",
"until_date": "2026-01-01"
}
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({
min_likes: 100,
min_replies: 100,
min_retweets: 100,
next_cursor: 'JKHSJFHADUYJKSDy2y3u123',
order: 'popular',
query: 'elonmusk',
since_date: '2026-01-01',
until_date: '2026-01-01'
})
};
fetch('https://api.sorsa.io/v3/mentions', 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/mentions",
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([
'min_likes' => 100,
'min_replies' => 100,
'min_retweets' => 100,
'next_cursor' => 'JKHSJFHADUYJKSDy2y3u123',
'order' => 'popular',
'query' => 'elonmusk',
'since_date' => '2026-01-01',
'until_date' => '2026-01-01'
]),
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/mentions"
payload := strings.NewReader("{\n \"min_likes\": 100,\n \"min_replies\": 100,\n \"min_retweets\": 100,\n \"next_cursor\": \"JKHSJFHADUYJKSDy2y3u123\",\n \"order\": \"popular\",\n \"query\": \"elonmusk\",\n \"since_date\": \"2026-01-01\",\n \"until_date\": \"2026-01-01\"\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/mentions")
.header("ApiKey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"min_likes\": 100,\n \"min_replies\": 100,\n \"min_retweets\": 100,\n \"next_cursor\": \"JKHSJFHADUYJKSDy2y3u123\",\n \"order\": \"popular\",\n \"query\": \"elonmusk\",\n \"since_date\": \"2026-01-01\",\n \"until_date\": \"2026-01-01\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sorsa.io/v3/mentions")
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 \"min_likes\": 100,\n \"min_replies\": 100,\n \"min_retweets\": 100,\n \"next_cursor\": \"JKHSJFHADUYJKSDy2y3u123\",\n \"order\": \"popular\",\n \"query\": \"elonmusk\",\n \"since_date\": \"2026-01-01\",\n \"until_date\": \"2026-01-01\"\n}"
response = http.request(request)
puts response.read_body{
"next_cursor": "<string>",
"tweets": [
{
"bookmark_count": 15,
"conversation_id_str": "1782368585664626774",
"created_at": "2024-01-15T10:30:00Z",
"entities": [
{
"link": "https://t.co/example",
"preview": "https://pbs.twimg.com/preview",
"type": "photo"
}
],
"full_text": "Hello world",
"id": "1782368585664626774",
"in_reply_to_tweet_id": "1782368585664626000",
"in_reply_to_username": "username",
"is_quote_status": false,
"is_replies_limited": false,
"is_reply": false,
"lang": "en",
"likes_count": 200,
"made_with_ai": false,
"paid_partnership": false,
"quote_count": 5,
"quoted_status": "<unknown>",
"reply_count": 10,
"retweet_count": 50,
"retweeted_status": "<unknown>",
"user": {
"bio_urls": [
"<string>"
],
"can_dm": false,
"created_at": "2009-06-02T20:12:29Z",
"description": "Bio text",
"display_name": "Elon Musk",
"favourites_count": 1200,
"followers_count": 100000,
"followings_count": 500,
"id": "44196397",
"location": "Austin, TX",
"media_count": 300,
"pinned_tweet_ids": [
"<string>"
],
"possibly_sensitive": false,
"profile_background_image_url": "https://pbs.twimg.com/profile_banners/44196397/123",
"profile_image_url": "https://pbs.twimg.com/profile_images/123/photo.jpg",
"protected": false,
"tweets_count": 5000,
"username": "elonmusk",
"verified": true
},
"view_count": 10000
}
]
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}Search
Search Mentions
Returns tweets that mention the specified user handle. Up to 20 results per page, sorted by mention time (newest first by default). Supports the richest set of filters among all search endpoints: minimum likes, replies, retweets, and a date range. Results can also be sorted by popular or latest.
POST
/
mentions
Search Mentions
curl --request POST \
--url https://api.sorsa.io/v3/mentions \
--header 'ApiKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"min_likes": 100,
"min_replies": 100,
"min_retweets": 100,
"next_cursor": "JKHSJFHADUYJKSDy2y3u123",
"order": "popular",
"query": "elonmusk",
"since_date": "2026-01-01",
"until_date": "2026-01-01"
}
'import requests
url = "https://api.sorsa.io/v3/mentions"
payload = {
"min_likes": 100,
"min_replies": 100,
"min_retweets": 100,
"next_cursor": "JKHSJFHADUYJKSDy2y3u123",
"order": "popular",
"query": "elonmusk",
"since_date": "2026-01-01",
"until_date": "2026-01-01"
}
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({
min_likes: 100,
min_replies: 100,
min_retweets: 100,
next_cursor: 'JKHSJFHADUYJKSDy2y3u123',
order: 'popular',
query: 'elonmusk',
since_date: '2026-01-01',
until_date: '2026-01-01'
})
};
fetch('https://api.sorsa.io/v3/mentions', 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/mentions",
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([
'min_likes' => 100,
'min_replies' => 100,
'min_retweets' => 100,
'next_cursor' => 'JKHSJFHADUYJKSDy2y3u123',
'order' => 'popular',
'query' => 'elonmusk',
'since_date' => '2026-01-01',
'until_date' => '2026-01-01'
]),
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/mentions"
payload := strings.NewReader("{\n \"min_likes\": 100,\n \"min_replies\": 100,\n \"min_retweets\": 100,\n \"next_cursor\": \"JKHSJFHADUYJKSDy2y3u123\",\n \"order\": \"popular\",\n \"query\": \"elonmusk\",\n \"since_date\": \"2026-01-01\",\n \"until_date\": \"2026-01-01\"\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/mentions")
.header("ApiKey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"min_likes\": 100,\n \"min_replies\": 100,\n \"min_retweets\": 100,\n \"next_cursor\": \"JKHSJFHADUYJKSDy2y3u123\",\n \"order\": \"popular\",\n \"query\": \"elonmusk\",\n \"since_date\": \"2026-01-01\",\n \"until_date\": \"2026-01-01\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sorsa.io/v3/mentions")
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 \"min_likes\": 100,\n \"min_replies\": 100,\n \"min_retweets\": 100,\n \"next_cursor\": \"JKHSJFHADUYJKSDy2y3u123\",\n \"order\": \"popular\",\n \"query\": \"elonmusk\",\n \"since_date\": \"2026-01-01\",\n \"until_date\": \"2026-01-01\"\n}"
response = http.request(request)
puts response.read_body{
"next_cursor": "<string>",
"tweets": [
{
"bookmark_count": 15,
"conversation_id_str": "1782368585664626774",
"created_at": "2024-01-15T10:30:00Z",
"entities": [
{
"link": "https://t.co/example",
"preview": "https://pbs.twimg.com/preview",
"type": "photo"
}
],
"full_text": "Hello world",
"id": "1782368585664626774",
"in_reply_to_tweet_id": "1782368585664626000",
"in_reply_to_username": "username",
"is_quote_status": false,
"is_replies_limited": false,
"is_reply": false,
"lang": "en",
"likes_count": 200,
"made_with_ai": false,
"paid_partnership": false,
"quote_count": 5,
"quoted_status": "<unknown>",
"reply_count": 10,
"retweet_count": 50,
"retweeted_status": "<unknown>",
"user": {
"bio_urls": [
"<string>"
],
"can_dm": false,
"created_at": "2009-06-02T20:12:29Z",
"description": "Bio text",
"display_name": "Elon Musk",
"favourites_count": 1200,
"followers_count": 100000,
"followings_count": 500,
"id": "44196397",
"location": "Austin, TX",
"media_count": 300,
"pinned_tweet_ids": [
"<string>"
],
"possibly_sensitive": false,
"profile_background_image_url": "https://pbs.twimg.com/profile_banners/44196397/123",
"profile_image_url": "https://pbs.twimg.com/profile_images/123/photo.jpg",
"protected": false,
"tweets_count": 5000,
"username": "elonmusk",
"verified": true
},
"view_count": 10000
}
]
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}Authorizations
Body
application/json
query required, next_cursor optional
Was this page helpful?
⌘I