The API endpoint to call.
HTTP method to use (GET, POST, DELETE, etc.).
Query parameters for the request.
Optional
timeUnit: TimeUnitThe time unit for the request.
Additional request options (isSigned).
A promise resolving to the response data object.
Generic function to send a request with optional API key and signature.