New Relic · JSON Structure

New Relic Trace Zipkin Trace Payload Structure

Zipkin JSON v2 format trace payload

Type: array Properties: 0
AnalysisAnalyticsAPMDevOpsInfrastructureMonitoringObservabilityPerformancePlatform

ZipkinTracePayload is a JSON Structure definition published by New Relic. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "array",
  "description": "Zipkin JSON v2 format trace payload",
  "name": "ZipkinTracePayload",
  "items": {
    "type": "object",
    "description": "A single span in Zipkin JSON v2 format",
    "properties": {
      "id": {
        "type": "string",
        "description": "Span ID (16 hex characters)"
      },
      "traceId": {
        "type": "string",
        "description": "Trace ID (32 hex characters)"
      },
      "parentId": {
        "type": "string",
        "description": "Parent span ID"
      },
      "name": {
        "type": "string",
        "description": "Span name / operation name"
      },
      "timestamp": {
        "type": "integer",
        "description": "Span start time in microseconds since epoch"
      },
      "duration": {
        "type": "integer",
        "description": "Span duration in microseconds"
      },
      "kind": {
        "type": "string",
        "enum": [
          "CLIENT",
          "SERVER",
          "PRODUCER",
          "CONSUMER"
        ]
      },
      "localEndpoint": {
        "type": "object",
        "properties": {
          "serviceName": {
            "type": "string"
          },
          "ipv4": {
            "type": "string"
          },
          "port": {
            "type": "integer"
          }
        }
      },
      "remoteEndpoint": {
        "type": "object",
        "properties": {
          "serviceName": {
            "type": "string"
          },
          "ipv4": {
            "type": "string"
          },
          "port": {
            "type": "integer"
          }
        }
      },
      "tags": {
        "type": "object"
      },
      "annotations": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "timestamp": {
              "type": "integer"
            },
            "value": {
              "type": "string"
            }
          }
        }
      }
    },
    "required": [
      "id",
      "traceId"
    ]
  },
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 JSON Structure
curl "https://apis.io/api/v1/json-structures/new-relic-trace-zipkin-trace-payload-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

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

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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