Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Tezos Constants API

The Constants API from Tezos — 3 operation(s) for constants.

Tezos Constants API is one of 34 APIs that Tezos publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Constants. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 3 operations across 3 paths, and defines 9 schemas. It is described by OpenAPI 3.0.0, at version 1.17.1.

Requests are made against a single base URL, https://api.tzkt.io.

3 operations 3 paths 9 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.17.1
Base URL
https://api.tzkt.io/v1
Resource Areas
1

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 3 GET. Each is listed below with its method, path, parameters, and response codes.

Constants 3
GET
/v1/constants
Get global constants
Constants_Get 11 params → 200
GET
/v1/constants/{address}
Get global constant by address
Constants_GetByAddress 2 params → 200
GET
/v1/constants/count
Get global constants count
Constants_GetCount 1 param → 200

Schemas 9

The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are AccountParameter (9 properties), Int32Parameter (8 properties), Constant (8 properties), TimestampParameter (8 properties). Each schema is shown below with its type and property counts.

TimestampParameter
object
8 properties
Alias
object
2 properties
SortParameter
object
2 properties
ExpressionParameter
object
4 properties
OffsetParameter
object
3 properties
AccountParameter
object
9 properties
Constant
object
8 properties
Int32Parameter
object
8 properties
SelectParameter
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

tezos-constants-api-openapi.yml Raw ↑

Other APIs Tezos publishes across the network.

TzKT Accounts API
TzKT Blocks API
TzKT Operations API
TzKT Contracts API
TzKT Big Maps API
TzKT Tokens API
TzKT Delegations and Staking API
TzKT Governance API
TzKT Protocols API
TzKT WebSocket API
Tezos Accounts API
Tezos BigMaps API