Get Results
curl --request GET \
--url https://api.lobstr.io/v1/results \
--header 'Authorization: <authorization>'import requests
url = "https://api.lobstr.io/v1/results"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.lobstr.io/v1/results', 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.lobstr.io/v1/results",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>"
],
]);
$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://api.lobstr.io/v1/results"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.lobstr.io/v1/results")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lobstr.io/v1/results")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"internal_unique_id": "<string>",
"tweet_url": "<string>",
"original_tweet_url": "<string>",
"original_tweet_id": "<string>",
"name": "<string>",
"user_id": "<string>",
"username": "<string>",
"published_at": {},
"content": "<string>",
"views_count": 123,
"retweet_count": 123,
"likes": 123,
"quote_count": 123,
"reply_count": 123,
"bookmarks_count": 123,
"media_0_thumbnail": "<string>",
"media_0_type": "<string>",
"media_0_url": "<string>",
"media_1_thumbnail": "<string>",
"media_1_type": "<string>",
"media_1_url": "<string>",
"media_2_thumbnail": "<string>",
"media_2_type": "<string>",
"media_2_url": "<string>",
"media_3_thumbnail": "<string>",
"media_3_type": "<string>",
"media_3_url": "<string>",
"binded_media_url": "<string>",
"binded_media_domain": "<string>",
"binded_media_thumbnail_url": "<string>",
"binded_media_title": "<string>",
"binded_media_description": "<string>",
"is_reply": true,
"is_retweeted": true,
"is_quoted": true
}Twitter Search Results Scraper
Get Results
Retrieve scraped data from Twitter Search Results Scraper
GET
/
v1
/
results
Get Results
curl --request GET \
--url https://api.lobstr.io/v1/results \
--header 'Authorization: <authorization>'import requests
url = "https://api.lobstr.io/v1/results"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.lobstr.io/v1/results', 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.lobstr.io/v1/results",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>"
],
]);
$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://api.lobstr.io/v1/results"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.lobstr.io/v1/results")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lobstr.io/v1/results")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"internal_unique_id": "<string>",
"tweet_url": "<string>",
"original_tweet_url": "<string>",
"original_tweet_id": "<string>",
"name": "<string>",
"user_id": "<string>",
"username": "<string>",
"published_at": {},
"content": "<string>",
"views_count": 123,
"retweet_count": 123,
"likes": 123,
"quote_count": 123,
"reply_count": 123,
"bookmarks_count": 123,
"media_0_thumbnail": "<string>",
"media_0_type": "<string>",
"media_0_url": "<string>",
"media_1_thumbnail": "<string>",
"media_1_type": "<string>",
"media_1_url": "<string>",
"media_2_thumbnail": "<string>",
"media_2_type": "<string>",
"media_2_url": "<string>",
"media_3_thumbnail": "<string>",
"media_3_type": "<string>",
"media_3_url": "<string>",
"binded_media_url": "<string>",
"binded_media_domain": "<string>",
"binded_media_thumbnail_url": "<string>",
"binded_media_title": "<string>",
"binded_media_description": "<string>",
"is_reply": true,
"is_retweeted": true,
"is_quoted": true
}Retrieve scraped data from your Twitter Search Results Scraper runs.
Headers
Query Parameters
Result Fields
Each result object contains the following fields:Direct URL to the tweet on Twitter/X. Example:
https://twitter.com/ultrabogotano/status/1886958273636507688Unique identifier of the original tweet (for retweets and quote tweets). Example:
1884600403884380413Full text content of the tweet. Example:
Sigan usando todos los sufijos numéricos que quieran, @Tigo_Colombia. Yo les sigo respondiendo como se merecen ya que no han sido capaces de borrar mi número de su base de datos. @sicsuper https://t.co/qedLjpDMACThumbnail URL of the 1st media item in the tweet (0-indexed). Example:
https://pbs.twimg.com/media/Gi_SiztWMAEoLZd.jpgURL of the 1st media item in the tweet. Example:
https://pbs.twimg.com/media/Gi_SiztWMAEoLZd.jpgThumbnail URL of the 2nd media item attached to the tweet. Example:
https://pbs.twimg.com/media/Gi_SizvXoAAbRzD.jpgURL of the 2nd media item attached to the tweet. Example:
https://pbs.twimg.com/media/Gi_SizvXoAAbRzD.jpgThumbnail URL of the 3rd media item attached to the tweet. Example:
https://pbs.twimg.com/media/Gi_SizqWUAAerP8.jpgURL of the 3rd media item attached to the tweet. Example:
https://pbs.twimg.com/media/Gi_SizqWUAAerP8.jpgResponse
200
{
"total_results": 1,
"limit": 50,
"page": 1,
"total_pages": 1,
"result_from": 1,
"result_to": 1,
"data": [
{
"id": 35408,
"object": "result",
"squid": "ba8cbb253043c4013bdf3110f36fa5ed",
"run": "f86fef1dc7b51f51dd8d7844eb707927",
"internal_unique_id": "1886958273636507688",
"tweet_url": "https://twitter.com/ultrabogotano/status/1886958273636507688",
"original_tweet_url": null,
"original_tweet_id": "1884600403884380413",
"name": "Surfer Calavera",
"user_id": "277545465",
"username": "ultrabogotano",
"published_at": "2025-02-05T02:01:25+00:00",
"content": "Sigan usando todos los sufijos numéricos que quieran, @Tigo_Colombia. Yo les sigo respondiendo como se merecen ya que no han sido capaces de borrar mi número de su base de datos.\n@sicsuper https://t.co/qedLjpDMAC",
"views_count": 343,
"retweet_count": 0,
"likes": 1,
"quote_count": 0,
"reply_count": 1,
"bookmarks_count": 1,
"media_0_thumbnail": "https://pbs.twimg.com/media/Gi_SiztWMAEoLZd.jpg",
"media_0_type": "photo",
"media_0_url": "https://pbs.twimg.com/media/Gi_SiztWMAEoLZd.jpg",
"media_1_thumbnail": "https://pbs.twimg.com/media/Gi_SizvXoAAbRzD.jpg",
"media_1_type": "photo",
"media_1_url": "https://pbs.twimg.com/media/Gi_SizvXoAAbRzD.jpg",
"media_2_thumbnail": "https://pbs.twimg.com/media/Gi_SizqWUAAerP8.jpg",
"media_2_type": "photo",
"media_2_url": "https://pbs.twimg.com/media/Gi_SizqWUAAerP8.jpg",
"media_3_thumbnail": "",
"media_3_type": "",
"media_3_url": "",
"binded_media_url": "",
"binded_media_domain": "",
"binded_media_thumbnail_url": "",
"binded_media_title": "",
"binded_media_description": "",
"is_reply": false,
"is_retweeted": false,
"is_quoted": true,
"functions": null,
"native_id": 35408
}
],
"next": null,
"previous": null
}