how to create poi from fetch data from api

Does anyone know how to create poi by fetch data from api?