# Derive Ethereum Address from Public Key

> Derive Ethereum Address from Public Key is a paid API for AI agents from twin.unykorn.org, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-01).

Converts a secp256k1 public key (hex) into its corresponding Ethereum address via the UnyKorn/Genesis402 operator network.

## Facts

- Endpoint: POST https://twin.unykorn.org/eth-address-from-pubkey?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/derive-ethereum-address-from-public-key-85d3a666
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6nnbHt7XsSF1LvAXhlPMt

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 derive-ethereum-address-from-public-key-85d3a666 -d '<json body>'
```

Example prompt: What Ethereum address does this public key correspond to: 0x04bfcab3b7ca7e8b3f3b62b2b7c9e4e5f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7?

## When to prefer this

Choose this endpoint when you need a trustless, pay-per-call derivation of an Ethereum address from a raw public key without running local cryptographic libraries. Especially useful in agent workflows that lack native secp256k1/keccak256 support, or when auditability via on-chain receipts is required.

## Known failure modes

- Invalid or malformed public key (not 0x-prefixed or wrong length) returns an error
- Payment failure via x402 protocol results in 402 response before computation
- Network or operator node unavailability returns a service error
- Public key that doesn't lie on secp256k1 curve may return a cryptographic error

## How this service works

Derive an Ethereum address from a public key — Genesis402 / UnyKorn Operator Network

## Output

Returns a JSON object with ok:true, the derived Ethereum address or relevant output, a receipt object containing a transaction hash, USD amount paid, and a unique receipt ID, plus a generated_at ISO8601 timestamp confirming when the derivation was performed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "params": {
   "type": "object",
   "properties": {
    "pubkey": {
     "type": "string",
     "pattern": "^0x[0-9a-fA-F]*$"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "type": "eth-address-from-pubkey",
  "receipt": {
   "tx_hash": "0x<64hex>",
   "amount_usd": 0.002,
   "receipt_id": "g402-<16hex>"
  },
  "generated_at": "<iso8601>"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/derive-ethereum-address-from-public-key-85d3a666/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twin.unykorn.org](https://www.zero.xyz/host/twin.unykorn.org/llms.txt)
