Playground
You can access the API through a variety of interfaces that support GraphQL. Below are some examples of how you can use CyberConnect API:

GraphiQL

(please be sure to use https://api.cybertino.io/connect/ as URL in the playground)
An easy way to explore the CyberConnect API is to use your browser to access the GraphiQL interface served directly on the endpoint address. GraphiQL is an interactive interface where you can construct mutations and queries alongside easy access to the API's schema.

Example query

1
query {
2
identity(address:"0x7C04786F04c522ca664Bb8b6804E0d182eec505F") {
3
ens
4
}
5
}
Copied!

Example result data

1
{
2
"data": {
3
"identity": {
4
"ens": "1890.eth"
5
}
6
}
7
}
Copied!

HTTP

You can access CyberConnect API through standard HTTP by simply sending a GraphQL query to the endpoint through a POST request. The response will be in JSON.
If you intend to use CyberConnect API in a programmatic context (like within JavaScript or Python), it is recommended to use a GraphQL client such as Relay or Apollo.

Example using cURL

curl
1
curl https://api.cybertino.io/connect/ \
2
-H 'Content-Type: application/json' \
3
-d '{"query":"query {\n identity(address: \"0x7C04786F04c522ca664Bb8b6804E0d182eec505F\") {\n ens\n\t}\n}"}'
Copied!
Last modified 21d ago
Copy link
Contents
GraphiQL
HTTP