The Shopify API doesn't provide a simple way to search for products with a certain SKU code. With some alternate templates and the storefront search let's look at a simple way to add a JSON endpoint for SKU searches.
Jump to the experiments store to see this code in action.
The alternate template search.sku.liquid is shown below.
grabbing the code...
Once setup, you'd query your new custom endpoint instead of the standard API.