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

Zipkin Spans API

Submit and query span names

Zipkin Spans API is one of 6 APIs that Zipkin publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 8 JSON Schema definitions.

Tagged areas include Spans. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a GitHub repository, and 8 JSON Schemas.

This API exposes 2 operations across 1 path, and defines 3 schemas. It is described by OpenAPI 3.1.0, at version 2.0.0.

Requests are made against a single base URL, http://localhost:9411.

2 operations 1 paths 3 schemas 1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2.0.0
Server
http://localhost:9411
Contact
License
Resource Areas
1

Paths & Operations 2

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

Spans 2

Submit and query span names

GET
/api/v2/spans
Zipkin Get Span Names
getSpanNames 1 param → 200400
POST
/api/v2/spans
Zipkin Report Spans
reportSpans body → 202400

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are Span (13 properties), Endpoint (4 properties), Annotation (2 properties). Each schema is shown below with its type and property counts.

Span
object
13 properties 2 required
Endpoint
object
The network context of a node in the service graph
4 properties
Annotation
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

zipkin-spans-api-openapi.yml Raw ↑

Other APIs Zipkin publishes across the network.

Zipkin Autocomplete API
Zipkin Dependencies API
Zipkin Health API
Zipkin Services API
Zipkin Traces API