/fapi/v1/userTrades request gives 404 error

here is my code

var client = new RestClient(“https://api.binance.com”);
String parameters = “symbol=” + simvol + “&timestamp=” + Utils.GenerateTimeStamp(DateTime.Now.ToUniversalTime());
HMACSHA256 encryptor = new HMACSHA256();
encryptor.Key = Encoding.ASCII.GetBytes(Key.getSecret());
String sign = BitConverter.ToString(encryptor.ComputeHash(Encoding.ASCII.GetBytes(parameters))).Replace("-", “”);
parameters += “&signature=” + sign;
var request = new RestRequest("/fapi/v1/userTrades?" + parameters, Method.Get);
request.AddHeader(“X-MBX-APIKEY”, Key.getKey());
var response = client.Execute(request);
Console.WriteLine(response.Content);
String json = response.Content.ToString();

gives this error

404 Not Found

404 Not Found


nginx

request for spot /api/v1/myTrades works correctly and gives information, but for futures it gives an error (

For futures, please try changing the baseurl to https://fapi.binance.com

If you are working on Coin-M futures, the URL is https://dapi.binance.com

Please find details from the document: Binance API Documentation

server does not return anything

there are transactions within the last 7 days