How to get cellid by lac and lon

How to get cellid by lac and lon

You can download the OpenCelliD database and check for cells present at and around your input coordinates.

Is there a corresponding api?

There is an API to find coordinates from cellular identifiers - not the other way around. You can use the map/ sandbox on the website though to move around and find a cell manually.