Get Business Info
curl --request GET \
--url https://prod.willro.com/api/v1/integration/business-api/info \
--header 'x-api-key: <api-key>'import requests
url = "https://prod.willro.com/api/v1/integration/business-api/info"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://prod.willro.com/api/v1/integration/business-api/info', 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://prod.willro.com/api/v1/integration/business-api/info",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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://prod.willro.com/api/v1/integration/business-api/info"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://prod.willro.com/api/v1/integration/business-api/info")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://prod.willro.com/api/v1/integration/business-api/info")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"businessName": "ExampleCo",
"website": "https://example.com",
"category": "Retail",
"averageRating": 3.2,
"totalReview": 12,
"googleMapUrl": null,
"location": "London, UK",
"ratingsBreakdown": [
{
"count": 3,
"rating": 5
},
{
"count": 4,
"rating": 4
}
]
}{
"code": 401,
"message": "API key is required",
"timestamp": "2025-07-09T08:33:54.383Z",
"path": "/api/integration/business-api/reviews?page=1&limit=10",
"error": "Unauthorized"
}API EXAMPLES
Get Business Information
GET
/
integration
/
business-api
/
info
Get Business Info
curl --request GET \
--url https://prod.willro.com/api/v1/integration/business-api/info \
--header 'x-api-key: <api-key>'import requests
url = "https://prod.willro.com/api/v1/integration/business-api/info"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://prod.willro.com/api/v1/integration/business-api/info', 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://prod.willro.com/api/v1/integration/business-api/info",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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://prod.willro.com/api/v1/integration/business-api/info"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://prod.willro.com/api/v1/integration/business-api/info")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://prod.willro.com/api/v1/integration/business-api/info")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"businessName": "ExampleCo",
"website": "https://example.com",
"category": "Retail",
"averageRating": 3.2,
"totalReview": 12,
"googleMapUrl": null,
"location": "London, UK",
"ratingsBreakdown": [
{
"count": 3,
"rating": 5
},
{
"count": 4,
"rating": 4
}
]
}{
"code": 401,
"message": "API key is required",
"timestamp": "2025-07-09T08:33:54.383Z",
"path": "/api/integration/business-api/reviews?page=1&limit=10",
"error": "Unauthorized"
}Authorizations
Use this API Key: willro_live_sk_95ad4a1e-48ac-4872-ae02-0d40072b60bf_6b7ec4b3af7911a65ee1c3a5ce3fe84b8c2e34136ca71030
Response
Business info retrieved.
Name of the business shown publicly.
Example:
"ExampleCo"
URL of the business website.
Example:
"https://example.com"
Business category describing industry or sector.
Example:
"Retail"
Average user rating of the business on the platform.
Example:
3.2
Total number of user reviews for the business.
Example:
12
Link to the business's location on Google Maps.
Example:
null
Business physical location or address.
Example:
"London, UK"
Breakdown of ratings by value and count.
Show child attributes
Show child attributes
