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 Cycles API

The Cycles API from Tezos — 3 operation(s) for cycles.

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

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

This API exposes 3 operations across 3 paths, and defines 6 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 6 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.

Cycles 3
GET
/v1/cycles/count
Get cycles count
Cycles_GetCount → 200
GET
/v1/cycles
Get cycles
Cycles_Get 5 params → 200
GET
/v1/cycles/{index}
Get cycle by index
Cycles_GetByIndex 2 params → 200

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are Cycle (19 properties), QuoteShort (8 properties), OffsetParameter (3 properties), SelectParameter (2 properties). Each schema is shown below with its type and property counts.

QuoteShort
object
8 properties
SortParameter
object
2 properties
Cycle
object
19 properties
OffsetParameter
object
3 properties
Symbols
string
SelectParameter
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

tezos-cycles-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