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

Cardano Metrics API

The Metrics API from Cardano — 2 operation(s) for metrics.

Cardano Metrics API is one of 21 APIs that Cardano publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Metrics. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and rate-limit docs.

This API exposes 2 operations across 2 paths, and defines 2 schemas. It is described by OpenAPI 3.0.3, at version 0.1.89.

Requests are made against 4 base URLs: https://cardano-mainnet.blockfrost.io/api/v0, https://cardano-preprod.blockfrost.io/api/v0, https://cardano-preview.blockfrost.io/api/v0, https://localhost:3000.

2 operations 2 paths 2 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
0.1.89
Base URL
https://cardano-mainnet.blockfrost.io/api/v0
Authentication
API Key
License
Terms of Service
Resource Areas
1

Authentication & Security 1

Cardano Metrics API declares 1 security scheme for authenticating requests. An API key is passed in the header as project_id (project_id). By default, every request must be authenticated.

  • project_id — There are multiple token types available based on network you choose when creating a Blockfrost a project, for a list of token types see available networks.

Paths & Operations 2

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

Metrics 2
GET
/metrics
Blockfrost usage metrics
→ 200400403404418429500
GET
/metrics/endpoints
Blockfrost endpoint usage metrics
→ 200400403404418429500

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. Each schema is shown below with its type and property counts.

metrics_endpoints
array
metrics
array

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

cardano-metrics-api-openapi.yml Raw ↑

Other APIs Cardano publishes across the network.

Blockfrost IPFS API
Cardano Cardano » Accounts API
Cardano Cardano » Addresses API
Cardano Cardano » Assets API
Cardano Cardano » Blocks API
Cardano Cardano » Epochs API
Cardano Cardano » Governance API
Cardano Cardano » Ledger API
Cardano Cardano » Mempool API
Cardano Cardano » Metadata API
Cardano Cardano » Network API
Cardano Cardano » Pools API