Calling API to update data on input field after validating

Hi Team
Is there anyway I can call external api when field value changes for example field is numeric field once it validates the way i.e. user hasn’t entered value less than 0, I can call API to update the data in database. Can this be achievable via API in script tab instead of NPM install library.
Thanks in advance.

you can use Watcher
for handle changes of filed and the run yor api calls