To use the API you'll need to use GET.
If you have the tt-ID you can use

If you only have a title you can use

For a more exact search when searching with only a title you can include a year or exact-parameter like

If you only want to fetch the poster you can use
This will output someting like
Legal EMAIL US 17951 hits so far