Application Program Interface (API) API

For experiments served with, we offer an interactive RESTful API, and a python module expanalysis specifically for retrieving and working with results. To use the API, you will need to provide a token generated when you log in to First install the analysis package:

pip install expanalysis

Then when you have your token, here is how to use it from python:

from expanalysis.api import get_results

access_token = "abcdefghijklmnopqrstuvwxyz" #
results = get_results(access_token=access_token)

Experiments API

The experiment factory executable is useful for making new batteries and experiments, but it can also work to serve a RESTful API. This basically means you can type in URLs in your browser, and it will spit data back at you. The data is in the JavaScript Object Notation (JSON) format, which is super easy to read into your software of choice (python, R, matlab, etc.). If you want to download static versions of the experiment data, we also provide those in our Github repo. We recommend, however, that you use the API because it will always download and return the most up-to-date experiments.

Running the API

After installation, start up the application.


Retrieving all Experiments


Retrieving a specific Experiment

The unique id of an experiment is its “exp_id,” which also corresponds to the name of its folder and the “exp_id” variable in its config.json. You can select an experiment by this unique id:


More API functions will come as requested. If there is a functionality you would desire, please tell us.