Menu
Docs/Usage API

Usage API

Check your current usage, remaining quota, and performance analytics.

GET/v1/usage

Response

{
  "plan": "growth",
  "period": {
    "start": "2026-03-10T00:00:00.000Z",
    "end": "2026-04-09T23:59:59.999Z"
  },
  "usage": {
    "requests": 12847,
    "limit": 25000,
    "remaining": 12153,
    "percentage": 51.4
  },
  "breakdown": {
    "screenshot": 9234,
    "og_image": 2891,
    "html_to_image": 722
  },
  "cache_hit_rate": 34.2,
  "avg_response_time_ms": 1180
}

Response fields

ParameterTypeDefaultDescription
planstringYour current plan: free, starter, growth, business, or enterprise.
period.startstringBilling period start (ISO 8601). Anniversary-based — resets on the same day each month you signed up.
period.endstringBilling period end.
usage.requestsnumberTotal requests made this period.
usage.limitnumberMonthly request limit for your plan. -1 for unlimited (Enterprise).
usage.remainingnumberRequests remaining this period.
usage.percentagenumberPercentage of quota used (0–100).
breakdownobjectRequest counts by endpoint type.
cache_hit_ratenumberPercentage of requests served from Redis cache.
avg_response_time_msnumberAverage response time in milliseconds for this period.

Billing periods

SnapSharp uses anniversary-based billing — your usage resets on the same day each month that you created your account.

If you signed up on March 15, your billing period runs March 15 → April 14, then April 15 → May 14, and so on.

Dashboard analytics

The Usage dashboard provides additional visualization:

  • Daily usage chart — requests per day broken down by endpoint
  • Response time chart — p50, p95, p99 latency over time
  • Cache breakdown — hits vs misses ratio
  • Top URLs — most frequently screenshotted URLs
  • CSV export — download raw usage data as a CSV file

Set up webhooks to get notified when your usage hits 80% or 100% of your monthly limit.