Working static api request functionality