added key reference to apicall, started with finding valid api calls
from key info