URL for Futures API testing

Greetings everyone. I want to create application for futures trading. But first i want to test application. I am trying to test it on testnet:

from binancekeys import *
from binance.client import Client

client = Client( API_KEY, API_SECRET )
client.API_URL = ‘https://testnet.binance.vision/api

But i get error:
binance.exceptions.BinanceAPIException: APIError(code=-2015): Invalid API-key, IP, or permissions for action

Can somebody help? Key and secret taken by clicking on API button at bottom of demo trading screen.


You are accessing the testnet for the SPOT API.

Futures testnet is here: https://testnet.binancefuture.com