Batch import vs API import

Hi everyone
At the moment I'm using a manual approach through Neo4j-admin import to populate/creating my db instance with data(using csv files). I have around 2-4 mill relations and 50000 nodes that I need to import in one batch.
Question is there a way that I could handle this through an API?

Regards
Kim

You could write a program using one of the language drivers to execute queries.

You could also use the http api to execute queries.