# TzKT API - Contract Entrypoints

> TzKT API - Contract Entrypoints is a paid API for AI agents from x402.tzkt.io, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Retrieves the list of entrypoints (callable methods) for a specific Tezos smart contract by its address

## Facts

- Endpoint: POST https://x402.tzkt.io/v1/contracts/%7Baddress%7D/entrypoints
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tzkt-api-contract-entrypoints-20db6c9a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tsJUBp1WBhERqBmYYzTlZ

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 tzkt-api-contract-entrypoints-20db6c9a -d '<json body>'
```

Example prompt: What are all the entrypoints I can call on the Tezos smart contract at address KT1RJ6PbjHpwc3M5rw5s2Nbmefwbuwbdxton? Show me the parameter types for each one.

## When to prefer this

Use this endpoint when you need to programmatically discover or display the callable interface of a Tezos smart contract, especially before constructing or validating an operation. Prefer this over general blockchain explorers when you need structured, machine-readable entrypoint data with Michelson type information for a Tezos contract.

## Known failure modes

- Invalid or malformed contract address returns 400 Bad Request
- Contract address not found on Tezos mainnet returns 404
- Address belongs to an implicit account (not a contract), returning empty or error
- Network timeout or 503 if TzKT indexer is temporarily unavailable
- Payment failure (402) if x402 USDC micropayment is not included or invalid

## How this service works

TzKT is a comprehensive Tezos blockchain indexer API. Access blocks, operations, accounts, contracts, bigmaps, delegates, tokens and network stats through a fast REST API. No signup or API key required.

## Output

A list of entrypoints for the specified Tezos smart contract, each with its name and Michelson parameter schema, allowing callers to understand what operations (e.g. transfer, approve, mint) the contract exposes and how to invoke them.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tzkt-api-contract-entrypoints-20db6c9a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.tzkt.io](https://www.zero.xyz/host/x402.tzkt.io/llms.txt)
