KPL Analytics — API usage & billing links

Bookmark this page. Use test/sandbox dashboards for checkout and Stripe; provider consoles for audit pipeline spend. Links verified November 2026.

Google Cloud Places + PageSpeed

Env: GOOGLE_PLACES_API_KEY, PAGESPEED_API_KEY (often the same key)
This app: Places Details + searchText; PageSpeed Insights v5 (mobile/desktop; peer runs optional).

Pricing reference: Maps Platform pricing · PageSpeed Insights API docs

Stripe Checkout (test mode)

Env: STRIPE_PUBLISHED_KEY (pk_test_…), STRIPE_SECRET_KEY (sk_test_…)
This app: local website/serve_checkout.py · unified 3-step checkout (snapshot + subscriptions) · metadata kpl_place_id, email, plan. Optional: STRIPE_CHECKOUT_BASE_URL for return URLs.

Docs: Test cards & sandboxes · Billing / subscription testing · Webhooks · API reference

Serper Maps / Search / Reviews

Env: SERPER_API_KEY
This app: maps, search, reviews, autocomplete (cached under .cache/ by default).

xAI (Grok) Narrative option

Env: XAI_API_KEY when Grok is used for narrative sections (see pipeline config).

Anthropic Narrative only

Env: CLAUDE_API_KEY (or ANTHROPIC_API_KEY if you switch)
This app: executive summary + themes in narrative.py — skip with Main.py --no-narrative.

Manual checks (not billing)

Useful for QA; not tied to API quotas in this project.

Local checkout (this repo)

Not a provider — run from project root. Requires test Stripe keys in .env.

Dev cost toggles (this repo)

Environment variables — not provider dashboards.