The Billing API provides read-only access to your usage statistics. InstaView supports two billing systems and the same endpoint serves both:
Minutes(legacy) — companies are billed by interview minutes consumed. Subscription plans include a minutes allowance and an overage rate per minute.
Credits(new) — companies are billed in credits, with a per-product price (baseCost plus costPerMinute beyond an includedMinutes window) determined by the agent focus.
Required Scope: read:billing is required to access billing and usage endpoints.
companies: Array of company-level usage (for ATS keys managing multiple companies, this contains all companies)
billingSystem(per company): "minutes" or "credits". Determines which usage fields are populated.
totalMinutesUsed: Total interview minutes consumed in the period. Present for minutes-based companies (and for ATS keys, aggregated across the managed companies); omitted otherwise.
totalCreditsUsed: Total credits consumed in the period. Present for credits-based companies; omitted otherwise.
totalInterviews: Total number of interviews conducted.
breakdownByCostKey: Usage breakdown by cost category. Each entry exposes costKey, events, and either minutesUsed (minutes-based) or creditsUsed (credits-based). Per-company breakdowns never mix the two units.
pricePerMinute: Per-minute cost for usage beyond included minutes (minutes-based companies)
Feature flags: Various boolean flags for features like custom voices, phone numbers, ATS integrations, etc.
For credits-based companies, per-interview pricing is governed by per-product credit pricing rules (a baseCost, includedMinutes, and costPerMinute per agent focus). Custom overrides may apply per company.
Plan details, credit pricing rules, and any custom overrides are managed through your company dashboard. Contact sales for custom pricing.
The breakdownByCostKey field provides granular usage tracking. Each bucket carries minutesUsed for minutes-based companies and creditsUsed for credits-based companies.
async function getCostBreakdown() { const usage = await getBillingUsage(); for (const breakdown of usage.breakdownByCostKey) { console.log(`${breakdown.costKey}:`); if (typeof breakdown.creditsUsed === "number") { console.log(` - Credits: ${breakdown.creditsUsed}`); console.log(` - Avg per event: ${(breakdown.creditsUsed / breakdown.events).toFixed(2)} credits`); } if (typeof breakdown.minutesUsed === "number") { console.log(` - Minutes: ${breakdown.minutesUsed}`); console.log(` - Avg per event: ${(breakdown.minutesUsed / breakdown.events).toFixed(2)} min`); } console.log(` - Events: ${breakdown.events}`); }}
Subscription changes must be made through the dashboard. The API provides read-only access to usage data. Contact your account manager or visit the billing section of your dashboard to modify your subscription plan.