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
| Name | Description |
|---|---|
| Authentication | No authentication |
| Credit cost | Free |
| Recommended interval | 3600 seconds |
Responses
| Status | Description | Schema |
|---|---|---|
200 | Successful Response | Envelope_ConfigOut_ |
Models
ConfigOut
Public service configuration.
| Field | Type | Required | Description |
|---|---|---|---|
home_currency | string | Yes | Platform home currency (ISO 4217 code) that official calculation chains convert their results back into. Currently always USD. |
CreditMeta
Credit accounting for a billable request.
| Field | Type | Required | Description |
|---|---|---|---|
cost | integer | Yes | Credits this request costs. |
remaining | integer | Yes | Estimated credit balance left after this request. A hint rather than a ledger: concurrent requests can make it slightly off. |
Envelope_ConfigOut_
Meta
Request metadata included in every enveloped response.
| Field | Type | Required | Description |
|---|---|---|---|
request_id | string | Yes | Unique identifier of this request, identical to the X-Request-ID response header. Quote it when contacting support. |
billable | boolean or null | No | Whether 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. |
credit | CreditMeta or null | No | Cost of the request and your estimated remaining balance. Present only when billable is true. |
page | PageMeta or null | No | Paging state. Present only on a response that lists a page. |
PageMeta
Where a paged list stands after this page.
| Field | Type | Required | Description |
|---|---|---|---|
limit | integer | Yes | Page size actually applied to this request. |
has_next | boolean | Yes | Whether another page follows. |
next_cursor | string or null | Yes | Pass it back unchanged as cursor to get the next page; null once the list is complete. |