POST/graphql
Auth X-Hub-Key from API_HUB_KEYExecute
POST /run/morpho/graphqlCache executed live on every call — a read-only POST answer is never cachedCost free · weight 0 · standard rate classSource billing freeExecute a strictly read-only GraphQL query against the providergraphql (mutations and subscriptions are rejected locally before any network call).
Try this endpoint
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sX POST "https://openapihub.dev/run/morpho/graphql" \
-H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
-d '{"query": "{ chains { id network currency } }"}'Parameters
| name | in | type | description | |
|---|---|---|---|---|
query | body | str | required | Read-only GraphQL query document (must begin with 'query' or '{'). example: { chains { id network currency } } |
variables | body | dict | optional | Optional GraphQL variables object. |
operationName | body | str | optional | Optional GraphQL operation name. |
Response
type: object
pagination: none
sample: {
"data": "object",
"extensions": "object"
}