-
SEO Learning Center
Broaden your SEO knowledge with resources for all skill levels.
-
The Beginner's Guide to SEO
If you're brand new to SEO, start here.
-
SEO Q&A
Get answers from the Moz Community.
-
Free Downloads and More
Quick access to whitepapers, reports, guides, webinars, and case studies.
-
Help Hub
Learn how to use Moz products.
-
Community & Events
Connect with over 600k online marketers.
-
SEO Training
Instructor-led classes and seminars
QuotaLookup
Check how much quota is used/available for the current billing period, as well as additional information about the quota such as whether or not overages are enabled. This method can be performed for any quota to which your account has access (see acceptable values for `path` below).
JSON-RPC Method Name
quota.lookup
Request Parameters
path
string
The quota path specifies a particular quota for which to retrieve information (e.g. beta or production quotas). The quota used by a particular method is specified in the Quota Usage section at the bottom of the method documentation.
Acceptable Values:
Response Values
quota
object
Sample Requests
Sample Response
1{
2 "quota": {
3 "path": "api.limits.beta.rows",
4 "account_id": 123456789,
5 "allotted": 100,
6 "used": 50,
7 "reset": "month",
8 "report": "day",
9 "overage": false,
10 "period_start": 1714546800,
11 "period_reset": 1717225200
12 }
13}
Quota Usage
Does not require any quota.
Example Code
curl -X POST https://api.moz.com/jsonrpc \
-H "x-moz-token: <YOUR_MOZ_TOKEN>" \
-H "Content-Type: application/json" \
-d '
{
"jsonrpc": "2.0",
"id": "0168ee41-ad43-471b-a5ac-886820b91e84",
"method": "quota.lookup",
"params": {
"data": {
"path": "api.limits.data.rows"
}
}
}'