get-term API