ChainTraced Traceback API

Traceback API. Follows the environmental data (PCF) of a Transaction back to the environmental data it was linked from.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

GET /v2/trace/pcf Trace back the PCF of a Transaction #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/chaintraced:chaintraced-traceback-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

chaintraced-traceback-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'This is the second version of the OpenAPI for ChainTraced.


    **Terminology**: the documents that suppliers and customers exchange are called **Transactions** in the ChainTraced app. What this API calls a *Certificate* is a Transaction: type `LOT_APPROVAL` is a **Lot Transaction** and type `PART_APPROVAL` (a *Part Approval*) is a **Product Transaction**. Endpoint paths, event types, HTTP headers and payload field names keep their existing names for backwards compatibility.


    **Direction**: the endpoints are split by the direction of the Transaction as seen from your company. An **Inbound** Transaction is one that you, as the customer, *request* from a supplier. An **Outbound** Transaction is one that you, as the supplier, *submit* to a customer. The `counterparty` in a payload is therefore the supplier for inbound and the customer for outbound Transactions.


    v2 of the OpenAPI will continuously be updated with new features and improvements without breaking backwards compatibility. For example, new endpoints and fields on request/response payloads might be added as we add new functionality to our platform.


    **Information about Rate-limiting**: If you make too many requests in a short amount of time you will hit our Rate-limiter. When this happens, you receive an HTTP response with status code `429` and the following headers.

    * `Retry-After`: The amount of time in seconds you need to wait before attempting another request. This is a standard HTTP header, see RFC-9110. Example: `1`

    * `X-Rate-Limit-Limit`: The amount of requests you can make per `X-Rate-Limit-Duration`. Example: `4.00`

    * `X-Rate-Limit-Duration`: The size of the window in which `X-Rate-Limit-Limit` applies. Example: `1s`


    As a rule of thumb, try not to send more than `4` requests per second per API key if you are planning to do a lot of consecutive calls.'
  title: ChainTraced Traceback API
  contact:
    name: API Support
    url: https://www.chaintraced.com/
    email: support@chaintraced.com
  version: '2.0'
servers:
- url: https://api-demo.chaintraced.com
tags:
- description: Traceback API. Follows the environmental data (PCF) of a Transaction back to the environmental data it was linked from.
  name: Traceback
paths:
  /v2/trace/pcf:
    get:
      security:
      - ApiKeyAuth: []
      description: Returns the environmental data (PCF) linked to the given Transaction together with the environmental data it was linked from, as a list of traceback nodes.
      tags:
      - Traceback
      summary: Trace back the PCF of a Transaction
      parameters:
      - description: The ID of the Transaction (Certificate) whose PCF is traced back
        name: pcfId
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/traceback.TracebackEnvironmentalDataNode'
        '400':
          description: Bad Request
        '404':
          description: Not Found
        '500':
          description: Internal Server Error
      operationId: getV2TracePcf
      x-operation-id-source: derived
components:
  schemas:
    traceback.TracebackParentReportNode:
      type: object
      properties:
        reportId:
          type: string
        reportVersionId:
          type: string
    traceback.TracebackEnvironmentalDataNode:
      type: object
      properties:
        depth:
          type: integer
        fromPcfInfo:
          $ref: '#/components/schemas/traceback.FromPCFInfo'
        link:
          $ref: '#/components/schemas/traceback.TracebackDataLinkNode'
        ownContribution:
          description: 'OwnContribution is the value this node itself adds, expressed toward the root.

            Link.RootEffectiveEmissions, by contrast, carries the node''s whole subtree toward the root.'
          type: number
        primaryDataShare:
          type: number
        reportId:
          type: string
        reportVersionId:
          type: string
        supplierDataAccess:
          type: boolean
        totalEmissions:
          type: number
    traceback.FromPCFInfo:
      type: object
      properties:
        customerName:
          type: string
        customerNumber:
          type: string
        customerProduct:
          type: string
        pcfId:
          type: string
        pcfNumber:
          type: string
        supplierCountryCode:
          type: string
        supplierCountryName:
          type: string
        supplierName:
          type: string
        supplierNumber:
          type: string
        supplierProduct:
          type: string
    traceback.TracebackDataLinkNode:
      type: object
      properties:
        effectiveEmissions:
          type: number
        linkId:
          type: string
        parentLinkId:
          type: string
        parentReport:
          $ref: '#/components/schemas/traceback.TracebackParentReportNode'
        rootEffectiveEmissions:
          type: number
        rootUtilizationFactor:
          type: number
        rootWeightFactor:
          type: number
        utilizationFactor:
          type: number
        weightFactor:
          type: number
  securitySchemes:
    ApiKeyAuth:
      description: 'Add the following to your request header: `Authorization: API-KEY <key>`, where the key is the API key generated in the ChainTraced admin panel'
      type: apiKey
      name: Authorization
      in: header