The document describes Biothings.api, a framework for building biomedical APIs that interact with Elasticsearch. It generalizes code from existing APIs like MyGene and MyVariant. The framework includes handlers for common HTTP requests, classes for constructing Elasticsearch queries, and a project template to easily set up new API projects using the framework. The utility of the framework is demonstrated by rebuilding the MyVariant.info API using it with only a small amount of additional code required.