question

Upvotes
Accepted
1 0 0 0

Reduce response time from API?

I am getting 504 errors using the 'StreetEvents' API service for earnings calls. One option is to increase the timeout request for the API, but that may not be the best solution for our use case. Is there any general way to reduce the response time from the API?

apistreet-events
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvotes
Accepted
13.7k 61 39 63

Hi @weston01

If you are encountering an unreasonable time to fulfill a request, then you could simplify what you are requesting to reduce the backend processing. This is just a general suggestion - you didn't provide any details around the JSON request and the specific endpoint you are using so it is difficult to suggest anything else.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.