Programmatically monitor the number of API calls | Community
Skip to main content
Level 1
October 24, 2022
Solved

Programmatically monitor the number of API calls

  • October 24, 2022
  • 1 reply
  • 2610 views

Is there a way to either add an alert when the number of API requests go above a certain threshold or to periodically request this information through an API to create the alert externally? Basically, we'd need the "today's" data from this page:

 

Thanks 

Best answer by Darshil_Shah1

You can use Marketo's API usage endpoints (last7days and day's usage - which I think suits your requirement) to query the API usage numbers and then trigger/generate a notification when you like (for ex., when 50%/90%/100% of the API limits are consumed).

 

 

1 reply

Darshil_Shah1
Community Advisor and Adobe Champion
Darshil_Shah1Community Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
October 24, 2022

You can use Marketo's API usage endpoints (last7days and day's usage - which I think suits your requirement) to query the API usage numbers and then trigger/generate a notification when you like (for ex., when 50%/90%/100% of the API limits are consumed).

 

 

Level 1
October 24, 2022

Excellent, I didn't see that one. This is what I need. 

 

Thanks