curl --request GET \
--url https://api.lightsage.com/v2/visibility/current \
--header 'X-Lightsage-Api-Key: <api-key>'import requests
url = "https://api.lightsage.com/v2/visibility/current"
headers = {"X-Lightsage-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Lightsage-Api-Key': '<api-key>'}};
fetch('https://api.lightsage.com/v2/visibility/current', 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.lightsage.com/v2/visibility/current",
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-Lightsage-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://api.lightsage.com/v2/visibility/current"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Lightsage-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://api.lightsage.com/v2/visibility/current")
.header("X-Lightsage-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lightsage.com/v2/visibility/current")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Lightsage-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"company": {
"name": "<string>",
"domain": "<string>",
"logo_url": "<string>",
"relationship": "<string>"
},
"start_date": "<string>",
"end_date": "<string>",
"has_data": true,
"recommendation_score": 123,
"recommendation_score_rank": 123,
"visibility_score": 123,
"visibility_score_rank": 123,
"share_of_voice": 123,
"share_of_voice_rank": 123,
"average_position": 123,
"average_position_rank": 123,
"date": "<string>",
"active_prompts_only": true,
"period": {
"start_date": "<string>",
"end_date": "<string>",
"days": 123,
"previous_start_date": "<string>",
"previous_end_date": "<string>",
"previous_days": 123,
"partial": true,
"name": "<string>",
"timezone": "UTC"
},
"previous": {
"recommendation_score": 123,
"visibility_score": 123,
"share_of_voice": 123,
"average_position": 123,
"has_data": false
},
"coverage": {
"comparable": true,
"current": {
"start_date": "<string>",
"end_date": "<string>",
"runs": 123,
"expected_runs": 123,
"complete_days": 123,
"runs_per_day": 123,
"missing_days": [
"<string>"
],
"short_days": [
"<string>"
]
},
"previous": {
"start_date": "<string>",
"end_date": "<string>",
"runs": 123,
"expected_runs": 123,
"complete_days": 123,
"runs_per_day": 123,
"missing_days": [
"<string>"
],
"short_days": [
"<string>"
]
},
"notes": [
"<string>"
],
"days": [
{
"date": "<string>",
"period": "current",
"runs": 123,
"expected_runs": 123,
"status": "ok"
}
]
},
"rates": {
"headline_metric": "owned_citations",
"current": {
"runs": 123,
"owned_citations": 123,
"brand_mention_runs": 123,
"owned_citations_per_run": 123,
"mention_rate": 123
},
"previous": {
"runs": 123,
"owned_citations": 123,
"brand_mention_runs": 123,
"owned_citations_per_run": 123,
"mention_rate": 123
},
"change": {
"owned_citations": 123,
"owned_citations_per_run": 123,
"mention_rate": 123
}
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Retrieve Current Visibility
Returns recommendation score, visibility score, ranks, and date-range metadata for the configured primary company, with the same metrics for the previous period, run coverage, and per-run rates. Metrics are computed from active prompts only; when no data exists, values are null. Pass period (for example last_30_days or 2026Q4) instead of computing dates.
curl --request GET \
--url https://api.lightsage.com/v2/visibility/current \
--header 'X-Lightsage-Api-Key: <api-key>'import requests
url = "https://api.lightsage.com/v2/visibility/current"
headers = {"X-Lightsage-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Lightsage-Api-Key': '<api-key>'}};
fetch('https://api.lightsage.com/v2/visibility/current', 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.lightsage.com/v2/visibility/current",
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-Lightsage-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://api.lightsage.com/v2/visibility/current"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Lightsage-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://api.lightsage.com/v2/visibility/current")
.header("X-Lightsage-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lightsage.com/v2/visibility/current")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Lightsage-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"company": {
"name": "<string>",
"domain": "<string>",
"logo_url": "<string>",
"relationship": "<string>"
},
"start_date": "<string>",
"end_date": "<string>",
"has_data": true,
"recommendation_score": 123,
"recommendation_score_rank": 123,
"visibility_score": 123,
"visibility_score_rank": 123,
"share_of_voice": 123,
"share_of_voice_rank": 123,
"average_position": 123,
"average_position_rank": 123,
"date": "<string>",
"active_prompts_only": true,
"period": {
"start_date": "<string>",
"end_date": "<string>",
"days": 123,
"previous_start_date": "<string>",
"previous_end_date": "<string>",
"previous_days": 123,
"partial": true,
"name": "<string>",
"timezone": "UTC"
},
"previous": {
"recommendation_score": 123,
"visibility_score": 123,
"share_of_voice": 123,
"average_position": 123,
"has_data": false
},
"coverage": {
"comparable": true,
"current": {
"start_date": "<string>",
"end_date": "<string>",
"runs": 123,
"expected_runs": 123,
"complete_days": 123,
"runs_per_day": 123,
"missing_days": [
"<string>"
],
"short_days": [
"<string>"
]
},
"previous": {
"start_date": "<string>",
"end_date": "<string>",
"runs": 123,
"expected_runs": 123,
"complete_days": 123,
"runs_per_day": 123,
"missing_days": [
"<string>"
],
"short_days": [
"<string>"
]
},
"notes": [
"<string>"
],
"days": [
{
"date": "<string>",
"period": "current",
"runs": 123,
"expected_runs": 123,
"status": "ok"
}
]
},
"rates": {
"headline_metric": "owned_citations",
"current": {
"runs": 123,
"owned_citations": 123,
"brand_mention_runs": 123,
"owned_citations_per_run": 123,
"mention_rate": 123
},
"previous": {
"runs": 123,
"owned_citations": 123,
"brand_mention_runs": 123,
"owned_citations_per_run": 123,
"mention_rate": 123
},
"change": {
"owned_citations": 123,
"owned_citations_per_run": 123,
"mention_rate": 123
}
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Query Parameters
Named period, resolved in UTC by the server: last_7_days, last_14_days, last_30_days, last_90_days (N days ending today), this_week, last_week, an ISO week such as 2026-W43 (Monday to Sunday), this_month, last_month, a month such as 2026-10, this_quarter, last_quarter, or a quarter such as 2026Q4. A current week, month, or quarter ends today. The response's period gives the resolved dates and the matching previous period. Do not combine with start_date or end_date.
20Response
Successful Response
Mean recommendation strength across successful prompt runs, from 0 to 1. Each run contributes the company's recommendation strength (0 to 1) when it is mentioned and 0 when it is not. Failed provider runs are excluded. null unless the organization turns on Recommendation Score under Settings › Navigation.
The company's share of all mentions of tracked companies (your company plus configured competitors) in the same prompt runs, from 0 to 1; tracked companies add up to 1. Each company counts once per run. null for companies you do not track. Not the share_of_voice field removed in October 2026, which held the mention rate now returned as visibility_score.