Skip to main content
The DRIP API implements rate limiting to ensure fair usage and maintain system performance for all users. This guide explains how rate limits work and how to handle them in your applications.

Rate Limit Overview

DRIP uses a sliding window rate limiting system that tracks requests over time periods. Different endpoints may have different limits based on their resource intensity.

Current Limits

Free

Pro

Enterprise

Rate limits are applied per Realm, not per API key.

Rate Limit Headers

Every API response includes headers that show your current rate limit status:

Header Descriptions

Handling Rate Limits

429 Too Many Requests

When you exceed the rate limit, the API returns a 429 Too Many Requests status with a Retry-After header:

Implementation Examples

Best Practices

1. Monitor Rate Limit Headers

Always check the rate limit headers in your responses to avoid hitting limits:

2. Implement Exponential Backoff

Use exponential backoff for retries to avoid thundering herd problems:

3. Batch Operations

Use batch endpoints when available to reduce API calls:

4. Cache Frequently Accessed Data

Implement caching to reduce redundant API calls:

Endpoint-Specific Limits

Some endpoints have additional restrictions:

Batch Operations

  • Batch member updates: Maximum 100 members per request
  • Member search: Maximum 50 values per search

File Operations

  • Asset uploads: 10 MB maximum file size
  • Bulk imports: Maximum 1,000 records per import

Webhooks

  • Webhook calls: Maximum 5 retries per event
  • Webhook timeout: 30 seconds maximum response time

Monitoring and Alerts

Track Your Usage

Implement usage tracking to monitor your API consumption:

Set Up Alerts

Create alerts for approaching rate limits:

Upgrading Limits

If you consistently hit rate limits, consider upgrading your plan:

Analyze Usage

Review your API usage patterns and identify peak times

Optimize Code

Implement caching, batching, and efficient request patterns

Upgrade Plan

Contact support to discuss higher rate limits for your use case

Rate Limit Errors

Common Error Scenarios

Cause: Too many requests in a very short time periodSolution: Implement request queuing and spacing between calls
Cause: Consistently high request volume over timeSolution: Implement better caching and consider plan upgrade
Cause: Frequent polling for updates instead of using webhooksSolution: Switch to webhook-based updates for real-time data

Testing Rate Limits

Development Environment

Test your rate limit handling in development:
Only test rate limits in development environments with test API keys to avoid impacting production systems.

Summary

Effective rate limit handling involves:
  1. Monitor rate limit headers in all responses
  2. Implement exponential backoff and retry logic
  3. Use batch operations and caching to reduce calls
  4. Track usage patterns and set up alerts
  5. Optimize your integration for efficiency
Following these practices will ensure your integration remains reliable and performs well within DRIP’s rate limits.