Solved

What is Cost in Rest API?

  • 3 January 2024
  • 1 reply
  • 69 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?

icon

Best answer by Saish Redkar 3 January 2024, 18:26

View original

1 reply

Userlevel 7
Badge +10

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