Api profile

functional call to api page, returns data into template
Change to result.api