added requirements to api