# GetContractCreation

> GetContractCreation is a paid API for AI agents from stablecrypto.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns the creator address and deployment transaction hash for one or more smart contracts on an EVM chain

## Facts

- Endpoint: POST https://stablecrypto.dev/api/etherscan/contract/getcontractcreation
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/getcontractcreation-1fc2a7e1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_X_B9xIXiKHhn_OmF0bQCy

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 getcontractcreation-1fc2a7e1 -d '<json body>'
```

Example prompt: Who deployed the contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum mainnet (chain ID 1)? I need the creator's wallet address and the deployment transaction hash.

## When to prefer this

Use this endpoint when you need to identify who originally deployed a smart contract and when, specifically needing the creator wallet address and deployment transaction hash on any EVM-compatible chain supported by Etherscan. Prefer this over general blockchain RPC calls when you want a clean, structured response without parsing raw transaction receipts.

## Known failure modes

- Invalid or non-existent contract address returns empty or error result
- Chain ID not supported by Etherscan returns an error
- More than 5 contract addresses submitted exceeds the limit
- Contract address is an EOA (externally owned account), not a contract
- Network timeout or Etherscan API rate limit causes failure
- Malformed comma-separated address list causes parse error

## How this service works

Pay-per-request access to CoinGecko, DefiLlama, Alchemy, and Etherscan APIs. No auth, no subscriptions.

## Output

Returns the deployer/creator wallet address and the transaction hash of the contract creation transaction for each queried contract address, sourced via Etherscan on the specified EVM chain.

## Example request

```json
{
 "chainid": 1,
 "contractaddresses": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chainid": {
   "type": "number",
   "description": "EVM chain ID (1=Ethereum, 137=Polygon, 8453=Base, etc.)"
  },
  "contractaddresses": {
   "type": "string",
   "description": "Comma-separated contract addresses (max 5)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/getcontractcreation-1fc2a7e1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stablecrypto.dev](https://www.zero.xyz/host/stablecrypto.dev/llms.txt)
