add an api page and verify if this api is available