Here is an example of CURL Request. You only need to replace your api key and search terms.

curl https://api.yespostcodesearch.co.uk/api/1/postcode/YP3%201OK.json?key=1234567890123456789012345678901234567890