getQuota
    • PDF

    getQuota

    • PDF

    Article Summary

    Overview

    In GeoLocation, you can view the monthly limit for use and monthly maximum number of calls set by the user.

    Requests

    API URL

    GET https://geolocation.apigw.ntruss.com/geolocation/v2/quota
    

    Request headers

    HeaderDescription
    x-ncp-apigw-timestampThis is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC. If the time difference compared to the APIGW server is more than 5 minutes, the request is considered invalid.
    x-ncp-apigw-timestamp:{Timestamp}
    x-ncp-iam-access-keyThis is the Access Key ID issued by NAVER Cloud Platform portal.
    x-ncp-iam-access-key:{Sub Account Access Key}
    x-ncp-apigw-signature-v2This is the signature encrypted Access Key ID and Secret Key.
    x-ncp-apigw-signature-v2:{API Gateway Signature}

    Responses

    Response statuses

    HTTP statusDescription
    200OK
    204OK (No Content)
    404Not Found
    500Internal Server Error

    Response body

    CategoryTypeDescription
    typeStringThis returns the Limited use or Unlimited use status.
    quotaintThis is the set value for the quota (responds with -1 for unlimited use).

    Example

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

    Error codes

    Error codeResponse messageDescription
    130001Invalid QuotaThis error occurs when an invalid quota is set.
    131002Internal Server ErrorThis occurs when there is a GeoLocation server error. If the problem persists, please contact Support > Contact Us.
    131004Subscription RequiredUsing the NAVER Cloud Platform console, go to AI·NAVER API > GeoLocation > Subscription to request use of GeoLocation services.

    For other error codes, please see NAVER Cloud Platform API > Handle error.


    Was this article helpful?

    What's Next
    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.