mark api to query