Request COORD as field output and run the analysis. Afterwards you can access these results similar to displacements as shown in the Scripting Users Manual.
You can also access the elements and check their connectivity to get the node number that built an element.