Error Responsesintermediate

Rate Limit Error JSON Example

A throttle response with retry guidance and remaining-limit visibility.

Real-world use case: Use this for public APIs, SDKs, and platform rate-limit documentation.
1{
2 "error": {
3 "code": "RATE_LIMIT_EXCEEDED",
4 "message": "Too many requests were sent in a short period.",
5 "retryAfterSeconds": 60
6 },
7 "meta": {
8 "limit": 120,
9 "windowSeconds": 60
10 }
11}

Where this shape shows up in production

Public APIs
SDK docs
Rate limiting middleware

Related examples