This document describes the d.mix system for rapidly creating web applications by mapping websites to their underlying APIs. D.mix allows lead users to define mappings between sites and services once. Web developers then use these mappings to create d.mix applications that end users can run and customize. The system works by rewriting web pages with annotations linking visual elements to API calls. It avoids brittleness of scraping by parameterizing service calls. An example maps tags on Flickr photos to API searches. The document discusses lessons learned from a user study and limitations, as well as related work in end-user programming and API search tools.