Skip to main content
Solved

What is Cost in Rest API?

  • January 2, 2024
  • 1 reply
  • 545 views

https://www.docs.developers.amplitude.com/analytics/apis/dashboard-rest-api/#rate-limits:~:text=All%20other%20endpoints%20use,for%20the%20query%20type)

The cost per query is mentioned here. What is this cost in real money?

Best answer by Saish Redkar

Hi @Deepanshi Singh 

That result of that formula translates to the number to API endpoint requests you are able to perform concurrently or within the given hour. Per the docs, “ Rate Limit: Up to 108,000 cost per hour. The rate limit restricts the total number of queries you can run per hour.”

So in a given hour, you can query the listed endpoints as many times until the cost formula result reaches the 108,000 number. Once you reach this number, any further requests to the endpoints will return a 429 error. So there isn’t any real money factor involved here.

Hope this helps.

 

View original
Did this topic help you find an answer to your question?

1 reply

Saish Redkar
Expert
Forum|alt.badge.img+10
  • Expert
  • 1380 replies
  • Answer
  • January 3, 2024

Hi @Deepanshi Singh 

That result of that formula translates to the number to API endpoint requests you are able to perform concurrently or within the given hour. Per the docs, “ Rate Limit: Up to 108,000 cost per hour. The rate limit restricts the total number of queries you can run per hour.”

So in a given hour, you can query the listed endpoints as many times until the cost formula result reaches the 108,000 number. Once you reach this number, any further requests to the endpoints will return a 429 error. So there isn’t any real money factor involved here.

Hope this helps.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings