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>",
"internal_id": "<string>",
"name": "<string>",
"slug": "<string>",
"image_url": "<string>",
"likes": "<string>",
"followers": "<string>",
"visits": 123,
"wesbite": "<string>",
"price": "<string>",
"category": "<string>",
"menu": "<string>",
"instagram": "<string>",
"email": "<string>",
"address": "<string>",
"about": "<string>",
"reviews": 123,
"score": 123,
"status": "<string>",
"phone": "<string>"
}Facebook Business Page Scraper
Get Results
Retrieve scraped data from Facebook Business Page 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>",
"internal_id": "<string>",
"name": "<string>",
"slug": "<string>",
"image_url": "<string>",
"likes": "<string>",
"followers": "<string>",
"visits": 123,
"wesbite": "<string>",
"price": "<string>",
"category": "<string>",
"menu": "<string>",
"instagram": "<string>",
"email": "<string>",
"address": "<string>",
"about": "<string>",
"reviews": 123,
"score": 123,
"status": "<string>",
"phone": "<string>"
}Retrieve scraped data from your Facebook Business Page 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). Example:
1Result Fields
Each result object contains the following fields:string
Direct URL to the Facebook page. Example:
https://www.facebook.com/nocommentpaustring
Internal platform identifier for the Facebook page. Example:
100063521350725string
Name of the Facebook page. Example:
No Comment Paustring
URL slug of the Facebook page (e.g. used in facebook.com/slug). Example:
nocommentpaustring
URL of the Facebook page’s profile picture. Example:
https://scontent-arn2-1.xx.fbcdn.net/v/t39.30808-1/305969088_514545647339476_1479009747142197002_n.jpg?stp=dst-jpg_s200x200_tt6&_nc_cat=106&ccb=1-7&_nc_sid=2d3e12&_nc_ohc=wbDXCjTyDL0Q7kNvwH5JYnv&_nc_oc=AdmzXtKRvkHLqrkixm0NSUYOzt6H8GocBfUDf8qkJur4vYPsYgQT9sRxnp8PkFRhA9o&_nc_zt=24&_nc_ht=scontent-arn2-1.xx&_nc_gid=pIklvIxjpHdjpcgKR-p9eQ&_nc_ss=8&oh=00_Afyb_NxP5U7IKQFtCCoCRfKRKqqnKN6Ip2bObUiy_NQffw&oe=69C0A25Bstring
Total number of likes on the Facebook page. Example:
0string
Total number of followers of the Facebook page. Example:
15integer
Number of check-ins or visits reported on the Facebook page. Example:
0string
Website URL listed on the Facebook page. Example:
nocommentpau.frstring
Price range listed on the Facebook page. Example:
$$string
Category of the Facebook page (e.g. Restaurant, Brand, Public Figure). Example:
Restaurantstring
Link to the menu listed on the Facebook page
string
Instagram profile URL linked to the Facebook page
string
Email address listed on the Facebook page. Example:
bonjour@nocommentpau.frstring
Full address listed on the Facebook page. Example:
5 rue Alfred de Lassence, Pau, Francestring
About text from the Facebook page’s About section. Example:
NO COMMENT un véritable lieu d’épicuriens 🤩integer
Customer reviews and rating summary on the Facebook page. Example:
0integer
Average rating of the Facebook page
string
Current operational status of the Facebook page. Example:
valid_pagestring
Phone number listed on the Facebook page. Example:
+33 5 59 83 76 80Response
200
{
"total_results": 2,
"limit": 50,
"page": 1,
"total_pages": 1,
"result_from": 1,
"result_to": 2,
"data": [
{
"id": 91234,
"object": "result",
"squid": "79adf8711330a32e9a07e1748c362f5d",
"run": "0ff156b7279b996ab65ab2d24a129a5c",
"url": "https://www.facebook.com/McDonalds/",
"internal_id": 100064458773195,
"name": "McDonald's",
"slug": "McDonalds",
"image_url": "https://scontent-fra5-1.xx.fbcdn.net/v/t39.30808-1/503818730_1129343465890935_5294978503944330026_n.jpg?stp=dst-jpg_s200x200_tt6&_nc_cat=1&ccb=1-7&_nc_sid=2d3e12&_nc_ohc=ecpcWRi2YEoQ7kNvwEBNzJ0&_nc_oc=AdkGqDrrynKpdQIn969cKd5F2MAIBw_-PZVJyq7E5egIZ1pVNYP5jXeEgbCF9zaP-g8&_nc_zt=24&_nc_ht=scontent-fra5-1.xx&_nc_gid=rTZ4MlBvhVIAMDTPlOtqGA&oh=00_AfQa8VoR1_d10X_-UukzACALRyTtCCrJfVhBindx4b3I8g&oe=6882E23E",
"likes": "82M",
"followers": "82M",
"visits": 0,
"wesbite": "beta.joinkalo.com/events/f381aa59-b183-4719-9c36-b20f0d1ffa47/join",
"price": "$",
"category": "Burger Restaurant",
"menu": null,
"instagram": null,
"email": null,
"address": null,
"about": "i’m retiring you won. Snack Wrap is back.",
"reviews": 0,
"score": 2,
"status": "valid_page",
"phone": "+1 806-445-0333",
"functions": null,
"native_id": 91234
},
{
"id": 91235,
"object": "result",
"squid": "79adf8711330a32e9a07e1748c362f5d",
"run": "0ff156b7279b996ab65ab2d24a129a5c",
"url": "https://www.facebook.com/SpaceX/",
"internal_id": "SpaceX",
"name": null,
"slug": null,
"image_url": null,
"likes": null,
"followers": null,
"visits": null,
"wesbite": null,
"price": null,
"category": null,
"menu": null,
"instagram": null,
"email": null,
"address": null,
"about": null,
"reviews": null,
"score": null,
"status": "login_required",
"phone": null,
"functions": null,
"native_id": 91235
}
],
"next": null,
"previous": null
}