Maximum limit of inbound REST API Calls

mdash
Giga Guru

Hi,

What is the maximum number of parallel transaction (Inbound API calls) that can be made into ServiceNow Scripted REST API Endpoint? For example, if I expose a Snow endpoint to a portal and simultaneously multiple global users are sending POST request to that endpoint, what is the maximum count after which it will fail? 

@Chuck Tomasi Is there any official documentation on this? I have seen articles that say semaphores+150 as the answer, but its not very clear. 

Thanks

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@mdash 

I don't believe any such limit exists out of the box.

But you can apply the limit

Inbound REST API rate limiting

How to restrict inbound REST web service calls

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Stephen Farrar
ServiceNow Employee
ServiceNow Employee

This might help:

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0792305 

--

Limitations on the number of inbound API REST calls without triggering attack alert

 2118 Views  Last updated : Jun 27, 2021  Public  Copy Permalink
 
 

Description

To find the maximum number of REST transactions:

Go to the stats.do page of the instance. You can use the API_INT semaphore set, and find the value for queue_depth_limit*available_semaphores.

 

Resolution

In case you are worried of the max number of simultaneous requests without provoking an attack alert, you can counter this risk by setting up a Rate Limit Rule. You can define the max number of REST queries that are expected from that user. More information here:https://docs.servicenow.com/csh?topicname=create-REST-API-rate-limits.html&version=latest

--