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{
"item_id": "<string>",
"name": "<string>",
"url": "<string>",
"is_ad": true,
"categories": "<string>",
"phone": "<string>",
"full_address": "<string>",
"street_address": "<string>",
"city": "<string>",
"state": "<string>",
"zip_code": "<string>",
"rating": 123,
"review_count": 123,
"years_in_business": 123,
"opening_hours": "<string>",
"website": "<string>",
"snippet": "<string>",
"thumbnail": "<string>",
"latitude": 123,
"longitude": 123,
"email": "<string>",
"description": "<string>",
"founding_date": "<string>",
"photos": "<string>",
"facebook": "<string>",
"instagram": "<string>",
"twitter": "<string>",
"linkedin": "<string>"
}Yellow Pages Companies Search Export
Get Results
Retrieve scraped data from Yellow Pages Companies 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{
"item_id": "<string>",
"name": "<string>",
"url": "<string>",
"is_ad": true,
"categories": "<string>",
"phone": "<string>",
"full_address": "<string>",
"street_address": "<string>",
"city": "<string>",
"state": "<string>",
"zip_code": "<string>",
"rating": 123,
"review_count": 123,
"years_in_business": 123,
"opening_hours": "<string>",
"website": "<string>",
"snippet": "<string>",
"thumbnail": "<string>",
"latitude": 123,
"longitude": 123,
"email": "<string>",
"description": "<string>",
"founding_date": "<string>",
"photos": "<string>",
"facebook": "<string>",
"instagram": "<string>",
"twitter": "<string>",
"linkedin": "<string>"
}Retrieve scraped data from your Yellow Pages Companies 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
integer
Page number (default: 1)
Result Fields
string
Unique Yellow Pages identifier (ypid). Example:
560515561string
Business name. Example:
ABC Plumbing Co.string
Direct URL to the listing.
boolean
Whether the business is sponsored.
string
Comma-separated Yellow Pages categories. Example:
Plumbers, Water Heater Repairstring
Phone number. Example:
(512) 555-0123string
Full formatted address.
string
Street address.
string
City. Example:
Austinstring
US state code. Example:
TXstring
ZIP code. Example:
78701float
Average customer rating. Example:
4.7integer
Total customer reviews. Example:
89integer
Years operating.
string
Opening hours rule.
string
Business website. Example:
https://abcplumbing.comtext
Short snippet from the search page.
string
Thumbnail image URL.
Detail Fields
The following fields requireresults_details: true in settings.
float
Latitude.
float
Longitude.
string
Email address on the business page.
text
Full business description.
string
Year founded.
text
Comma-separated list of business photo URLs.
string
Facebook page URL.
string
Instagram profile URL.
string
Twitter / X profile URL.
string
LinkedIn page URL.
Response
200
{"total_results": 1, "data": [{"name": "ABC Plumbing Co.", "city": "Austin", "state": "TX", "phone": "(512) 555-0123", "rating": 4.7, "review_count": 89, "website": "https://abcplumbing.com"}]}