APIã¬ãŒãå¶éèšç®æ©
APIã¬ãŒãå¶éãèšç®ãè€æ°ãšã³ããã€ã³ãã®äœ¿çšç¶æ³ãåæããŸãã人æ°APIã®ããªã»ããã§ããã«ç¢ºèªã§ããŸãã
Rate Limit Settings
Rate Limit Analysis
Endpoint Usage Calculator
Calculate total usage when using multiple API endpoints.
Within Rate Limit
Total Usage: 100/Hour(2%)
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.
ìŽ í¬ì€í ì ì¿ í¡ íížëì€ íëì ìŒíìŒë¡, ìŽì ë°ë¥ž ìŒì ì¡ì ììë£ë¥Œ ì ê³µë°ìµëë€.