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

Search and retrieve distributed traces

Zipkin Traces 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 Traces. 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 2 paths, 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 2 paths 3 schemas 2 GET

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 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

Traces 2

Search and retrieve distributed traces

GET
/api/v2/traces
Zipkin Search for Traces
getTraces 8 params → 200400
GET
/api/v2/trace/{traceId}
Zipkin Get a Trace by ID
getTrace 1 param → 200404

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-traces-api-openapi.yml Raw ↑

Other APIs Zipkin publishes across the network.

Zipkin Autocomplete API
Zipkin Dependencies API
Zipkin Health API
Zipkin Services API
Zipkin Spans API