I'm just experimenting with using the API to produce a simple "shopping" type of page. The API call lets you pass your affiliate ID and resulting URL's returned by the API have the all the necessary embedded data.
It seems quite easy using the FindItems API call.
Ebay affiliate requires signup to Comission Junction, however the signup process will point you in the right direction if you don't already have an account.