Synthetic monitors scripts with proxy

Has anyone written a script for checking an API endpoint calling with proxy setup?