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 are automatically applied based on your active subscription. Contact your account manager to upgrade your plan or request custom limits.

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

Contact 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

Contact Us

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