Black Lives Matter. Support the Equal Justice Initiative and read our statement here.


Sandbox GraphQL calls to RESTful APIs using the Apollo's link-rest package with error handling.

PRs Welcome License: MIT


Welcome to Hypnos(beta), a streamlined desktop application to sandbox GraphQL calls to RESTful APIs using the Apollo-link-rest package from Apollo Client, as well as giving detailed, helpful error messages.

* We recently added tabs to handle multiple entries!

Getting Started


All you need to do is download your respective OS package, install, and go!

How to Install

Download for Mac or Windows (Linux coming soon!)

Mac: hypnos-0.0.2.dmg

Windows Zipped Config:

Install the app to your applications folder.

How to Use

Enter your API endpoint

Hypnos supports calls to both open APIs and APIs requiring a key. Future versions will include support for APIs requiring Basic Auth and Oauth2

Enter your Apollo-link-rest query

A sample query is provided. Further documentation on Apollo-link-rest calls can be found in the Apollo GraphQL documents here:

Hypnos will return the GraphQL response or meaningful errors

If there are any errors in query formatting, they will be displayed on the right


Hypnos History

Hypnos will store your local query history, persisting queries from your sessions. You can delete your entire history, or you can delete individual queries. You also have the option of repopulating the current tab with a previous query.


Want to submit another query, but don't want to submit your current query just yet? Just open up a new tab! Hypnos will save the endpoint and query, and you can come back to it later.

Authenticated APIs

A majority of APIs require a key in order to gain access to their endpoints, but have no fear: Hypnos supports API keys. Type in your endpoint and query as you would normally, but before you submit the query, go to Submit API Key. Clicking on it will open a new window in which you can enter the key for your headers and the API key given to you by the API itself. Once you submit the keys, you can go ahead and submit your query.


Built with Electron and React

Authors: Dillon Garrett, Sophie Nye, Will Robinson


Something missing? Edit this app.

Keyboard Shortcuts

Key Action
/ Focus the search bar
Esc Focus the search bar and cleans it
Select the next search result
Select the previous search result
Enter Open the selected search result
cmdEnter Ctrl+Enter Open the selected search result in a new tab