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>",
"name": "<string>",
"slug": "<string>",
"category": "<string>",
"map_url": "<string>",
"address": "<string>",
"phone": "<string>",
"likes": 123,
"followers": 123,
"email": "<string>",
"website": "<string>",
"instagram": "<string>"
}Facebook Pages Search Export
Get Results
Retrieve scraped data from Facebook Pages Search Export
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>",
"name": "<string>",
"slug": "<string>",
"category": "<string>",
"map_url": "<string>",
"address": "<string>",
"phone": "<string>",
"likes": 123,
"followers": 123,
"email": "<string>",
"website": "<string>",
"instagram": "<string>"
}Retrieve scraped data from your Facebook Pages Search Export 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). Example:
1Result Fields
Each result object contains the following fields:string
Direct URL to the Facebook page. Example:
https://www.facebook.com/gagnantgagnantbarajeuxstring
Name of the Facebook page. Example:
Bar à jeux Bordeaux : Gagnant Gagnantstring
URL slug of the Facebook page (e.g. used in facebook.com/slug). Example:
gagnantgagnantbarajeuxstring
Category of the Facebook page (e.g. Restaurant, Brand). Example:
Barstring
Map link for the Facebook page’s location. Example:
https://maps.google.com/maps?q=39+quai+de+bacalan%2C+Bordeaux%2C+Francetext
Full address of the Facebook page’s location. Example:
39 quai de bacalan, Bordeaux, France, 33300string
Phone number listed on the Facebook page. Example:
06 28 32 57 39int
Total number of likes on the Facebook page. Example:
576int
Total number of followers of the Facebook page. Example:
576string
Email address listed on the Facebook page. Example:
barajeuxbordeaux@gmail.comstring
Website URL linked to the Facebook page. Example:
https://gg33.fr/le-bar-a-jeux/string
Instagram profile URL linked to the Facebook page. Example:
https://www.instagram.com/gagnant_gagnantResponse
200
{
"total_results": 1,
"limit": 50,
"page": 1,
"total_pages": 1,
"result_from": 1,
"result_to": 1,
"data": [
{
"id": 70787,
"object": "result",
"squid": "fee4f12fb05379a20b11580c92cbf773",
"run": "2ae617390e6a9a0db9483aef252be133",
"url": "https://www.facebook.com/gagnantgagnantbarajeux",
"name": "Bar à jeux Bordeaux : Gagnant Gagnant",
"slug": "gagnantgagnantbarajeux",
"category": "Bar",
"map_url": "https://maps.google.com/maps?q=39+quai+de+bacalan%2C+Bordeaux%2C+France",
"address": "39 quai de bacalan, Bordeaux, France, 33300",
"phone": "06 28 32 57 39",
"likes": 576,
"followers": 576,
"email": "barajeuxbordeaux@gmail.com",
"website": "https://gg33.fr/le-bar-a-jeux/",
"instagram": "https://www.instagram.com/gagnant_gagnant",
"functions": null,
"native_id": 70787
}
],
"next": null,
"previous": null
}