---
title: "Get Rate Limits for your Shield Zone"
method: GET
path: "/shield/rate-limits/{shieldZoneId}"
tags: ["Rate Limiting"]
---

# Get Rate Limits for your Shield Zone

`GET /shield/rate-limits/{shieldZoneId}`

## Request

- Base URL: `https://api.bunny.net`
- URL: `https://api.bunny.net/shield/rate-limits/{shieldZoneId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/bunny/apis/bunny-shield-api/docs/shield/rate-limits/:shieldZoneId/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `shieldZoneId` integer, required: The ID of the Shield Zone associated with the Rate Limits

## Query parameters

- `page` integer: (Optional) The page number of results.
- `perPage` integer: (Optional) (Default: 10) The amount of results returned on one page.

## Response `200`

OK

- GetCustomWafRulesResponse
  - `data` CustomWafRule[], nullable
    - `id` integer
    - `shieldZoneId` integer
    - `userId` string, nullable
    - `ruleName` string, nullable
    - `ruleDescription` string, nullable
    - `ruleJson` string, nullable
    - `ruleConfiguration` CreateCustomWafRuleModel
      - `actionType` 1 | 2 | 3 | 4 | 5: 1 = Block 2 = Log 3 = Challenge 4 = Allow 5 = Bypass
      - `variableTypes` object, nullable
        - `REQUEST_URI` string
        - `REQUEST_URI_RAW` string
        - `ARGS` string
        - `ARGS_COMBINED_SIZE` string
        - `ARGS_GET` string
        - `ARGS_GET_NAMES` string
        - `ARGS_POST` string
        - `ARGS_POST_NAMES` string
        - `FILES_NAMES` string
        - `GEO` string
        - `REMOTE_ADDR` string
        - `QUERY_STRING` string
        - `REQUEST_BASENAME` string
        - `REQUEST_BODY` string
        - `REQUEST_COOKIES_NAMES` string
        - `REQUEST_COOKIES` string
        - `REQUEST_FILENAME` string
        - `REQUEST_HEADERS_NAMES` string
        - `REQUEST_HEADERS` string
        - `REQUEST_LINE` string
        - `REQUEST_METHOD` string
        - `REQUEST_PROTOCOL` string
        - `RESPONSE_BODY` string
        - `RESPONSE_HEADERS` string
        - `RESPONSE_STATUS` string
        - `FINGERPRINT` string
        - `VERIFIED_BOT_CATEGORY` string
      - `operatorType` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | 17 | 18: 0 = BEGINSWITH 1 = ENDSWITH 2 = CONTAINS 3 = CONTAINSWORD 4 = STRMATCH 5 = EQ 6 = GE 7 = GT 8 = LE 9 = LT 12 = WITHIN 13 = IPMATCH 14 = RX 15 = STREQ 17 = DETECTSQLI 18 = DETECTXSS
      - `severityType` 0 | 1 | 2: 0 = NOTICE 1 = WARNING 2 = CRITICAL
      - `transformationTypes` WafRuleTransformationType[], nullable
      - `value` string, nullable
      - `isNegated` boolean, nullable
      - `isRegexVariable` boolean, nullable
      - `chainedRuleConditions` WafChainedRuleConditionItem[], nullable
        - `variableTypes` object, nullable
          - `REQUEST_URI` string
          - `REQUEST_URI_RAW` string
          - `ARGS` string
          - `ARGS_COMBINED_SIZE` string
          - `ARGS_GET` string
          - `ARGS_GET_NAMES` string
          - `ARGS_POST` string
          - `ARGS_POST_NAMES` string
          - `FILES_NAMES` string
          - `GEO` string
          - `REMOTE_ADDR` string
          - `QUERY_STRING` string
          - `REQUEST_BASENAME` string
          - `REQUEST_BODY` string
          - `REQUEST_COOKIES_NAMES` string
          - `REQUEST_COOKIES` string
          - `REQUEST_FILENAME` string
          - `REQUEST_HEADERS_NAMES` string
          - `REQUEST_HEADERS` string
          - `REQUEST_LINE` string
          - `REQUEST_METHOD` string
          - `REQUEST_PROTOCOL` string
          - `RESPONSE_BODY` string
          - `RESPONSE_HEADERS` string
          - `RESPONSE_STATUS` string
          - `FINGERPRINT` string
          - `VERIFIED_BOT_CATEGORY` string
        - `operatorType` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | 17 | 18: 0 = BEGINSWITH 1 = ENDSWITH 2 = CONTAINS 3 = CONTAINSWORD 4 = STRMATCH 5 = EQ 6 = GE 7 = GT 8 = LE 9 = LT 12 = WITHIN 13 = IPMATCH 14 = RX 15 = STREQ 17 = DETECTSQLI 18 = DETECTXSS
        - `value` string, nullable
        - `isNegated` boolean, nullable
        - `isRegexVariable` boolean, nullable
    - `errorResponse` GenericRequestResponse: Generic response object containing status information for API operations.
      - `statusCode` 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 422 | 423 | 424 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511: 100 = Continue 101 = SwitchingProtocols 102 = Processing 103 = EarlyHints 200 = OK 201 = Created 202 = Accepted 203 = NonAuthoritativeInformation 204 = NoContent 205 = ResetContent 206 = PartialContent 207 = MultiStatus 208 = AlreadyReported 226 = IMUsed 300 = MultipleChoices 300 = Ambiguous 301 = MovedPermanently 301 = Moved 302 = Found 302 = Redirect 303 = SeeOther 303 = RedirectMethod 304 = NotModified 305 = UseProxy 306 = Unused 307 = TemporaryRedirect 307 = RedirectKeepVerb 308 = PermanentRedirect 400 = BadRequest 401 = Unauthorized 402 = PaymentRequired 403 = Forbidden 404 = NotFound 405 = MethodNotAllowed 406 = NotAcceptable 407 = ProxyAuthenticationRequired 408 = RequestTimeout 409 = Conflict 410 = Gone 411 = LengthRequired 412 = PreconditionFailed 413 = RequestEntityTooLarge 414 = RequestUriTooLong 415 = UnsupportedMediaType 416 = RequestedRangeNotSatisfiable 417 = ExpectationFailed 421 = MisdirectedRequest 422 = UnprocessableEntity 422 = UnprocessableContent 423 = Locked 424 = FailedDependency 426 = UpgradeRequired 428 = PreconditionRequired 429 = TooManyRequests 431 = RequestHeaderFieldsTooLarge 451 = UnavailableForLegalReasons 500 = InternalServerError 501 = NotImplemented 502 = BadGateway 503 = ServiceUnavailable 504 = GatewayTimeout 505 = HttpVersionNotSupported 506 = VariantAlsoNegotiates 507 = InsufficientStorage 508 = LoopDetected 510 = NotExtended 511 = NetworkAuthenticationRequired
      - `success` boolean: Indicates whether the operation was successful.
      - `message` string, nullable: Human-readable message describing the result of the operation.
      - `errorKey` string, nullable: Unique error key for programmatic error handling, if applicable.
  - `page` PaginationResponse
    - `totalCount` integer
    - `totalPages` integer
    - `currentPage` integer
    - `nextPage` integer, nullable
    - `pageSize` integer
  - `error` GenericRequestResponse: Generic response object containing status information for API operations.
    - `statusCode` 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 422 | 423 | 424 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511: 100 = Continue 101 = SwitchingProtocols 102 = Processing 103 = EarlyHints 200 = OK 201 = Created 202 = Accepted 203 = NonAuthoritativeInformation 204 = NoContent 205 = ResetContent 206 = PartialContent 207 = MultiStatus 208 = AlreadyReported 226 = IMUsed 300 = MultipleChoices 300 = Ambiguous 301 = MovedPermanently 301 = Moved 302 = Found 302 = Redirect 303 = SeeOther 303 = RedirectMethod 304 = NotModified 305 = UseProxy 306 = Unused 307 = TemporaryRedirect 307 = RedirectKeepVerb 308 = PermanentRedirect 400 = BadRequest 401 = Unauthorized 402 = PaymentRequired 403 = Forbidden 404 = NotFound 405 = MethodNotAllowed 406 = NotAcceptable 407 = ProxyAuthenticationRequired 408 = RequestTimeout 409 = Conflict 410 = Gone 411 = LengthRequired 412 = PreconditionFailed 413 = RequestEntityTooLarge 414 = RequestUriTooLong 415 = UnsupportedMediaType 416 = RequestedRangeNotSatisfiable 417 = ExpectationFailed 421 = MisdirectedRequest 422 = UnprocessableEntity 422 = UnprocessableContent 423 = Locked 424 = FailedDependency 426 = UpgradeRequired 428 = PreconditionRequired 429 = TooManyRequests 431 = RequestHeaderFieldsTooLarge 451 = UnavailableForLegalReasons 500 = InternalServerError 501 = NotImplemented 502 = BadGateway 503 = ServiceUnavailable 504 = GatewayTimeout 505 = HttpVersionNotSupported 506 = VariantAlsoNegotiates 507 = InsufficientStorage 508 = LoopDetected 510 = NotExtended 511 = NetworkAuthenticationRequired
    - `success` boolean: Indicates whether the operation was successful.
    - `message` string, nullable: Human-readable message describing the result of the operation.
    - `errorKey` string, nullable: Unique error key for programmatic error handling, if applicable.

## Other responses

- `401`: Unauthorized
- `500`: Internal Server Error

## Changes

- **2026-11-12** `6a424e866a61`: 10 warning, 18 info
  - for the `query` request parameter `page`, the max was set to `2147483647.00`
  - for the `query` request parameter `perPage`, the max was set to `10000.00`
  - for the `query` request parameter `page`, the min was set to `1.00`
  - for the `query` request parameter `perPage`, the min was set to `1.00`
  - …24 more
- **2026-04-18** `18994bc5533c`: 9 info
  - api operation id `Get Rate Limits` was added
  - api tag `Rate Limiting` added
  - api tag `RateLimits` removed
  - added the optional property `data/items/ruleConfiguration/chainedRuleConditions/items/variableTypes/FINGERPRINT` to the response with the `200` status (media type: text/plain)
  - …5 more

[Operation history](https://skmtc.dev/bunny/apis/bunny-shield-api/changes/shield/rate-limits/:shieldZoneId/get.md)

---

[API](https://skmtc.dev/bunny/apis/bunny-shield-api.md) - [All operations](https://skmtc.dev/bunny/apis/bunny-shield-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bunny/apis/bunny-shield-api/revisions/6a424e866a61?raw)
