API reference

API reference · v1

Cheers Public API

Pull your locations, reviews, badge activity, Google performance and AI visibility as JSON with one API key.

https://app.cheers.tech/api/public/v1
  1. 01

    Get an API key

    Create one in your organization settings, or ask your Cheers admin. Each key belongs to one organization.

  2. 02

    List your locations

    Call GET /organizations. It returns your organization and every location under it.

  3. 03

    Pull the data you need

    Pass a location's id as organization_id, or leave it out to get every location at once.

Your first requestcURL
curl -X GET "https://app.cheers.tech/api/public/v1/organizations" \
-H "Authorization: Bearer YOUR_API_KEY"
ResponseJSON200 OK
[
{
"id": 123,
"name": "Acme Restaurant",
"organization_type": "LOCATION",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-06-20T14:45:00Z",
"billing_status": "PAID",
"plan_tier": "GROWTH",
"subscription_tier": "PAID",
"parent_organization_id": null
}
]

Endpoints

What you can pull

Every endpoint and what one row of its response is. Select one for its fields and a full example.

Get started

Authentication

Send your API key as a Bearer token on every request. Create keys in your organization settings, or ask your Cheers account administrator. Each key belongs to one organization and can read that organization and everything under it.
Example requestcURL
curl -X GET "https://app.cheers.tech/api/public/v1/organizations" \
-H "Authorization: Bearer YOUR_API_KEY"

A missing or wrong key returns 401. Keep keys on your server; never ship them in a browser or app.

Get started

Choosing locations

Most endpoints take the same scope and paging parameters. Send organization_id or parent_organization_id, not both.
GET /reviewsYour key's organization and every location under it
GET /reviews?organization_id=456Location 456 only
GET /reviews?parent_organization_id=123Organization 123 and every location under it

Common query parameters8

  • organization_idinteger

    One organization in your API key's tree, without its descendants. Send this or parent_organization_id, not both.

  • parent_organization_idinteger

    Your API key's organization: returns it and every descendant. Used when neither organization_id nor parent_organization_id is sent.

  • fromISO 8601 datetime

    Entity activity/updated-time lower bound. Reporting endpoints instead filter observation dates (website scores: week_start); see Dataset and sync guide.

  • toISO 8601 datetime

    Inclusive upper bound for the endpoint-specific date/activity filter.

  • created_fromISO 8601 datetime

    Filter records created after this time

  • created_toISO 8601 datetime

    Filter records created before this time

  • limitinteger

    Maximum rows per page (default 100). Endpoint caps vary: 500 for GBP, Search, keywords and audit scores, 999 for Map Pack and snapshot exports, 1000 for AI visibility and other listed offset exports.

  • offsetinteger

    Offset pagination only. Nonzero offsets are rejected by AI visibility and Map Pack; any explicit offset selects legacy reviews/taps mode.

Map Pack requires organization_id. Reviews and taps cursor and checkpoint continuations must contain only that token.

Endpoints

Locations

Your organization tree and how each location is set up.

Organizations

GET/organizations

Retrieve organization details. Call it with no parameters to list your API key's organization and every organization under it; use those IDs as organization_id elsewhere.

You get back
One row per organization: your key's organization and every organization under it.
Unique by
id

Query parameters5

  • organization_idinteger

    Specific organization ID (send this or parent_organization_id, not both)

  • parent_organization_idinteger

    Get all child organizations. Used when neither organization_id nor parent_organization_id is sent

  • citystring

    Exact city match, case-insensitive

  • statestring

    Exact state name or code match, case-insensitive

  • is_activeboolean

    Filter active or inactive locations

Response fields15

  • idinteger

    Organization ID

  • namestring

    Organization name

  • organization_typestring

    ADMIN, BRAND, LOCATION, SERVICE_AREA, or DEPARTMENT; use to select the correct reporting scope

  • created_atdatetime

    When the organization was created

  • updated_atdatetime

    Last update timestamp

  • billing_statusstring

    Billing status (NOT PAID, PAID, EXEMPT)

  • plan_tierstring

    Product tier (STARTER, GROWTH, PRO, ENTERPRISE)

  • subscription_tierstring

    Legacy billing mirror; use billing_status going forward

RequestcURL
curl -X GET "https://app.cheers.tech/api/public/v1/organizations" \
-H "Authorization: Bearer YOUR_API_KEY"
ResponseJSON200 OK
[
{
"id": 123,
"name": "Acme Restaurant",
"organization_type": "LOCATION",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-06-20T14:45:00Z",
"billing_status": "PAID",
"plan_tier": "GROWTH",
"subscription_tier": "PAID",
"parent_organization_id": null
}
]

Organization Connections

GET/organization-connections

Retrieve platform connections for organizations (Google, Yelp, Facebook, etc.).

You get back
One row per organization, with its Google, Yelp, Facebook, Tripadvisor, Trustpilot and BBB IDs.
Unique by
organization_id

Query parameters2

  • organization_idinteger

    Specific organization ID (send this or parent_organization_id, not both)

  • parent_organization_idinteger

    Get connections for all child organizations. Used when neither organization_id nor parent_organization_id is sent

Response fields11

  • organization_idinteger

    Organization ID

  • google_place_idstring

    Google Places ID

  • google_account_idstring

    Google Business Profile account ID

  • google_location_idstring

    Google Business Profile location ID

  • yelp_business_idstring

    Yelp business ID

  • tripadvisor_location_idstring

    Tripadvisor location ID

  • facebook_page_idstring

    Facebook page ID

  • facebook_urlstring

    Facebook page URL

RequestcURL
curl -X GET "https://app.cheers.tech/api/public/v1/organization-connections?organization_id=123" \
-H "Authorization: Bearer YOUR_API_KEY"
ResponseJSON200 OK
[
{
"organization_id": 123,
"google_place_id": "ChIJN1t_tDeuEmsRUsoyG83frY4",
"google_account_id": "accounts/123456789",
"google_location_id": "locations/987654321",
"yelp_business_id": "acme-restaurant-new-york",
"tripadvisor_location_id": null,
"facebook_page_id": "123456789012345",
"facebook_url": "https://facebook.com/acmerestaurant",
"trustpilot_company_website": null,
"bbb_profile_url": null,
"created_at": "2024-01-15T10:30:00Z"
}
]

Endpoints

Reviews and badges

Reviews from every platform, and the badge taps and link clicks behind them.

Reviews

GET/reviews

Retrieve customer reviews from all connected platforms. Agent attribution is retained when Cheers can match the review to a recorded journey.

You get back
One row per review, from every connected platform. Removed reviews stay, marked not_showing.
Unique by
id

Query parameters3

  • organization_idinteger

    Specific organization ID (send this or parent_organization_id, not both)

  • parent_organization_idinteger

    Get reviews for all child organizations. Used when neither organization_id nor parent_organization_id is sent

  • formatstring

    Use "v2" or "new" for full response fields

Response fields16

  • idinteger

    Review ID

  • created_atdatetime

    When the review was received

  • updated_atdatetime

    Last update timestamp

  • ratinginteger

    Rating value (1-5)

  • card_idstring

    Associated card ID (if attributed)

  • review_textstring

    Full review text

  • organization_idinteger

    Organization ID

  • sourcestring

    Platform source (GOOGLE, YELP, FACEBOOK, etc.)

Good to know6Show
  • Use format=v2 to get all available fields including source and reviewer information.
  • Reviews with not_showing=true are retained for API history but hidden from Cheers review counts and views.
  • not_showing_at is the time Cheers detected the review was no longer showing on the source platform, not necessarily the exact platform deletion time.
  • from and to filters include the time Cheers first ingested a review and include not_showing_at for reviews where not_showing=true, so rolling syncs recover late arrivals and deletion visibility changes.
  • The ingestion timestamp is not exported; clients must trust the server-side activity-window decision instead of re-filtering returned rows by visible timestamps.
  • This export preserves canonical provider organization ownership. For agent-by-destination reporting use GET /employee-links/reviews, which requires persisted journey evidence and does not promise DMA-level attribution for unmatched shared-profile reviews.
RequestcURL
curl -X GET "https://app.cheers.tech/api/public/v1/reviews?organization_id=123&format=v2" \
-H "Authorization: Bearer YOUR_API_KEY"
ResponseJSON200 OK
[
{
"id": 5678,
"created_at": "2024-06-10T12:00:00Z",
"updated_at": "2024-06-10T12:00:00Z",
"rating": 5,
"card_id": "550e8400-e29b-41d4-a716-446655440000",
"review_text": "Amazing service! John was incredibly helpful.",
"organization_id": 123,
"source": "GOOGLE",
"reviewer_name": "Jane D.",
"reviewer_photo_url": "https://lh3.googleusercontent.com/...",
"owner_response": "Thank you for the kind words!",
"response_timestamp": "2024-06-11T09:00:00Z",
"review_url": "https://search.google.com/local/reviews?...",
"internal": false,
"not_showing": false,
"not_showing_at": null
}
]

Taps

GET/taps

Retrieve tap events (when a customer taps a badge). Agent-scoped taps are attributed to the resolved destination organization.

You get back
One row per badge tap.
Unique by
id

Query parameters2

  • organization_idinteger

    Specific organization ID (send this or parent_organization_id, not both)

  • parent_organization_idinteger

    Get taps for all child organizations. Used when neither organization_id nor parent_organization_id is sent

Response fields7

  • idinteger

    Tap ID

  • created_atdatetime

    When the tap occurred

  • updated_atdatetime

    Last update timestamp

  • card_idstring (UUID)

    Associated card ID

  • organization_idinteger

    Organization attributed to the tap. For an agent-scoped card, this is the validated destination organization; otherwise it is the card organization.

  • sourcestring

    Recorded source of the visit

  • usedboolean

    Whether the tap resulted in a completed action

Good to know2Show
  • For an agent-scoped URL, Cheers resolves and validates destination before inserting the tap. The tap keeps the agent card_id and stores the destination organization_id.
  • The tap organization is the source of truth for the rest of the link-tree journey; downstream link interactions reuse it.
RequestcURL
curl -X GET "https://app.cheers.tech/api/public/v1/taps?organization_id=123&from=2024-01-01T00:00:00Z" \
-H "Authorization: Bearer YOUR_API_KEY"
ResponseJSON200 OK
[
{
"id": 12345,
"created_at": "2024-06-15T18:30:00Z",
"updated_at": "2024-06-15T18:30:00Z",
"card_id": "550e8400-e29b-41d4-a716-446655440000",
"organization_id": 123,
"source": "badge",
"used": true
}
]

Cards (Badges) - List

GET/cards

Retrieve badge/card information for your organization.

You get back
One row per active badge, with its holder and organization.
Unique by
id

Query parameters2

  • organization_idinteger

    Specific organization ID (send this or parent_organization_id, not both)

  • parent_organization_idinteger

    Get cards for all child organizations. Used when neither organization_id nor parent_organization_id is sent

Response fields12

  • idstring (UUID)

    Unique card identifier

  • created_atdatetime

    When the card was created

  • updated_atdatetime

    Last update timestamp

  • cardholder_namestring

    Name of the badge holder

  • employee_idstring (UUID)

    Employee represented by the card

  • organization_idinteger

    Organization ID

  • titlestring

    Badge holder's title/position

  • photo_urlstring

    URL to badge holder's photo

RequestcURL
curl -X GET "https://app.cheers.tech/api/public/v1/cards?organization_id=123" \
-H "Authorization: Bearer YOUR_API_KEY"
ResponseJSON200 OK
[
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"created_at": "2024-03-01T09:00:00Z",
"updated_at": "2024-03-15T14:30:00Z",
"cardholder_name": "John Smith",
"organization_id": 123,
"title": "Server",
"photo_url": "https://storage.cheers.tech/photos/john-smith.jpg",
"encode_url": "https://app.cheers.tech/t/abc123",
"linktree_enabled": true,
"badge_number": "EMP-001"
}
]

Cards (Badges) - Update

PATCH/cards

Update a card's organization assignment.

You get back
The updated card assignment.

Request body3

  • organization_idinteger (body)Required

    Target organization ID

  • cardIdstring (body)

    Card UUID to update (one of cardId or badge_number required)

  • badge_numberstring (body)

    Badge number for bulk update (one of cardId or badge_number required)

Good to know4Show
  • Either cardId or badge_number is required in the request body.
  • Only cards already assigned to your organization or one of its descendants can be moved.
  • With cardId, a card already in the target organization returns {"id", "organization_id", "updated": false}.
  • With badge_number, every matching card you control is moved and the response is {"updated", "updated_count", "updated_ids", "target_organization_id"}.
RequestcURL
curl -X PATCH "https://app.cheers.tech/api/public/v1/cards" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"cardId": "550e8400-e29b-41d4-a716-446655440000", "organization_id": 456}'
ResponseJSON
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"organization_id": 456,
"updated_at": "2026-10-02T12:00:00.000Z"
}

Endpoints

Google and search

Business Profile, Search Console, map rankings and website audits.

GBP Performance

GET/gbp-performance

Retrieve daily Google Business Profile Search, Maps, and customer-action metrics by location.

You get back
One row per location per day of Google Business Profile views, searches and actions.
Unique by
organization_iddate

Query parameters6

  • organization_idinteger

    Specific location (send this or parent_organization_id, not both)

  • parent_organization_idinteger

    Root organization and all permitted descendants. Used when neither organization_id nor parent_organization_id is sent

  • fromISO date or datetime

    First calendar date; defaults to the previous 30 complete UTC dates

  • toISO date or datetime

    Last calendar date

  • limitinteger

    Maximum rows, up to 500

  • offsetinteger

    Rows to skip

Response fields13

  • organization_idinteger

    Cheers location organization ID

  • datedate

    Metric calendar date

  • data_statuscomplete | partial | unavailable

    Complete when all core metrics are present; partial when an observation has a missing core metric; unavailable when no observation exists

  • availability_reasonstring | null

    Why a row is not complete: not_yet_reported_by_google (Google reports each metric several days late, and every missing metric falls after Google's latest reported day), missing_metric_observation, missing_daily_observation, or google_not_connected

  • search_viewsinteger | null

    Combined desktop and mobile Search impressions

  • maps_viewsinteger | null

    Combined desktop and mobile Maps impressions

  • website_clicksinteger | null

    Website actions

  • phone_callsinteger | null

    Call actions

Good to know2Show
  • Missing observations are returned as unavailable with null metrics, never as misleading zeroes.
  • Google reports each metric on its own delay (Search impressions up to about 10 days). Metrics after Google's latest reported day are null with availability_reason not_yet_reported_by_google; request a range ending earlier for complete totals.
RequestcURL
curl -X GET "https://app.cheers.tech/api/public/v1/gbp-performance?parent_organization_id=123&from=2026-08-01&to=2026-08-07&limit=500" \
-H "Authorization: Bearer YOUR_API_KEY"
ResponseJSON200 OK
[
{
"organization_id": 456,
"date": "2026-08-01",
"data_status": "complete",
"search_views": 320,
"maps_views": 184,
"website_clicks": 12,
"phone_calls": 8,
"direction_requests": 5,
"total_actions": 25,
"bookings": 2,
"last_updated_at": "2026-08-02T12:00:00.000Z"
}
]

Search Performance

GET/search-performance

Retrieve daily Google Search Console, Google Analytics, referral, and Cheers Search Visibility metrics by organization.

You get back
One row per organization per day of Search Console, Analytics and referral metrics.
Unique by
organization_iddate

Query parameters6

  • organization_idinteger

    Specific non-ADMIN organization (send this or parent_organization_id, not both)

  • parent_organization_idinteger

    Root organization and all permitted non-ADMIN descendants. Used when neither organization_id nor parent_organization_id is sent

  • fromISO date or datetime

    First calendar date; defaults to the previous 30 complete UTC dates

  • toISO date or datetime

    Last calendar date

  • limitinteger

    Maximum organization/day rows, up to 500

  • offsetinteger

    Rows to skip

Response fields9

  • organization_idinteger

    Cheers organization ID; may identify a BRAND with the connected property

  • datedate

    Metric calendar date

  • data_statuscomplete | partial | unavailable

    Combined source availability for the organization/day

  • search_impressions, search_clicksinteger | null

    Authoritative Search Console property totals

  • search_ctrnumber | null

    Search click-through rate as a 0–1 ratio

  • average_search_positionnumber | null

    Average Search Console position

  • sessions and channel fieldsinteger | null

    GA4 total, organic, direct, referral, social, and paid sessions

  • search_visibility_scorenumber | null

    Stored Cheers Search Visibility score

  • source status/freshnessstring | datetime | null

    Per-source maintained ingest receipts, fetch status, and freshness metadata

Good to know3Show
  • GSC and GA4 facts belong to the organization with the connected property, commonly a BRAND. Other organization/date rows may be placeholders; totals are not automatically attributed to individual locations.
  • A row is complete only when both GSC and GA4 observations exist. Missing source metrics stay null.
  • Use X-Total-Count, X-Limit, and X-Offset for pagination.
RequestcURL
curl -X GET "https://app.cheers.tech/api/public/v1/search-performance?parent_organization_id=123&from=2026-08-01&to=2026-08-07&limit=500" \
-H "Authorization: Bearer YOUR_API_KEY"
ResponseJSON200 OK
[
{
"organization_id": 456,
"date": "2026-08-01",
"data_status": "complete",
"search_impressions": 950,
"search_clicks": 74,
"search_ctr": 0.0779,
"average_search_position": 6.4,
"sessions": 410,
"organic_sessions": 220,
"referral_sessions": 31,
"search_visibility_score": 72,
"last_updated_at": "2026-08-04T12:00:00.000Z"
}
]

Search Keywords

GET/search-keywords

Retrieve daily Google Search Console query metrics by organization.

You get back
One row per search query per organization per day (top 500 by impressions).
Unique by
organization_iddatequery

Query parameters6

  • organization_idinteger

    Specific non-ADMIN organization (send this or parent_organization_id, not both)

  • parent_organization_idinteger

    Root organization and all permitted non-ADMIN descendants. Used when neither organization_id nor parent_organization_id is sent

  • fromISO date or datetime

    First calendar date; maximum 31-day window

  • toISO date or datetime

    Last calendar date

  • limitinteger

    Maximum rows, up to 500

  • offsetinteger

    Rows to skip

Response fields8

  • organization_idinteger

    Cheers organization ID; may identify a BRAND with the connected property

  • datedate

    Metric calendar date

  • querystring

    Google Search query

  • impressions, clicksinteger

    Daily query impressions and clicks

  • search_ctrnumber | null

    Daily query click-through rate as a 0–1 ratio

  • average_search_positionnumber | null

    Daily query average position

  • coveragestring

    Legacy label daily_top_500_queries_by_impressions_per_location; the bound applies per organization/day, including BRAND property owners

  • last_updated_atdatetime

    Freshness timestamp

Good to know4Show
  • The legacy coverage suffix per_location refers to the returned organization_id, which may be a BRAND; it does not imply organization_type=LOCATION.
  • Query rows are a top-500 per-organization/day diagnostic dimension and must not be summed as property totals.
  • Each request is limited to a 31-day window.
  • Advance offset by X-Limit while X-Has-More is true.
RequestcURL
curl -X GET "https://app.cheers.tech/api/public/v1/search-keywords?parent_organization_id=123&from=2026-08-01&to=2026-08-07&limit=500" \
-H "Authorization: Bearer YOUR_API_KEY"
ResponseJSON200 OK
[
{
"organization_id": 456,
"date": "2026-08-01",
"query": "best electricity provider",
"impressions": 85,
"clicks": 7,
"search_ctr": 0.0824,
"average_search_position": 5.2,
"coverage": "daily_top_500_queries_by_impressions_per_location"
}
]

Map Pack Rankings

GET/map-pack-rankings

Retrieve every grid-point rank observation from completed Google Local Finder runs.

You get back
One row per keyword per grid point in each completed Google map scan.
Unique by
result_id

Query parameters5

  • organization_idintegerRequired

    One non-ADMIN location in the API key hierarchy

  • fromISO date or datetime

    First UTC capture date; maximum 31-day window

  • toISO date or datetime

    Last UTC capture date

  • limitinteger

    Maximum grid rows, up to 999

  • cursorstring

    Opaque X-Next-Cursor value from the previous page

Response fields12

  • organization_idinteger

    Cheers location organization ID

  • tracked_keyword_id, keywordUUID | string

    Tracked search term identity

  • run_idUUID

    Group key for one completed grid run

  • grid_generationinteger

    Versioned grid identity

  • grid_row, grid_colinteger

    Zero-based grid placement

  • latitude, longitudenumber

    Exact query point coordinates

  • run_data_statuscomplete | partial | unknown

    Run-level grid completeness

  • grid-point countsinteger | null

    Expected, succeeded, failed, and invalid point counts

Good to know6Show
  • The supported default grid expects 25 rows. A partial completed run can contain fewer; inspect run_data_status and the grid-point counts.
  • A null business_rank means not found in the observed results, not rank zero.
  • Points whose provider result was unusable (an out-of-market list, or unverifiable listing identity) are omitted and counted in grid_points_invalid.
  • Raw provider result payloads are not exposed.
  • Enumerate locations with /organizations, then export one location at a time in windows of at most 31 days.
  • Follow X-Next-Cursor while X-Has-More is true; nonzero offsets are rejected.
RequestcURL
curl -X GET "https://app.cheers.tech/api/public/v1/map-pack-rankings?organization_id=456&from=2026-08-01&to=2026-08-07&limit=500" \
-H "Authorization: Bearer YOUR_API_KEY"
ResponseJSON200 OK
[
{
"organization_id": 456,
"keyword": "electric company",
"run_id": "0787d09e-89a3-4dab-ac2a-cb7927d30aa2",
"grid_generation": 3,
"grid_row": 0,
"grid_col": 0,
"latitude": 29.7604,
"longitude": -95.3698,
"business_rank": 7,
"rank_status": "ranked",
"ranking_method": "organic",
"measured_organization_id": null,
"measured_organization_name": null,
"run_data_status": "complete",
"grid_points_expected": 25,
"grid_points_succeeded": 25,
"grid_points_failed": 0,
"grid_points_invalid": 0
}
]

Website Optimization Scores

GET/website-optimization-scores

Retrieve Website Optimization audit state and versioned site scores.

You get back
One row per website audit run, with its scores or why it could not run.
Unique by
audit_run_id

Query parameters6

  • organization_idinteger

    Specific organization in the API key hierarchy

  • parent_organization_idinteger

    Root organization and all permitted descendants. Used when neither organization_id nor parent_organization_id is sent

  • fromISO date or datetime

    First audit week_start date

  • toISO date or datetime

    Last audit week_start date

  • limitinteger

    Maximum rows, up to 500

  • offsetinteger

    Rows to skip

Response fields8

  • audit_run_idUUID

    Stable audit run identifier

  • organization_idinteger

    Cheers organization ID

  • week_startdate

    Audit week

  • data_statuscomplete | unavailable

    Whether comparable site scores exist

  • availability_reasonstring | null

    Typed unavailable reason

  • audit_status, audit_phasestring

    Audit lifecycle state

  • score fieldsnumber | null

    Overall, schema, AI readiness, content, performance, and crawlability scores

  • score_model_versioninteger | null

    Score formula version required for comparison

Good to know3Show
  • Queued, failed, blocked, or unscored audits retain null scores; zero is never substituted.
  • Compare score movement only when the score_model_version supports that comparison.
  • Advance offset by X-Limit while X-Has-More is true.
RequestcURL
curl -X GET "https://app.cheers.tech/api/public/v1/website-optimization-scores?parent_organization_id=123&from=2026-07-01&to=2026-08-31" \
-H "Authorization: Bearer YOUR_API_KEY"
ResponseJSON200 OK
[
{
"audit_run_id": "550e8400-e29b-41d4-a716-446655440000",
"organization_id": 456,
"week_start": "2026-08-17",
"data_status": "complete",
"overall_score": 82,
"schema_score": 70,
"ai_readiness_score": 88,
"content_score": 80,
"performance_score": 76,
"crawlability_score": 91,
"score_model_version": 15
}
]

Endpoints

AI visibility

How AI assistants answer questions about you and your competitors.

AI Visibility

GET/ai-visibility

Retrieve daily brand appearance, rank, and citation metrics by location, prompt, and AI platform, and optionally for brand-wide prompts that are not tied to a location.

You get back
One row per location, day, prompt and AI platform: how often you appeared, your rank and citations.
Unique by
organization_iddateai_prompt_idai_platform_id

Query parameters7

  • organization_idinteger

    One organization only, without its descendants. Location rows belong to the location organization that owns the tracked location, so a brand or root organization usually has no location rows of its own; use parent_organization_id for its locations, or scope=brand for its brand-wide prompts. One of organization_id or parent_organization_id is required.

  • parent_organization_idinteger

    Your API key's root organization. Returns rows for the root and every permitted descendant. Used when neither organization_id nor parent_organization_id is sent.

  • scopelocation | brand | all

    location (default) returns location rows only, as before. brand returns brand-wide prompts that have no tracked locations. all returns both; location prompts are never repeated at the brand level.

  • fromISO date or datetime

    First calendar date

  • toISO date or datetime

    Last calendar date

  • limitinteger

    Maximum rows, up to 1000

  • cursorstring

    Opaque X-Next-Cursor value from the previous page

Response fields23

  • brand_idinteger | null

    Cheers organization ID for the tracked brand

  • brand_namestring | null

    Tracked brand name

  • location_idinteger | null

    Cheers location organization ID; null on brand rows

  • location_namestring | null

    Location name; null on brand rows

  • organization_idinteger

    Organization that owns the row: the location on location rows, the brand on brand rows. (organization_id, date, ai_prompt_id, ai_platform_id) is unique across both row types.

  • scopelocation | brand

    location rows measure a prompt tracked at one location. brand rows measure a brand-wide prompt with no tracked locations, such as a question about the brand itself.

  • datedate

    Metric calendar date

  • ai_prompt_idstring

    Tracked prompt ID

Good to know12Show
  • organization_id returns one organization only. A brand or root organization owns no location rows, so organization_id=<root> with the default scope is an empty 200 with an X-Warning header that names the request to use instead. For every location, use parent_organization_id=<root>; add scope=all to include brand-wide prompts.
  • scope defaults to location, so existing integrations keep the same rows. scope=brand adds brand-wide prompts, measured once for the brand. scope=all returns both without double counting: a location prompt is only ever returned as location rows, never as a brand total.
  • Four or more valid observations are complete, one to three are partial, and zero is unavailable.
  • Most prompts run once per platform per day, so one daily row usually has runs: 1 and data_status: partial. Partial means thin evidence in that row, not failed collection. For a complete reading, sum runs and appearances over several days (for example a week) and compare the sum of runs with minimum_complete_runs.
  • minimum_complete_runs is a quality threshold, not the tracked prompt's scheduling cadence.
  • Unavailable performance fields are null; zero in a partial or complete row is an observed zero.
  • Rank and written-answer appearances are separate: a map/place listing can supply a rank even when appearances is zero. The existing avg_rank_when_present field name does not mean the average is filtered to written-answer appearances.
  • rank_samples counts recorded ranks, not runs or appearances. A known zero remains zero even when runs is zero; an unknown legacy count remains null. Neither a zero count nor a null rank proves that the business was absent or that the platform cannot supply rankings.
  • data_status describes run coverage, not rank coverage. For a combined rank across compatible rows, weight each non-null avg_rank_when_present by its positive rank_samples count; do not average the row averages equally or replace missing ranks with zero.
  • Cheers can correct stored appearances for past dates when it re-scores saved answers. A published correction changes appearances and appearance_rate_pct in place, sets scoring_method to the correction's method and scoring_corrected_at to when it was published, and moves last_updated_at. Withdrawing a correction restores the original numbers and scoring_method: original. To see a corrected history, re-pull those dates and compare scoring_method with the copy you stored. Treat unknown as no information about the label, not as original.
  • Use the X-Next-Cursor response header for scalable pagination; nonzero offsets are rejected. Keep the same scope, organization, dates and limit on every page of one export.
  • A 503 with a Retry-After header means the query timed out under load after one automatic retry. Wait Retry-After seconds and repeat the same request, with the same cursor.
RequestcURL
curl -X GET "https://app.cheers.tech/api/public/v1/ai-visibility?parent_organization_id=123&scope=all&from=2026-08-01&to=2026-08-07&limit=1000" \
-H "Authorization: Bearer YOUR_API_KEY"
ResponseJSON200 OK
[
{
"brand_id": 123,
"brand_name": "Example Energy",
"location_id": 456,
"location_name": "Houston",
"organization_id": 456,
"scope": "location",
"date": "2026-08-01",
"ai_prompt_id": "9018cc4f-5170-42b3-9bfd-493d91bf2f81",
"ai_prompt": "best electricity provider in Houston",
"ai_platform_id": "2c53a16e-013b-4c63-8afc-805f1fa4d9ce",
"ai_platform": "ChatGPT",
"data_status": "complete",
"runs": 20,
"minimum_complete_runs": 4,
"appearances": 12,
"appearance_rate_pct": 60,
"avg_rank_when_present": null,
"rank_samples": 0,
"citations": 7,
"citation_rate_pct": 35,
"last_updated_at": "2026-08-02T12:00:00.000Z",
"scoring_method": "original",
"scoring_corrected_at": null
},
{
"brand_id": 123,
"brand_name": "Example Energy",
"location_id": null,
"location_name": null,
"organization_id": 123,
"scope": "brand",
"date": "2026-08-01",
"ai_prompt_id": "5b0d3c1e-8f7a-4f45-9a51-2f3f8c0f6d11",
"ai_prompt": "Is Example Energy legit?",
"ai_platform_id": "2c53a16e-013b-4c63-8afc-805f1fa4d9ce",
"ai_platform": "ChatGPT",
"data_status": "partial",
"runs": 1,
"minimum_complete_runs": 4,
"appearances": 1,
"appearance_rate_pct": 100,
"avg_rank_when_present": null,
"rank_samples": 0,
"citations": 1,
"citation_rate_pct": 100,
"last_updated_at": "2026-08-20T17:05:00.000Z",
"scoring_method": "history_rescore_v1",
"scoring_corrected_at": "2026-08-20T17:05:00.000Z"
}
]

AI Answers

GET/ai-answers

Every AI answer behind the daily AI visibility totals: one engine's answer to one tracked question for one location or brand on one run, with how it was scored. One row per AI answer: one platform's answer to one question for one location (or brand-wide question) on one run.

You get back
One row per AI answer: one platform's answer to one question for one location (or brand-wide question) on one run.
Unique by
answer_id

Query parameters11

  • organization_idinteger

    One organization in the API key's tree, without its descendants. Send this or parent_organization_id, not both.

  • parent_organization_idinteger

    The API key's own organization; returns it and every descendant. When neither organization_id nor parent_organization_id is sent, this is used.

  • fromdate

    First UTC date (ISO date or datetime, truncated to the UTC date).

  • todate

    Last UTC date, inclusive.

  • limitinteger

    Rows per page, 1 to 250 (default 100).

  • cursorstring

    The X-Next-Cursor value from the previous page. Keep every other parameter the same.

  • scopelocation | brand | all

    Same as ai-visibility: location answers (default), brand-wide questions with no tracked locations, or both.

  • ai_prompt_iduuid

    Only answers to this tracked question.

Response fields25

  • answer_idinteger

    Cheers id of this answer. Upsert on it. (immutable)

  • datedate

    UTC day the run finished: the same day bucket the daily AI visibility totals use. (immutable)

  • observed_attimestamp

    When Cheers stored the answer. (immutable)

  • brand_idinteger | null

    Organization that owns the question, when it is inside the API key's organization tree; otherwise null. Same meaning as in ai-visibility. (derived on read)

  • brand_namestring | null

    Name of brand_id. (derived on read)

  • location_idinteger | null

    Location organization the question was asked for; null for brand-wide questions. Same meaning as in ai-visibility. (immutable)

  • location_namestring | null

    Current name of location_id. (derived on read)

  • partner_idinteger | null

    The location's own organization or its nearest parent of type BRAND, inside the API key's organization tree. Null without a location or when no such brand is in the tree. (derived on read)

Good to know10Show
  • Serves the trailing 29 UTC days, today included. A from date older than that is a 400. Older answers are archived and not served here.
  • Defaults: to is today (UTC) and from is the start of the 29-day window.
  • Order and paging: by run finish time, then run, platform and answer. Follow X-Next-Cursor while X-Has-More is true, keeping the same parameters. A page can hold fewer rows than limit, or none, and still have X-Has-More: true when a narrow filter over many days needs more than one call; keep following the cursor.
  • A cursor stays valid across UTC midnight: if from has fallen out of the 29-day window, the next page starts at the window's first day.
  • Answers whose engine call failed are not returned.
  • Adding up: for one location, question, platform and day, answers with counted_in_totals add up to ai-visibility runs and those also named add up to appearances. One rare edge: an answer named through a listing but never scored counts as an appearance and not as a run; it comes back named true, counted_in_totals false.
  • Never change: answer_id, date, observed_at, location_id, ai_prompt_id, ai_prompt, ai_platform_id, map_rank, answer_text. Can be re-evaluated after delivery: named, decision, scoring_version, counted_in_totals, text_position, own_site_cited, tone, tone_confidence, data_status, answer_status. Names are read when served.
  • answer_status is ok when the Cheers app shows the answer; otherwise it names why the app holds it out. Do not read a row whose answer_status is not ok as an answer to the question. counted_in_totals and named do not depend on it, so totals still add up.
  • Warehouse sync: there is no updated_since. Each night, re-pull the trailing 3 days and upsert on answer_id.
  • Today's answers can appear before the daily totals for today exist; counted_in_totals then says whether the answer will count.
RequestcURL
curl -X GET "https://app.cheers.tech/api/public/v1/ai-answers?parent_organization_id=123&from=2026-11-10&to=2026-11-11&limit=250" \
-H "Authorization: Bearer YOUR_API_KEY"
ResponseJSON200 OK
[
{
"answer_id": 123,
"date": "2026-11-11",
"observed_at": "2026-11-11T04:12:33.123456+00:00",
"brand_id": 123,
"brand_name": "example",
"location_id": 123,
"location_name": "example",
"partner_id": 123,
"partner_name": "example",
"ai_prompt_id": "00000000-0000-4000-8000-000000000000",
"ai_prompt": "example",
"ai_platform_id": "00000000-0000-4000-8000-000000000000",
"ai_platform": "example",
"named": true,
"decision": "appeared",
"scoring_version": "example",
"counted_in_totals": true,
"text_position": 0.42,
"map_rank": 123,
"own_site_cited": true,
"tone": "positive",
"tone_confidence": 0.42,
"data_status": "complete",
"answer_status": "ok",
"answer_text": "example"
}
]

AI Answer Mentions

GET/ai-answer-mentions

Every business named in the AI answers that ai-answers returns: the business itself when the answer named it, and each competitor the Cheers app would show for that answer. One row per business named in one AI answer.

You get back
One row per business named in one AI answer.
Unique by
answer_idmention_index

Query parameters9

  • organization_idinteger

    One organization in the API key's tree, without its descendants. Send this or parent_organization_id, not both.

  • parent_organization_idinteger

    The API key's own organization; returns it and every descendant. When neither organization_id nor parent_organization_id is sent, this is used.

  • fromdate

    First UTC date (ISO date or datetime, truncated to the UTC date).

  • todate

    Last UTC date, inclusive.

  • limitinteger

    Rows per page, 1 to 250 (default 100).

  • cursorstring

    The X-Next-Cursor value from the previous page. Keep every other parameter the same.

  • scopelocation | brand | all

    Same as ai-answers: location answers (default), brand-wide questions with no tracked locations, or both.

  • ai_prompt_iduuid

    Only answers to this tracked question.

  • ai_platform_iduuid

    Only answers from this AI platform.

Response fields18

  • answer_idinteger

    The answer this business was named in. (immutable)

  • mention_indexinteger

    Row number inside the answer: 0 is the business itself, 1 and up are the stored competitor list in order. Hidden competitors leave gaps. Upsert on (answer_id, mention_index). (immutable)

  • datedate

    UTC day the run finished, as on ai-answers. (immutable)

  • brand_idinteger | null

    Same as ai-answers brand_id. (derived on read)

  • location_idinteger | null

    Same as ai-answers location_id. (immutable)

  • partner_idinteger | null

    Same as ai-answers partner_id. (derived on read)

  • ai_prompt_idstring

    Same as ai-answers ai_prompt_id. (immutable)

  • ai_platform_idstring

    Same as ai-answers ai_platform_id. (immutable)

Good to know10Show
  • Serves the trailing 29 UTC days, today included, for exactly the answers ai-answers returns. A from date older than that is a 400.
  • The business itself is mention_index 0 (is_customer true) when the answer named it (ai-answers named true). Competitors are mention_index 1 and up, in the order they were stored.
  • Competitors are filtered the way the Cheers app shows them: the business's own brands are never listed (inside a portfolio requested by parent_organization_id, that includes the other partners' locations that ask the same question), competitors the business removed or blocked are dropped, only competitors tracked for that question and location are listed, and repeats are listed once. Hidden rows leave gaps in mention_index.
  • An answer has no mention rows until its enrichment lands (ai-answers data_status complete, usually about 40 minutes after the answer). Re-pull answers that were partial.
  • Answers the Cheers app holds out (the source did not match the question, the payload was rejected, the answer was judged uncountable or a generic non-answer, its business attribution is not final, or it has no text) have no mention rows. When competitor enrichment failed or is being retried, only the business's own row is listed.
  • A page also stops after 25 distinct locations, and the scan stops after a time budget (checked between batches of answers), so a page can be short or empty and still have X-Has-More: true.
  • Order and paging: by run finish time, then run, platform, answer and mention_index. A page can end in the middle of one answer. Follow X-Next-Cursor while X-Has-More is true, keeping the same parameters. A page can hold fewer rows than limit, or none, and still have X-Has-More: true; keep following the cursor.
  • A cursor stays valid across UTC midnight: if from has fallen out of the 29-day window, the next page starts at the window's first day.
  • No answer text or text excerpt is returned. Join to ai-answers on answer_id for the question, platform and scoring.
  • Warehouse sync: there is no updated_since. Each night, re-pull the trailing 3 days and replace each answer's rows (delete by answer_id, then insert), since a competitor can be hidden later.
RequestcURL
curl -X GET "https://app.cheers.tech/api/public/v1/ai-answer-mentions?parent_organization_id=123&from=2026-11-10&to=2026-11-11&limit=250" \
-H "Authorization: Bearer YOUR_API_KEY"
ResponseJSON200 OK
[
{
"answer_id": 123,
"mention_index": 123,
"date": "2026-11-11",
"brand_id": 123,
"location_id": 123,
"partner_id": 123,
"ai_prompt_id": "00000000-0000-4000-8000-000000000000",
"ai_platform_id": "00000000-0000-4000-8000-000000000000",
"name": "example",
"domain": "example",
"text_position": 0.42,
"found_by": "business_scoring",
"map_rank": 123,
"rating": 0.42,
"review_count": 123,
"cited": true,
"is_customer": true,
"competitor_key": "example"
}
]

AI Answer Citations

GET/ai-answer-citations

Every URL cited in the AI answers that ai-answers returns, with the page title and whether it is one of the business's own sites. One row per distinct URL cited in one AI answer.

You get back
One row per distinct URL cited in one AI answer.
Unique by
answer_idcitation_index

Query parameters9

  • organization_idinteger

    One organization in the API key's tree, without its descendants. Send this or parent_organization_id, not both.

  • parent_organization_idinteger

    The API key's own organization; returns it and every descendant. When neither organization_id nor parent_organization_id is sent, this is used.

  • fromdate

    First UTC date (ISO date or datetime, truncated to the UTC date).

  • todate

    Last UTC date, inclusive.

  • limitinteger

    Rows per page, 1 to 1000 (default 100).

  • cursorstring

    The X-Next-Cursor value from the previous page. Keep every other parameter the same.

  • scopelocation | brand | all

    Same as ai-answers: location answers (default), brand-wide questions with no tracked locations, or both.

  • ai_prompt_iduuid

    Only answers to this tracked question.

  • ai_platform_iduuid

    Only answers from this AI platform.

Response fields13

  • answer_idinteger

    The answer that cited this URL. (immutable)

  • citation_indexinteger

    Order of the URL inside the answer's citations, from 1. Upsert on (answer_id, citation_index). (immutable)

  • datedate

    UTC day the run finished, as on ai-answers. (immutable)

  • brand_idinteger | null

    Same as ai-answers brand_id. (derived on read)

  • location_idinteger | null

    Same as ai-answers location_id. (immutable)

  • partner_idinteger | null

    Same as ai-answers partner_id. (derived on read)

  • ai_prompt_idstring

    Same as ai-answers ai_prompt_id. (immutable)

  • ai_platform_idstring

    Same as ai-answers ai_platform_id. (immutable)

Good to know9Show
  • Serves the trailing 29 UTC days, today included, for exactly the answers ai-answers returns. A from date older than that is a 400.
  • The URLs are the answer's stored citation list, the same list the Cheers app shows as the answer's sources (none when the stored payload has been purged). Each URL appears once per answer, in first-appearance order. title and position come from the platform's citation or source metadata when it lists the same URL; a URL only in that metadata is not returned.
  • is_customer_domain uses the business domains sealed on that run, the same test as ai-answers own_site_cited, so a later domain change does not rewrite history.
  • Order and paging: by run finish time, then run, platform, answer and citation_index. A page can end in the middle of one answer. Follow X-Next-Cursor while X-Has-More is true, keeping the same parameters. A page can hold fewer rows than limit, or none, and still have X-Has-More: true; keep following the cursor.
  • A cursor stays valid across UTC midnight: if from has fallen out of the 29-day window, the next page starts at the window's first day.
  • No page snippets or answer text are returned.
  • Answers the Cheers app holds out (the source did not match the question, the payload was rejected, the answer was judged uncountable or a generic non-answer, its business attribution is not final, or it has no text) have no citation rows.
  • The scan stops after a time budget (checked between batches of answers), so a page can be short or empty and still have X-Has-More: true.
  • Warehouse sync: there is no updated_since. Citations do not change once stored; re-pulling the trailing 3 days each night and upserting on (answer_id, citation_index) is enough.
RequestcURL
curl -X GET "https://app.cheers.tech/api/public/v1/ai-answer-citations?parent_organization_id=123&from=2026-11-10&to=2026-11-11&limit=1000" \
-H "Authorization: Bearer YOUR_API_KEY"
ResponseJSON200 OK
[
{
"answer_id": 123,
"citation_index": 123,
"date": "2026-11-11",
"brand_id": 123,
"location_id": 123,
"partner_id": 123,
"ai_prompt_id": "00000000-0000-4000-8000-000000000000",
"ai_platform_id": "00000000-0000-4000-8000-000000000000",
"url": "example",
"domain": "example",
"title": "example",
"position": 123,
"is_customer_domain": true
}
]

AI Competitors

GET/ai-competitors

Daily history of the competitors AI answers named instead of, or beside, the business: for each tracked question and location, how many answers each competitor appeared in, out of how many, by platform. Only competitors the Cheers app would show are listed. One row per competitor, question, location (or brand-wide question) and UTC day on which at least one answer named it.

You get back
One row per competitor, question, location (or brand-wide question) and UTC day on which at least one answer named it.
Unique by
competitor_iddate

Query parameters8

  • organization_idinteger

    One organization in the API key's tree, without its descendants. Send this or parent_organization_id, not both.

  • parent_organization_idinteger

    The API key's own organization; returns it and every descendant. When neither organization_id nor parent_organization_id is sent, this is used.

  • fromdate

    First UTC date (ISO date or datetime, truncated to the UTC date).

  • todate

    Last UTC date, inclusive.

  • limitinteger

    Rows per page, 1 to 500 (default 100).

  • cursorstring

    The X-Next-Cursor value from the previous page. Keep every other parameter the same.

  • scopelocation | brand | all

    Same as ai-answers: location questions (default), brand-wide questions with no tracked locations, or both.

  • ai_prompt_iduuid

    Only this tracked question.

Response fields17

  • datedate

    UTC day of the answers counted, the same bucket as the daily AI visibility totals. (immutable)

  • competitor_idstring

    Cheers id of this competitor entry on this question and location (or brand-wide question). The same across days. Not an id for the business across questions; use competitor_key for that. (immutable)

  • brand_idinteger | null

    Same as ai-answers brand_id: the organization that owns the question, when it is in the key's tree. (derived on read)

  • location_idinteger | null

    Same as ai-answers location_id. Null for brand-wide questions. (immutable)

  • partner_idinteger | null

    Same as ai-answers partner_id. (derived on read)

  • ai_prompt_idstring

    Same as ai-answers ai_prompt_id. (immutable)

  • competitor_keystring

    Cheers identity key for the competitor (domain:<domain> or name:<normalized name>), computed the way ai-answer-mentions computes it, so the two join. Computed here from the competitor entry's name and domain and there from the answer's wording, so they differ when an answer gives a website for a competitor tracked by name only (the mention is domain:..., this row name:...). Not a reviewed entity id. (derived on read)

  • canonical_competitor_keystring | null

    The merged identity the Cheers app groups this competitor under, when one has been resolved (it can equal competitor_key). Several entries on one question and location can share it; the app shows the busiest one per day rather than adding them. Null when not resolved. (re evaluated)

Good to know9Show
  • History: no fixed horizon. The earliest stored day is 2026-02-21 across all accounts (later for most); a tree's first day is when its competitor tracking began. Days before that return no rows. At most 366 days per request; the default is the 30 days ending yesterday.
  • Owner rows only: each competitor-day is listed once, under the location (or brand-wide question) it belongs to, however the key's tree is requested. Parent organizations' rolled-up copies are never returned, so rows can be added up across a tree.
  • Competitors are filtered the way the Cheers app's competitor views show them: the business's own brands are never listed (inside a portfolio requested by parent_organization_id that includes sibling partners), competitors the business removed, blocked or marked as not a competitor are dropped, and only entries that pass the app's reliability checks are listed.
  • A day with no row means no answer named the competitor that day, or the day was not aggregated. It is never sent as a zero row. Join to ai-visibility on (date, ai_prompt_id, location_id) for the answer totals per platform.
  • Known limits: competitor entries kept for a whole question that has tracked locations (rather than for one location) are not listed, where the Cheers app can show them for a location with no entry of its own. Questions and locations that were switched off are still listed for the days they ran, as on ai-answers; the app's views leave them out.
  • Engines: the table stores one count per platform (answers_naming_by_platform). total_answers, mentions, cited_mentions, share and avg_text_position cover all platforms together.
  • The Cheers app groups entries that share a canonical_competitor_key and shows the busiest one per day. Adding rows that share a canonical_competitor_key on the same day, question and location counts the same answers more than once.
  • Today's rows are partial and change as the day's answers are aggregated; earlier days can be re-aggregated. Each night, re-pull the trailing 3 days and replace them (delete by date, then insert); a competitor can also be hidden later.
  • Order and paging: by date, then the organization that owns the row (the location, or the brand-wide question's owner), then location (or brand-wide question), then competitor_id. Follow X-Next-Cursor while X-Has-More is true, keeping the same parameters. A page stops after 25 locations or a time budget, so it can hold fewer rows than limit, or none, and still have X-Has-More: true.
RequestcURL
curl -X GET "https://app.cheers.tech/api/public/v1/ai-competitors?parent_organization_id=123&from=2026-11-10&to=2026-11-11&limit=500" \
-H "Authorization: Bearer YOUR_API_KEY"
ResponseJSON200 OK
[
{
"date": "2026-11-11",
"competitor_id": "00000000-0000-4000-8000-000000000000",
"brand_id": 123,
"location_id": 123,
"partner_id": 123,
"ai_prompt_id": "00000000-0000-4000-8000-000000000000",
"competitor_key": "example",
"canonical_competitor_key": "example",
"name": "example",
"domain": "example",
"answers_naming": 123,
"answers_naming_by_platform": {},
"mentions": 123,
"cited_mentions": 123,
"total_answers": 123,
"share": 0.42,
"avg_text_position": 0.42
}
]

AI Sources

GET/ai-sources

Daily history of the websites AI platforms cite when answering your tracked questions, by domain, kept after the per-answer data is archived. One row per cited domain on one daily totals row: one location (or brand-wide question), question, AI platform and UTC day.

You get back
One row per cited domain on one daily totals row: one location (or brand-wide question), question, AI platform and UTC day.
Unique by
datelocation_idai_prompt_idai_platform_iddomain

Query parameters9

  • organization_idinteger

    One organization in the API key's tree, without its descendants. Send this or parent_organization_id, not both.

  • parent_organization_idinteger

    The API key's own organization; returns it and every descendant. When neither organization_id nor parent_organization_id is sent, this is used.

  • fromdate

    First UTC date (ISO date or datetime, truncated to the UTC date).

  • todate

    Last UTC date, inclusive.

  • limitinteger

    Rows per page, 1 to 1000 (default 100).

  • cursorstring

    The X-Next-Cursor value from the previous page. Keep every other parameter the same.

  • scopelocation | brand | all

    Same as ai-visibility: location rows (default), brand-wide questions with no tracked locations, or both.

  • ai_prompt_iduuid

    Only this tracked question.

  • ai_platform_iduuid

    Only this AI platform.

Response fields11

  • datedate

    UTC day of the daily totals row: the day the runs finished. (immutable)

  • scopestring

    location for a location's question, brand for a brand-wide question with no tracked locations. Same as ai-visibility. (immutable)

  • brand_idinteger | null

    Organization that owns the question, when it is inside the API key's organization tree; otherwise null. Same meaning as in ai-visibility. (derived on read)

  • location_idinteger | null

    Location organization the question is asked for; null for brand-wide questions. Same meaning as in ai-visibility. (immutable)

  • partner_idinteger | null

    The location's own organization or its nearest parent of type BRAND, inside the API key's organization tree. Null without a location or when no such brand is in the tree. Same rule as ai-answers. (derived on read)

  • ai_prompt_idstring

    Tracked question id. Same meaning as in ai-visibility. (immutable)

  • ai_platform_idstring

    AI platform id. Same meaning as in ai-visibility. (immutable)

  • domainstring

    A website domain the AI platform cited, for example example.com. Domain only: Cheers keeps no page URLs in daily history. (immutable)

Good to know9Show
  • History: whatever the daily totals hold. Cited domains exist on daily rows from 2026-02-18, the first day of daily totals; an organization's rows start when its tracking started. This is a fact about the stored data, not a retention promise.
  • Up to 366 UTC days per request. Defaults: to is yesterday (UTC) and from is 29 days before it, as in ai-visibility. Today's totals are written after the day ends.
  • Owner rows only: a parent organization's request returns each child location's rows once, never the parent's rollup copies. Rows add up across organizations without double counting.
  • Per row, up to 50 domains are kept (most cited first). A location's daily row usually holds one answer per platform, so answers_citing is then 0 or 1 and the row lists that answer's domains.
  • A location, question, platform and day with no rows here had no cited domain recorded. Cheers cannot tell that apart from an answer that cited nothing, so treat it as not recorded, not as zero.
  • Domains are normalized (no scheme, no www). No page URL, title or position is kept in daily history; per-answer citations, with page URLs, exist only for the trailing 29 days.
  • Order and paging: by owner organization, date, question, platform and domain. Follow X-Next-Cursor while X-Has-More is true, keeping the same parameters. A page can hold fewer rows than limit, or none, and still have X-Has-More: true when a narrow filter over a large tree needs more than one call; keep following the cursor.
  • Disabled questions and locations are included, as in ai-visibility (the Cheers app shows sources for enabled ones only).
  • Can change after delivery: answers_citing and answers when Cheers rebuilds a day's totals. own_domain follows the organizations' current website domains. Warehouse sync: re-pull the trailing 3 days each night and upsert on the primary key.
RequestcURL
curl -X GET "https://app.cheers.tech/api/public/v1/ai-sources?parent_organization_id=123&from=2026-11-10&to=2026-11-11&limit=1000" \
-H "Authorization: Bearer YOUR_API_KEY"
ResponseJSON200 OK
[
{
"date": "2026-11-11",
"scope": "location",
"brand_id": 123,
"location_id": 123,
"partner_id": 123,
"ai_prompt_id": "00000000-0000-4000-8000-000000000000",
"ai_platform_id": "00000000-0000-4000-8000-000000000000",
"domain": "example",
"answers_citing": 123,
"answers": 123,
"own_domain": true
}
]

AI Tone

GET/ai-tone

Daily history of the tone AI answers take when they name your business: counts of answers by tone label, kept after the per-answer data is archived. One row per location (or brand-wide question), question, AI platform and UTC day.

You get back
One row per location (or brand-wide question), question, AI platform and UTC day.
Unique by
datelocation_idai_prompt_idai_platform_id

Query parameters9

  • organization_idinteger

    One organization in the API key's tree, without its descendants. Send this or parent_organization_id, not both.

  • parent_organization_idinteger

    The API key's own organization; returns it and every descendant. When neither organization_id nor parent_organization_id is sent, this is used.

  • fromdate

    First UTC date (ISO date or datetime, truncated to the UTC date).

  • todate

    Last UTC date, inclusive.

  • limitinteger

    Rows per page, 1 to 1000 (default 100).

  • cursorstring

    The X-Next-Cursor value from the previous page. Keep every other parameter the same.

  • scopelocation | brand | all

    Same as ai-visibility: location rows (default), brand-wide questions with no tracked locations, or both.

  • ai_prompt_iduuid

    Only this tracked question.

  • ai_platform_iduuid

    Only this AI platform.

Response fields17

  • datedate

    UTC day the runs finished. (immutable)

  • scopestring

    location for a location's question, brand for a brand-wide question with no tracked locations. Same as ai-visibility. (immutable)

  • brand_idinteger | null

    Organization that owns the question, when it is inside the API key's organization tree; otherwise null. Same meaning as in ai-visibility. (derived on read)

  • location_idinteger | null

    Location organization the question is asked for; null for brand-wide questions. Same meaning as in ai-visibility. (immutable)

  • partner_idinteger | null

    The location's own organization or its nearest parent of type BRAND, inside the API key's organization tree. Null without a location or when no such brand is in the tree. Same rule as ai-answers. (derived on read)

  • ai_prompt_idstring

    Tracked question id. Same meaning as in ai-visibility. (immutable)

  • ai_platform_idstring

    AI platform id. Same meaning as in ai-visibility. (immutable)

  • tone_statusstring

    ready when the counts are final for that day. incomplete while Cheers is still recounting the day; incompatible when the day's tone was judged under rules that cannot be combined. Every count is null unless ready. (re evaluated)

Good to know9Show
  • History: daily tone counts exist from 2026-09-07, when Cheers started keeping them. This is a fact about the stored data, not a retention promise.
  • Up to 366 UTC days per request. Defaults: to is yesterday (UTC) and from is 29 days before it, as in ai-visibility. A day's tone is counted after the day ends.
  • Tone is a label (positive, mixed, negative, neutral or unknown), not a score. Counts include only answers that named the business; not_named_answers and unrated_answers make up the rest, so answers = named_answers + not_named_answers + unrated_answers.
  • Null means not counted yet or not combinable (see tone_status), never zero. A location, question, platform and day with no row either had no usable answers or has not been counted yet; treat it as not measured, not as zero.
  • Owner rows only: a parent organization's request returns each child location's rows once. Rows add up across organizations without double counting.
  • named_answers can differ from ai-visibility appearances: tone uses its own check of whether the business was named, and answers without a settled verdict are in unrated_answers.
  • Order and paging: by owner organization, date, question and platform. Follow X-Next-Cursor while X-Has-More is true, keeping the same parameters. A page can hold fewer rows than limit, or none, and still have X-Has-More: true when a narrow filter over a large tree needs more than one call; keep following the cursor.
  • Disabled questions and locations are included, as in ai-visibility (the Cheers app shows tone for enabled ones only).
  • Counts can change after delivery when Cheers recounts a day. Warehouse sync: re-pull the trailing 3 days each night and upsert on the primary key.
RequestcURL
curl -X GET "https://app.cheers.tech/api/public/v1/ai-tone?parent_organization_id=123&from=2026-11-10&to=2026-11-11&limit=1000" \
-H "Authorization: Bearer YOUR_API_KEY"
ResponseJSON200 OK
[
{
"date": "2026-11-11",
"scope": "location",
"brand_id": 123,
"location_id": 123,
"partner_id": 123,
"ai_prompt_id": "00000000-0000-4000-8000-000000000000",
"ai_platform_id": "00000000-0000-4000-8000-000000000000",
"tone_status": "ready",
"answers": 123,
"named_answers": 123,
"tone_positive": 123,
"tone_mixed": 123,
"tone_negative": 123,
"tone_neutral": 123,
"tone_unknown": 123,
"not_named_answers": 123,
"unrated_answers": 123
}
]

Data Dictionary

GET/schema

Describe every dataset: grain, primary key, columns with type, nullability, meaning and whether a value can change after delivery, filters, date window and page limits. Generated from the same definitions that serve the data.

You get back
One entry per dataset: its columns, types, filters and limits.
Unique by
name

Query parameters1

  • datasetstring

    One dataset name (ai-answers, ai-answer-mentions, ai-answer-citations, ai-competitors, ai-sources, ai-tone). Omit for all.

Response fields7

  • namestring

    Dataset name and URL segment

  • grainstring

    What one row is

  • primary_keystring[]

    Columns that identify a row

  • columnsarray

    name, type, nullable, description, mutability (immutable, re_evaluated, derived_on_read), joins_to, values

  • filtersarray

    Query parameters the dataset accepts

  • windowobject

    max_days_per_request, history_days (null when unlimited), default_to

  • limitsobject

    default_limit and max_limit

Good to know2Show
  • Needs an API key like every other endpoint, and has its own rate-limit counter.
  • Covers the datasets listed here. Endpoints documented elsewhere on this page are not in the dictionary yet.
RequestcURL
curl -X GET "https://app.cheers.tech/api/public/v1/schema?dataset=ai-answers" \
-H "Authorization: Bearer YOUR_API_KEY"
ResponseJSON200 OK
[
{
"name": "ai-answers",
"path": "/ai-answers",
"title": "AI Answers",
"description": "Every AI answer behind the daily AI visibility totals: one engine's answer to one tracked question for one location or brand on one run, with how it was scored.",
"grain": "One row per AI answer: one platform's answer to one question for one location (or brand-wide question) on one run.",
"primary_key": [
"answer_id"
],
"columns": [
{
"name": "answer_id",
"type": "integer",
"nullable": false,
"description": "Cheers id of this answer. Upsert on it.",
"mutability": "immutable",
"joins_to": null,
"values": null
},
{
"name": "date",
"type": "date",
"nullable": false,
"description": "UTC day the run finished: the same day bucket the daily AI visibility totals use.",
"mutability": "immutable",
"joins_to": "ai-visibility.date",
"values": null
}
],
"filters": [
{
"name": "organization_id",
"type": "integer",
"required": false,
"description": "One organization in the API key's tree, without its descendants. Send this or parent_organization_id, not both."
}
],
"window": {
"max_days_per_request": 29,
"history_days": 29,
"default_to": "today",
"default_days": 29
},
"limits": {
"default_limit": 100,
"max_limit": 250
},
"paging": "cursor",
"rate_limit": {
"requests": 100,
"window_seconds": 60
},
"notes": [
"Serves the trailing 29 UTC days, today included. A from date older than that is a 400. Older answers are archived and not served here.",
"Defaults: to is today (UTC) and from is the start of the 29-day window.",
"Order and paging: by run finish time, then run, platform and answer. Follow X-Next-Cursor while X-Has-More is true, keeping the same parameters. A page can hold fewer rows than limit, or none, and still have X-Has-More: true when a narrow filter over many days needs more than one call; keep following the cursor.",
"A cursor stays valid across UTC midnight: if from has fallen out of the 29-day window, the next page starts at the window's first day.",
"Answers whose engine call failed are not returned.",
"Adding up: for one location, question, platform and day, answers with counted_in_totals add up to ai-visibility runs and those also named add up to appearances. One rare edge: an answer named through a listing but never scored counts as an appearance and not as a run; it comes back named true, counted_in_totals false.",
"Never change: answer_id, date, observed_at, location_id, ai_prompt_id, ai_prompt, ai_platform_id, map_rank, answer_text. Can be re-evaluated after delivery: named, decision, scoring_version, counted_in_totals, text_position, own_site_cited, tone, tone_confidence, data_status, answer_status. Names are read when served.",
"answer_status is ok when the Cheers app shows the answer; otherwise it names why the app holds it out. Do not read a row whose answer_status is not ok as an answer to the question. counted_in_totals and named do not depend on it, so totals still add up.",
"Warehouse sync: there is no updated_since. Each night, re-pull the trailing 3 days and upsert on answer_id.",
"Today's answers can appear before the daily totals for today exist; counted_in_totals then says whether the answer will count."
]
}
]

Reference

Dataset and sync guide

For keeping a warehouse in sync. A successful HTTP response or a returned row does not establish complete source coverage. All paths below are relative to /api/public/v1.

DatasetScope and upsert keyPaginationFreshness and limitations
Organizations/organizationsKey organization and descendants; key: id. organization_type distinguishes ADMIN, BRAND, LOCATION, SERVICE_AREA and DEPARTMENT.Offset; max 1000. X-Total-Count.Current organization metadata, not evidence that each organization has a connected provider.
Cards/cardsOne organization or key hierarchy; key: id.Offset; max 1000. Stop on a short or empty page.Active cards only. Reconcile a full inventory periodically to detect cards that became inactive.
Links/linksOne organization or key hierarchy; key: id.Offset; max 1000. Stop on a short or empty page.Configured link metadata for joining interaction records.
Reviews/reviewsOne organization or key hierarchy; key: id. Use format=v2 for full fields.Snapshot cursor/checkpoint; max 999. Explicit offset selects legacy mode.Retains provider-removed reviews as not_showing=true. Exclude these only when computing visible-review counts, not when storing sync history.
Taps/tapsOne organization or key hierarchy; key: id.Snapshot cursor/checkpoint; max 999. Explicit offset selects legacy mode.Recorded tap events. Agent-scoped taps use the resolved destination organization.
Link interactions/link_interactionsOne organization or key hierarchy; key: id.Offset; max 1000. Stop on a short or empty page.Recorded interactions; an agent journey keeps the organization of its originating tap.
GBP performance/gbp-performanceNon-ADMIN organizations; key: (organization_id, date). Metrics belong to the connected business profile.Offset; max 500. X-Total-Count.Daily org/date placeholders include unavailable rows. Missing metrics are null; optional bookings/messages may be absent even when core metrics are complete.
Search performance/search-performanceNon-ADMIN organizations; key: (organization_id, date). GSC/GA4 facts belong to the organization with the connected property, commonly the brand.Offset; max 500. X-Total-Count.Property totals are not automatically attributed to individual locations. GSC and GA4 report independent status; retain available GA4 values when the combined row is partial.
Search keywords/search-keywordsConnected property organization; key: (organization_id, date, query).Offset; max 500. X-Has-More. Windows ≤31 days.Retained daily top 500 queries per organization by impressions. The legacy coverage label ends in per_location but refers to organization_id, including BRAND property owners. Query totals need not equal property totals; missing queries do not mean zero searches.
Map Pack rankings/map-pack-rankingsOne location/service area at a time; key: result_id. Rows represent keyword/grid-point observations in completed runs.Observation cursor; max 999. Windows ≤31 days.Inspect run_data_status and grid-point counts for partial scans. Null business_rank means not found in observed results, not rank zero. Uncollected historical scans cannot be recreated by an export.
AI visibility/ai-visibilityLocation × date × prompt × platform by default; scope=brand or scope=all adds brand-wide prompts (null location_id). Key: (organization_id, date, ai_prompt_id, ai_platform_id).Observation cursor; max 1000. 503 with Retry-After on a timed-out query.Four or more runs are complete, one to three partial, zero unavailable. Most prompts run once per platform per day, so single daily rows are usually partial. Rank measures structured map/place position, separately from written-answer appearances. rank_samples is zero for no recorded ranks or null for an unknown legacy count; weight non-null rank averages by positive sample counts. Sentiment is not included in this public export.
Website audit scores/website-optimization-scoresAudited organization; key: audit_run_id. Date filters select week_start.Offset; max 500. X-Has-More.One row per stored audit run. Blocked, failed and unfinished audits expose availability_reason instead of usable scores. An HTTP 200 challenge page can still block an audit.

Choose the right organization

Use parent_organization_id equal to the organization that owns your API key to include its hierarchy, where the endpoint supports it. Use organization_id to select one allowed organization; it does not imply that organization's descendants. Send one selector, or neither to use your API key's organization and its hierarchy. First paginate /organizations to build your ID mapping. For Map Pack, select LOCATION and SERVICE_AREA rows and request each ID separately; parent_organization_id is not supported. For Search, request the brand/property organization instead of assuming each location has separate GA4 or GSC data.

Freshness, partial rows and backfills

Google reporting can arrive or change after the observation date. Cheers also uses a configurable stable-data cutoff: the default GBP and GSC collection cutoff is five days behind, followed by each organization's scheduled refresh. This is a collection policy, not a guarantee that Google always takes five days. GA4 is collected independently. Check source observation timestamps and source-specific statuses, not just the latest successful fetch or the presence of a daily placeholder.

A reliable daily sync

  1. 1Choose explicit observation dates and complete every page for that scope/window.
  2. 2Re-fetch an overlapping window daily and upsert by the keys above. A 14-day overlap is a useful starting point; expand it when an older gap or correction is reported. Source retention and access still bound what can be recovered. Export GET requests read stored observations; they do not trigger a new Google fetch.
  3. 3Keep partial rows and available fields. Null means unavailable or unobserved; zero is an observed value. Preserve availability metadata and source status alongside metrics.
  4. 4Check expected organizations and source-day coverage after the export. A complete cursor chain proves you retrieved the requested stored rows, not that every source observation exists. Record counts must use the same scope, dates, source and deletion/active filters to reconcile.

Reference

Pagination

Pagination differs by endpoint. Always send your Bearer key, URL-encode tokens, and keep the same scope and date filters unless using a token-only snapshot continuation. Respect HTTP 429 Retry-After; do not mark a failed or incomplete export as complete.

Offset

Organizations, cards, links, link interactions, GBP, Search, keywords, website scores

Advance offset by the page limit.

Observation cursor

AI visibility, Map Pack

Add X-Next-Cursor as cursor; keep every other parameter.

Snapshot cursor

Reviews, taps

Follow X-Next-Cursor alone; save X-Checkpoint for next time.

Offset exports

Advance offset by the requested page limit (or X-Limit when provided). For organizations, GBP and Search performance, stop when the next offset reaches X-Total-Count. For search keywords and website scores, follow X-Has-More. Cards, links and link interactions have no total-count header: continue until a short or empty page. Stable ordering is not a snapshot under concurrent changes; use overlapping syncs and periodic reconciliation.

Offset continuationcURL
GET /search-performance?parent_organization_id=123&from=2026-09-01&to=2026-09-07&limit=100&offset=0
GET /search-performance?parent_organization_id=123&from=2026-09-01&to=2026-09-07&limit=100&offset=100

AI visibility and Map Pack cursors

Keep the original organization, dates and limit on every request; add X-Next-Cursor as the cursor parameter. Map Pack uses X-Has-More and X-Next-Cursor. AI visibility ends when no X-Next-Cursor is returned; an exact-size final page may require one extra empty request. Do not reuse a cursor across locations or date windows. These are observation cursors, not saved incremental checkpoints.

Observation cursor continuationcURL
GET /map-pack-rankings?organization_id=456&from=2026-09-01&to=2026-09-07&limit=999
GET /map-pack-rankings?organization_id=456&from=2026-09-01&to=2026-09-07&limit=999&cursor=URL_ENCODED_TOKEN
GET /ai-visibility?parent_organization_id=123&from=2026-09-01&to=2026-09-07&limit=1000
GET /ai-visibility?parent_organization_id=123&from=2026-09-01&to=2026-09-07&limit=1000&cursor=URL_ENCODED_TOKEN

Reviews and taps snapshots

For taps and reviews, omit offset to use immutable cursor pagination. Follow the X-Next-Cursor header until X-Has-More is false, then save the final X-Checkpoint for the next incremental run.

Snapshot paginationcURL
# Start an immutable export (1-999 rows per page)
GET /reviews?parent_organization_id=123&format=v2&limit=500
# Continue the same session; send no other query parameters
GET /reviews?cursor=VALUE_FROM_X_NEXT_CURSOR
# Start the next incremental run after the prior final page commits
GET /reviews?checkpoint=VALUE_FROM_X_CHECKPOINT

Cursor sessions expire after six hours; metadata-only checkpoints expire after seven days. Upsert by record ID and only advance a checkpoint after every page succeeds. Explicit offset is legacy compatibility mode.

Reference

Filtering by date

Daily reporting endpoints use inclusive observation dates (YYYY-MM-DD); website scores filter audit week_start. Their last_updated_at field is metadata, not an updated-since filter. Entity exports use ISO 8601 timestamps for activity/updated and created filters. Reviews include late ingestion and deletion-detection activity, so do not re-filter returned reviews solely by their visible created_at or updated_at values.
Date filtering examplescURL
# Reviews updated in the last 7 days
GET /reviews?organization_id=123&from=2024-06-08T00:00:00Z
# Reviews created in January 2024
GET /reviews?organization_id=123&created_from=2024-01-01T00:00:00Z&created_to=2024-01-31T23:59:59Z

Reference

Rate limits

Limits use a sliding 60-second window and are scoped by API key and endpoint. A request that passes the limiter consumes a slot even if later validation fails.

GET endpoints

100 requests per 60 seconds

Per API key and endpoint. Different GET endpoints have independent counters.

Single POST or DELETE /employee-links

500 requests per 60 seconds

Shared per API key across single employee-link provisioning and termination requests.

Bulk POST or DELETE /employee-links

10 batch requests per 60 seconds

Bulk POST accepts up to 1,000 items and at most 100 link writes per batch: each distinct agent_id with card_scope agent counts once, and each card_scope location item counts once. Bulk DELETE accepts up to 100 items. Items are processed with bounded concurrency of 10 and return per-item results. Bulk calls also consume one slot from the shared 500-request standard bucket.

PATCH /cards

500 requests per 60 seconds

Per API key.

A limited request returns 429 Too Many Requests with Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers. Wait for Retry-After seconds, then retry the same request unchanged.

Reference

Errors

Every endpoint returns a JSON body with an error message and the matching HTTP status code.
207

Multi-Status · Batch completed with one or more failed items

400

Bad Request · Missing or invalid parameters

401

Unauthorized · Invalid or missing API key

403

Forbidden · No access to requested resource

404

Not Found · Resource does not exist

429

Too Many Requests · Rate limit exceeded

500

Internal Server Error

503

Service Unavailable · Rate limiter or another required service is unavailable, or a query timed out; retry after Retry-After seconds when present

Error bodyJSON
{
"error": "Error message describing the issue"
}

Questions about the API? info@cheers.tech