⏱️
APIレート制限計算機
APIレート制限を計算し複数エンドポイントの使用状況を分析します。人気APIのプリセットですぐに確認できます。
Rate Limit Settings
Rate Limit Analysis
RPS
1.39
per second
RPM
83.33
per minute
RPH
5.00K
per hour
RPD
120.00K
per day
Monthly Max Requests
3.60M requests
Safe Operations (80%)
4.00K/Hour
Endpoint Usage Calculator
Calculate total usage when using multiple API endpoints.
= 100/h
✅
Within Rate Limit
Total Usage: 100/Hour(2%)
API Call 1100/h (100%)
Daily Total Requests2.40K requests
Popular API Rate Limits
| API | Limit | RPS | RPH |
|---|---|---|---|
| GitHub API | 5000/1h | 1.39 | 5.00K |
| Twitter/X API | 300/15m | 0.33 | 1.20K |
| OpenAI API | 60/1m | 1 | 3.60K |
| Google Maps | 50/1s | 50 | 180.00K |
| Stripe API | 100/1s | 100 | 360.00K |
| Slack API | 1/1s | 1 | 3.60K |
| Discord API | 50/1s | 50 | 180.00K |
| Spotify API | 180/30s | 6 | 21.60K |
| YouTube Data API | 10000/1d | 0.12 | 416.67 |
| SendGrid API | 100/1s | 100 | 360.00K |
📖 使い方
- Select an API preset or enter custom values
- Enter current usage to see available headroom
- Add multiple endpoints to calculate total usage
- Keep usage below 80% for safe operation
✨ 主な機能
- ✓Popular API rate limit presets
- ✓Calculate RPS/RPM/RPH/RPD/monthly requests
- ✓Analyze headroom against current usage
- ✓Multi-endpoint total usage calculation
- ✓Visual rate limit status indicator
📐 計算式
RPS = Requests ÷ Time(seconds), RPH = RPS × 3600💡 計算原理
- •Rate limiting protects API servers and ensures fair usage.
- •RPS (Requests Per Second) is the number of requests processed per second.
- •Most APIs use hourly (RPH) or per-minute (RPM) limits.
- •Approaching the limit triggers 429 Too Many Requests errors.
- •Keep usage below 80% of the rate limit for safe operation.
- •When using multiple endpoints, sum all requests to check against the limit.
❓ よくある質問
Q. Why are rate limits needed?
A. To prevent server overload, ensure fair resource distribution, defend against DDoS attacks, and manage costs.
Q. What happens when I exceed the rate limit?
A. You receive HTTP 429 error. Wait for the time specified in the Retry-After header before retrying.
Q. Can I increase my rate limit?
A. Options include upgrading to a paid plan, requesting a limit increase, or using multiple API keys.
Q. How do I handle rate limits in code?
A. Implement exponential backoff, request queuing, or token bucket algorithms to respect limits.
이 포스팅은 쿠팡 파트너스 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받습니다.