functional site api