No third party code should be calling any endpoints at urls.api.twitter.com or cdn.api.twitter.com - these have never been part of the supported public API and will shut down shortly. We are unable to help you with latency or any other questions related to those URLs.
For documentation on the public REST API see dev.twitter.com.