---
updatedAt: 2026-05-07T01:57:09.000Z
agentTools:
  projectIndex: https://docs.mavan.bitminetech.io/llms.txt
---

# Get user IP restrictions

Get IP restrictions for user account (JWT authentication)

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/account/userIpRestrictions": {
      "get": {
        "description": "Get IP restrictions for user account (JWT authentication)",
        "operationId": "getUserIpRestrictions",
        "parameters": [
          {
            "name": "api-key",
            "in": "header",
            "description": "mavan api key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ApiResponseBase"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/GetIpRestrictionsResponseDto"
                        }
                      }
                    }
                  ],
                  "required": [
                    "data"
                  ]
                }
              }
            }
          }
        },
        "summary": "Get user IP restrictions",
        "tags": [
          "Account"
        ]
      }
    }
  },
  "info": {
    "title": "MAVAN Staking API",
    "description": "The MAVAN Staking API Docs",
    "version": "1.0.181-main-mainnet",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://gw-1.api.standardvalidator.com"
    }
  ],
  "components": {
    "schemas": {
      "ApiResponseBase": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          }
        }
      },
      "IpRestrictionDto": {
        "type": "object",
        "properties": {
          "allowedCidrs": {
            "description": "List of allowed CIDR ranges (IPv4 and IPv6 supported). Singular IPs must be encoded as host CIDRs (IPv4 /32, IPv6 /128).",
            "example": [
              "192.168.1.0/24",
              "10.0.0.50/32",
              "2001:db8::/32",
              "::1/128"
            ],
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "allowedCidrs"
        ]
      },
      "IpRestrictionConfigDto": {
        "type": "object",
        "properties": {
          "restrictions": {
            "description": "IP restriction rules",
            "allOf": [
              {
                "$ref": "#/components/schemas/IpRestrictionDto"
              }
            ]
          }
        },
        "required": [
          "restrictions"
        ]
      },
      "GetIpRestrictionsResponseDto": {
        "type": "object",
        "properties": {
          "ipRestrictions": {
            "description": "IP restriction configuration",
            "allOf": [
              {
                "$ref": "#/components/schemas/IpRestrictionConfigDto"
              }
            ]
          }
        },
        "required": [
          "ipRestrictions"
        ]
      }
    }
  }
}
```