Articles on: Frequently Asked Questions

How do I use the Coinstash API?

How do I use the Coinstash API?



The Coinstash API is a GraphQL server.

A GraphQL server is a backend server that implements the GraphQL query language to handle and respond to client requests for data. Unlike traditional REST APIs, where each endpoint is responsible for a specific resource (e.g., /users, /posts), GraphQL allows clients to request exactly the data they need and nothing more, often from a single endpoint.

To explore the API:



Go to the Apollo GraphQL Studio: https://studio.apollographql.com/sandbox/explorer

Switch to the Coinstash GraphQL endpoint: https://graph.coinstash.com.au/graphql



In the bottom right corner set the Authorization Header to:

Header key: Authorization
Value: Bearer {{ YOUR-API-KEY }} (don't forget the space)



Now you can test the API with a sample query:

query UserProfile {
  userProfile {
    email
  }
}

Updated on: 14/03/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!