convert particle api