portable api