API reference

Get public service configuration

Returns public, non-sensitive service configuration.

GET /config

Returns public, non-sensitive service configuration. Currently this is only home_currency, the platform currency that official calculation chains convert their results back into.

  • Your own base currency is an account setting and is not returned here.
  • Responses are sent with Cache-Control: no-store.

Usage

NameDescription
AuthenticationNo authentication
Credit costFree
Recommended interval3600 seconds

Responses

StatusDescriptionSchema
200Successful ResponseEnvelope_ConfigOut_

Models

ConfigOut

Public service configuration.

FieldTypeRequiredDescription
home_currencystringYesPlatform home currency (ISO 4217 code) that official calculation chains convert their results back into. Currently always USD.

CreditMeta

Credit accounting for a billable request.

FieldTypeRequiredDescription
costintegerYesCredits this request costs.
remainingintegerYesEstimated credit balance left after this request. A hint rather than a ledger: concurrent requests can make it slightly off.

Envelope_ConfigOut_

FieldTypeRequiredDescription
dataConfigOutYesThe endpoint payload.
metaMetaYesRequest metadata.

Meta

Request metadata included in every enveloped response.

FieldTypeRequiredDescription
request_idstringYesUnique identifier of this request, identical to the X-Request-ID response header. Quote it when contacting support.
billableboolean or nullNoWhether the request is billed in credits. Present only on metered endpoints; false means the request is free, for example because it costs nothing or your subscription covers it.
creditCreditMeta or nullNoCost of the request and your estimated remaining balance. Present only when billable is true.
pagePageMeta or nullNoPaging state. Present only on a response that lists a page.

PageMeta

Where a paged list stands after this page.

FieldTypeRequiredDescription
limitintegerYesPage size actually applied to this request.
has_nextbooleanYesWhether another page follows.
next_cursorstring or nullYesPass it back unchanged as cursor to get the next page; null once the list is complete.

Download the public OpenAPI schema