# apiacre.com Typed Data Hash

> apiacre.com Typed Data Hash is a paid API for AI agents from apiacre.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Validates EIP-712 typed structured data and computes its signing digest (hash).

## Facts

- Endpoint: POST https://apiacre.com/v1/crypto/typed-data-hash
- 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/apiacre-com-typed-data-hash-f4cf9609
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KWNQIiJfHmX9aYrrhOzwE

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 apiacre-com-typed-data-hash-f4cf9609 -d '<json body>'
```

Example prompt: Can you validate this EIP-712 typed data structure and give me the signing digest I need to sign it? Here's the domain, types, and message values.

## When to prefer this

Choose this endpoint when you need to programmatically validate EIP-712 typed structured data and obtain its signing digest before presenting it to a wallet or signer. Useful in agent workflows that construct permit, delegation, or order messages and need to verify correctness and compute the hash without executing an on-chain transaction.

## Known failure modes

- Malformed or missing domain separator fields cause validation error
- Incorrect or mismatched type definitions return a schema error
- Missing primaryType or undefined types result in rejection
- Message values that don't match declared types return type mismatch errors
- Invalid or unsupported Solidity types in the type definitions cause parsing failure

## How this service works

Validate EIP-712 typed structured data and derive its domain separator, message hash, and signing digest.

## Output

Returns a validation status indicating whether the typed data conforms to EIP-712 structure, along with the computed signing digest (hash) if valid, or descriptive error details if validation fails.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "typed_data": {
   "type": "object",
   "title": "Typed Data",
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "valid": true,
   "messageHash": "0xd6a9eadbfb49313d8b83d02d2bb22b916a5b16e6006946c9ca6fa7959d934b3a",
   "primaryType": "Message",
   "signingHash": "0x7433e410d5f2857cb42d0bfd31bc71e8aa553f02ce0eed397927f01dfb46424c",
   "domainSeparator": "0xc167959bdf834486717879a8cd6eb3e12a864d1b1d7dbcecec40455e1b4bc8c8"
  },
  "meta": {
   "cached": false,
   "sources": [],
   "warnings": [],
   "duration_ms": 42,
   "next_actions": []
  },
  "service": "crypto.typed-data-hash",
  "version": "1",
  "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/apiacre-com-typed-data-hash-f4cf9609/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apiacre.com](https://www.zero.xyz/host/apiacre.com/llms.txt)
