How do batched URL metrics work in terms of rows and rate limit?
-
I am using the free API plan to get URL metrics and batching my calls like this:
https://github.com/seomoz/SEOmozAPISamples/blob/master/php/batching_urls_sample.php
How does this work in terms of rows and limits? If I do a batch of 10 urls does it count as 1 row? or 10? Do I have to wait 10 seconds before calling the next batch?
-
Hi there - Kristina from Moz's Help Team here.
A batch of 10 URLs will count as 10 rows and you would need to wait 10 seconds before making the next query. If you make your next query too quickly you will be hit with a throttle which lasts 30 seconds. If you make another query during that period, you potentially could push that 30 second throttle even further out.
I hope this helps! In the future, feel free to email our team anytime at help@moz.com and someone from our team will be happy to help out!
Have a great day.
-Kristina