MENU
      getQuota

        getQuota


        Article summary

        Available in Classic and VPC

        Get the GeoLocation API call limit type and maximum number of calls per month set by the user.

        Request

        The following describes the request format for the endpoint. The request format is as follows:

        MethodURI
        GET/quota

        Request headers

        For headers common to GeoLocation APIs, see GeoLocation request headers.

        Request example

        The following is a sample request.

        curl --location --request GET 'https://geolocation.apigw.ntruss.com/geolocation/v2/quota'
        --header 'x-ncp-apigw-timestamp: {Timestamp}'
        --header 'x-ncp-iam-access-key: {Access Key}'
        --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
        Curl

        Response

        The following describes the response format.

        Response body

        The following describes the response body.

        FieldTypeRequiredDescription
        typeStringRequiredLimit type
        • Unlimited | Limited
          • Unlimited: usage unlimited
          • Limited: usage limited
        quotaIntegerRequiredSet maximum number of calls per month
        • Return -1 if the limit is Unlimited

        Response status codes

        The following describes the response status codes. For response status codes common to NAVER Cloud Platform, see Ncloud API response status codes.

        HTTP status codeCodeMessageDescription
        204-OK (No Content)Request succeeded
        400131001Invalid QuotaInvalid limit settings
        400131002Internal Server ErrorGeoLocation server error
        • Solution: Try again after a while, or contact Support if the issue persists
        400131004Subscription RequiredGeoLocation service subscription required
        • Solution: Subscribe to the GeoLocation service from the Services > Application Services > GeoLocation > Subscription menu of the NAVER Cloud Platform console
        404-Not FoundResource not found
        500-Internal Server ErrorInternal server error

        Response example

        The following is a sample response.

        {
            "resource": {
                "type": "Limited",
                "quota": 100
            }
        }
        JSON

        Was this article helpful?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.