Update api.php

Fixes issues for https://github.com/viion/XIVPads-LodestoneAPI/issues/39

Search for FC is cleaned up.