API documentation


The Ychain API is public - no registration is necessary. Abuse will result in IP bans. If you expect to require usage in excess of ten calls / second, please contact us.

This API should be considered to be in beta. Backwards-incompatible changes will be avoided when possible. Click the name of an endpoint to show further information.

If you previously used the v1 endpoints, please switch to the v2 ones. v1 API calls will be handled for the near future, but continued support is not guaranteed.

Click the name of an endpoint to show details.

Attribution is appreciated but not required.
/v2/mainnet/network
Retrieve Network Information
/v2/mainnet/blocks
Retrieve multiple blocks
/v2/mainnet/blocks/{hash}
Retrieve single block
/v2/mainnet/blocks/{hash}/transactions
Retrieve transactions for single block
/v2/mainnet/transactions
Retrieve multiple transactions
/v2/mainnet/transactions/{hash}
Retrieve single transaction
/v2/mainnet/accounts
Retrieve multiple accounts
/v2/mainnet/accounts/{address}
Retrieve single account
/v2/mainnet/accounts/{address}/recv
Retrieve transactions received by an account
/v2/mainnet/accounts/{address}/sent
Retrieve transactions sent by an account