---
title: "UTF-8 text SHA-256 digest"
method: POST
path: "/api/agent-commerce/v1/services/text_sha256_digest/execute"
tags: ["data_tools"]
---

# UTF-8 text SHA-256 digest

`POST /api/agent-commerce/v1/services/text_sha256_digest/execute`

## Request

- Base URL: `https://www.tradepilotusa.com` (the document declares no server; this is the origin it was published from)
- URL: `https://www.tradepilotusa.com/api/agent-commerce/v1/services/text_sha256_digest/execute`
- Auth: none declared

Calculate a SHA-256 digest and UTF-8 byte length of supplied text without normalization. Useful for comparing exact text artifacts. Does not prove authorship, authenticity or safe content; do not submit passwords or secrets.

## Request body

- object
  - `text` string, required

## Response `200`

Successful response

- object
  - `result` object, required
    - `digest` string, required
    - `encoding` 'UTF-8', required
    - `algorithm` 'SHA-256', required
    - `byte_length` integer, required
    - `normalization` string, required
  - `utility` 'text_sha256_digest', required
  - `provenance` object, required
    - `execution` 'deterministic_local', required
    - `model_used` unknown, required
    - `network_request_performed` unknown, required
  - `request_id` string, required

## Other responses

- `402`: Payment Required

---

[API](https://skmtc.dev/tradepilotusa/apis/tradepilotusa-agent-commerce.md) · [All operations](https://skmtc.dev/tradepilotusa/apis/tradepilotusa-agent-commerce/llms.txt) · [OpenAPI document](https://skmtc.dev/tradepilotusa/apis/tradepilotusa-agent-commerce/revisions/1060778e0a57?raw)
