How to get the commit_id based on the source code location ?

How to get the commit_id based on the source code location ?

Not locally, so it is not a Git blame command
Does git provide the same function as blame for remote api?
For example: git blame [file_path] -L 34,4.
Does git have such a remote interface to call?