# SignalHarness NFT Trait Distribution Analyzer

> SignalHarness NFT Trait Distribution Analyzer is a paid API for AI agents from signalharness.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Analyzes and returns the trait distribution breakdown for a given NFT collection or set of NFTs based on caller-supplied data.

## Facts

- Endpoint: POST https://signalharness.ai/api/agent/services/nft_trait_distribution/invoke
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signalharness-nft-trait-distribution-analyzer-3307f6ef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8pljZsmqowXRhN2Gb3jy5

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability signalharness-nft-trait-distribution-analyzer-3307f6ef -d '<json body>'
```

Example prompt: Can you analyze the trait distribution for this NFT collection data and tell me how frequently each trait and attribute appears across the tokens?

## When to prefer this

Choose this endpoint when you need to compute trait frequency and distribution statistics specifically from caller-supplied NFT metadata or collection data, particularly within an agent-native, micropayment-based (x402) workflow on Base. It is best suited for on-demand, per-call NFT trait analytics without requiring API key management, using USDC micropayments at $0.01 per call.

## Known failure modes

- Invalid or malformed nft_trait_request string causing parsing failure
- Input below minimum length (2 chars) or above maximum (65536 chars) rejected with validation error
- Empty or unrecognizable NFT metadata yields warnings with partial or empty distribution output
- Payment failure via x402 protocol resulting in 402 response and no computation
- Service timeout returning an error status instead of 'succeeded'

## How this service works

Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.

## Output

Returns a JSON object with the trait distribution results (keyed as 'nft_trait_distribution'), any warnings about data quality or scope, evidence scope indicator ('caller_supplied_data'), and a detailed execution receipt including payment ID, network, amount, latency, and a SHA-256 hash of the result for verification. Status field indicates whether the computation succeeded.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "nft_trait_request": {
   "type": "string",
   "maxLength": 65536,
   "minLength": 2
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "replay": false,
  "result": {
   "warnings": [
    "Distribution covers only supplied items and traits."
   ],
   "service_id": "nft_trait_distribution",
   "evidence_scope": "caller_supplied_data",
   "nft_trait_distribution": "{\"item_count\":2,\"traits\":[{\"count\":1,\"share_percent\":\"50\",\"trait_type\":\"Color\",\"value\":\"Blue\"},{\"count\":1,\"share_percent\":\"50\",\"trait_type\":\"Color\",\"value\":\"Red\"}]}"
  },
  "status": "succeeded",
  "receipt": {
   "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
   "usage": [],
   "status": "succeeded",
   "network": "eip155:8453",
   "artifacts": [],
   "endedAtMs": 0,
   "latencyMs": 0,
   "paymentId": "example-payment",
   "receiptId": "example-receipt",
   "requestId": "example-request",
   "serviceId": "nft_trait_distribution",
   "executionId": "example-execution",
   "startedAtMs": 0,
   "amountAtomic": "10000",
   "resultSha256": "260a559472d3f77402c037c7620d7cd3aadaa00031cee406708da3860a0d965f",
   "serviceVersion": "1.0.0",
   "settlementReference": "0x0000000000000000000000000000000000000000000000000000000000000000"
  },
  "artifacts": [],
  "requestId": "example-request",
  "executionId": "example-execution"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signalharness-nft-trait-distribution-analyzer-3307f6ef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from signalharness.ai](https://www.zero.xyz/host/signalharness.ai/llms.txt)
