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{
"url": "<string>",
"post_id": "<string>",
"group_id": "<string>",
"group_title": "<string>",
"user_id": "<string>",
"user_name": "<string>",
"text": "<string>",
"time": "<string>",
"timestamp": 123,
"likes_count": 123,
"comments_count": 123,
"shares_count": 123,
"reaction_like_count": 123,
"reaction_love_count": 123,
"reaction_haha_count": 123,
"reaction_wow_count": 123,
"reaction_sad_count": 123,
"reaction_angry_count": 123,
"image_1": "<string>",
"image_2": "<string>",
"video_url": "<string>",
"link_attachment": "<string>",
"comment_1": "<string>",
"comment_2": "<string>",
"feedback_id": "<string>"
}Facebook Private Group Posts Scraper
Get Results
Retrieve scraped data from Facebook Private Group Posts 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{
"url": "<string>",
"post_id": "<string>",
"group_id": "<string>",
"group_title": "<string>",
"user_id": "<string>",
"user_name": "<string>",
"text": "<string>",
"time": "<string>",
"timestamp": 123,
"likes_count": 123,
"comments_count": 123,
"shares_count": 123,
"reaction_like_count": 123,
"reaction_love_count": 123,
"reaction_haha_count": 123,
"reaction_wow_count": 123,
"reaction_sad_count": 123,
"reaction_angry_count": 123,
"image_1": "<string>",
"image_2": "<string>",
"video_url": "<string>",
"link_attachment": "<string>",
"comment_1": "<string>",
"comment_2": "<string>",
"feedback_id": "<string>"
}Retrieve scraped data from your Facebook Private Group Posts Scraper runs.
Headers
string
required
Your API authentication token. Value:
Token YOUR_API_KEYQuery Parameters
string
required
Hash of the squid to get results from.
string
Hash of a specific run (optional).
integer
Page number (default: 1).
integer
Results per page (default: 50, max: 100).
Result Fields
string
Direct URL to the post in the Facebook group. Example:
https://www.facebook.com/groups/336266723393832/permalink/123456789/string
Unique identifier for the Facebook post. Example:
123456789string
Unique identifier for the Facebook group. Example:
336266723393832string
Name of the Facebook group where the post was published. Example:
My Groupstring
Unique identifier of the post author on Facebook.
string
Display name of the post author. Example:
John Doestring
Full text content of the post.
string
Publication date and time of the post in ISO 8601 format. Example:
2026-03-19T11:27:00.000Zinteger
Unix timestamp of when the post was published. Example:
1773919620integer
Total number of likes on the post. Example:
12integer
Total number of comments on the post. Example:
5integer
Number of times the post was shared. Example:
2integer
Number of Like reactions. Example:
10integer
Number of Love reactions. Example:
2integer
Number of Haha reactions. Example:
0integer
Number of Wow reactions. Example:
0integer
Number of Sad reactions. Example:
0integer
Number of Angry reactions. Example:
0string
URL of the first image attached to the post.
string
URL of the second image attached to the post.
string
URL of the video attached to the post.
string
URL of the external link shared in the post.
string
Text of the first comment on the post.
string
Text of the second comment on the post.
string
Internal Facebook feedback identifier for the post.
Code Examples
curl -X GET "https://api.lobstr.io/v1/results?squid=YOUR_SQUID_HASH&page=1&page_size=50" \
-H "Authorization: Token YOUR_API_KEY"
import requests
API_KEY = "YOUR_API_KEY"
BASE_URL = "https://api.lobstr.io/v1"
headers = {"Authorization": f"Token {API_KEY}"}
params = {
"squid": "YOUR_SQUID_HASH",
"page": 1,
"page_size": 50
}
all_results = []
url = f"{BASE_URL}/results"
while True:
response = requests.get(url, headers=headers, params=params)
data = response.json()
all_results.extend(data["data"])
print(f"Fetched page {data['page']} of {data['total_pages']}")
if data["next"] is None:
break
url = data["next"]
params = {}
print(f"\nTotal posts collected: {len(all_results)}")
for post in all_results[:5]:
print(f"- {post.get('user_name')}: {post.get('text', '')[:80]}")
Response
200
{
"total_results": 42,
"limit": 50,
"page": 1,
"total_pages": 1,
"result_from": 1,
"result_to": 42,
"data": [
{
"id": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4",
"object": "result",
"squid": "YOUR_SQUID_HASH",
"run": "RUN_HASH",
"url": "https://www.facebook.com/groups/336266723393832/permalink/123456789/",
"post_id": "123456789",
"group_id": "336266723393832",
"group_title": "My Private Group",
"user_id": "987654321",
"user_name": "John Doe",
"text": "Hello everyone! Check out this great resource...",
"time": "2026-03-19T11:27:00.000Z",
"timestamp": 1773919620,
"likes_count": 12,
"comments_count": 5,
"shares_count": 2,
"reaction_like_count": 10,
"reaction_love_count": 2,
"reaction_haha_count": 0,
"reaction_wow_count": 0,
"reaction_sad_count": 0,
"reaction_angry_count": 0,
"image_1": null,
"image_2": null,
"video_url": null,
"link_attachment": "https://example.com/resource",
"comment_1": "Great post!",
"comment_2": "Thanks for sharing.",
"feedback_id": "ZmVlZGJhY2s6MTIzNDU2Nzg5",
"scraping_time": "2026-03-20T09:15:00.000Z"
}
],
"next": null,
"previous": null
}