POST/graphql

Claude ↗ChatGPT ↗
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 free

Execute 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

nameintypedescription
querybodystrrequiredRead-only GraphQL query document (must begin with 'query' or '{').
example: { chains { id network currency } }
variablesbodydictoptionalOptional GraphQL variables object.
operationNamebodystroptionalOptional GraphQL operation name.

Response

type: object
pagination: none
sample: {
  "data": "object",
  "extensions": "object"
}