Zipkin · Example Payload

Zipkin Api V2 Report Spans Example

Example request for submitting distributed trace spans to Zipkin

Distributed TracingObservabilityOpen-SourceMicroservices

Zipkin Api V2 Report Spans Example is an example object payload from Zipkin, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

titledescriptionrequestresponse

Example Payload

Raw ↑
{
  "title": "Report Spans Example",
  "description": "Example request for submitting distributed trace spans to Zipkin",
  "request": {
    "method": "POST",
    "path": "/api/v2/spans",
    "headers": {
      "Content-Type": "application/json"
    },
    "body": [
      {
        "traceId": "4bf92f3577b34da6a3ce929d0e0e4736",
        "parentId": "00f067aa0ba902b7",
        "id": "a2fb4a1d1a96d312",
        "kind": "SERVER",
        "name": "get-user",
        "timestamp": 1609459200000000,
        "duration": 72000,
        "localEndpoint": {
          "serviceName": "backend-api",
          "ipv4": "192.168.1.10",
          "port": 8080
        },
        "remoteEndpoint": {
          "serviceName": "frontend",
          "ipv4": "192.168.1.5"
        },
        "tags": {
          "http.method": "GET",
          "http.path": "/users/123",
          "http.status_code": "200"
        }
      }
    ]
  },
  "response": {
    "status": 202,
    "body": null
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/zipkin-api-v2-report-spans-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.