Get current visibility score AND historical data for charts (combined endpoint)
https://nike.com)| Field | Type | Description |
|---|---|---|
value | integer | Current score (0-100) |
trend | string | Week-over-week change (e.g., β+3%β, β-2%β) |
| Field | Type | Description |
|---|---|---|
date | string | Formatted date (e.g., βJul 15β) |
value | integer | Score on that date |
| Field | Table/View | Description |
|---|---|---|
visibilityScore | current_visibility_score | VIEW for fast current lookup |
history | visibility_score_history | Daily snapshots over 6 months |
visibility_score_history is empty and business_url is provided, the endpoint falls back to pre_payment_rankings table to show an initial score immediately after onboarding.
The fallback returns:
pre_payment_rankings (32-49)visibility_score_history.