Skip to main content

Overview

The InstaView API implements production-ready rate limiting to ensure fair usage and system stability. Rate limits are enforced per API key with two-tier protection:
  • Per-minute limits: Burst protection (default: 60 requests/minute)
  • Per-hour limits: Quota enforcement (default: 2,000 requests/hour)
Rate limits can be customized per API key or per company based on your subscription plan.

How It Works

Our rate limiting system provides:
  • Fair enforcement: Smooth limit enforcement that prevents burst abuse
  • High performance: Minimal overhead (~2-5ms per request)
  • High availability: System stays available even during technical issues
  • Full visibility: Rate limit information in every response header

Response Headers

All API responses include rate limit information in HTTP headers:
Header Descriptions:
  • X-RateLimit-Limit-Minute: Maximum requests allowed per minute
  • X-RateLimit-Limit-Hour: Maximum requests allowed per hour
  • X-RateLimit-Remaining-Minute: Requests remaining this minute
  • X-RateLimit-Remaining-Hour: Requests remaining this hour
  • X-RateLimit-Reset-Minute: Unix timestamp when minute limit resets
  • X-RateLimit-Reset-Hour: Unix timestamp when hour limit resets

Rate Limit Response

When you exceed the rate limit, you’ll receive:
Response Fields:
  • retryAfter: Seconds to wait before retrying
  • limit: The limit that was exceeded
  • remaining: Always 0 when rate limited
  • reset: Unix timestamp when the limit resets

Subscription Plan Limits

Rate limits are automatically set based on your subscription plan: Rate limits follow your active subscription. Ask your account manager to upgrade your plan or to arrange custom limits.

Endpoints With Lower Limits

A few endpoints do more than read or write a record, and carry their own tighter budget on top of your plan’s limits. Staying inside your plan’s allowance is not enough for these — the narrower limit applies first. Starting a knowledge upload reserves a document slot and, once completed, a stored file — so it is limited well below ordinary traffic. Completing an upload is limited more generously, because retrying a failed completion should be cheap.
These responses carry a Retry-After header with the number of seconds to wait. They do not consume a different budget from your plan limits — they are an additional ceiling, not a separate allowance.

Best Practices

Implement request queuing in your application to avoid overwhelming the API:
Cache frequently accessed data to reduce API calls:
When possible, batch multiple operations together:
Add small delays between requests to avoid bursts:
Be prepared for potential errors with exponential backoff:

Monitoring Your Usage

Use the response headers to monitor your API usage:

Handling Rate Limits

Implement exponential backoff when you receive a 429 response:

Custom Rate Limits

If you need custom rate limits for your use case:
1

Ask Your Account Manager

Discuss your specific requirements
2

Provide Usage Estimates

Share expected request volumes and patterns
3

Configuration

We’ll configure custom limits for your API keys
4

Testing

Test with your new limits before going live

Getting in Touch

If you have specific rate limit requirements or questions:

Next Steps

Error Handling

Learn how to handle all API errors

Best Practices

Production integration patterns

Pagination

Efficiently paginate large result sets

Authentication

Understand API key authentication