# Relysia Blockchain API API

> Relysia Blockchain API API on Apizie: 81 endpoints (GET /, Mint a Token., Get STAS token details., Resolve address and paymail alias information., …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/open-data:relysia/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `open-data:relysia`
- Category: Open Data
- Status: byok
- Source: https://relysia.com
- Page: https://apizie.tech/api/open-data/relysia
- OpenAPI: https://apizie.tech/api/open-data/relysia/openapi.json

Relysia makes blockchain adoption frictionless and easy.

## Endpoints

### GET /
`GET https://apizie.tech/v1/open-data:relysia/utility-get-data` (byok)

### Mint a Token.
`POST https://apizie.tech/v1/open-data:relysia/smart-contracts-mint-token` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| protocol | string | no |  |
| reminting | boolean | no |  |
| walletID | string | no |  |
| body | object | yes | JSON request body |

### Get STAS token details.
`GET https://apizie.tech/v1/open-data:relysia/smart-contracts-get-token-details` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes |  |

### Resolve address and paymail alias information.
`GET https://apizie.tech/v1/open-data:relysia/utility-resolve-address-info` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| uri | string | yes |  |

### User Registration.
`POST https://apizie.tech/v1/open-data:relysia/authentication-create-user-token` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Login Endpoint.
`POST https://apizie.tech/v1/open-data:relysia/authentication-user-login` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Change password Endpoint
`POST https://apizie.tech/v1/open-data:relysia/authentication-change-user-password` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Profile details.
`GET https://apizie.tech/v1/open-data:relysia/identity-get-profile-details` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| oauth | string | no |  |

### delete user account
`POST https://apizie.tech/v1/open-data:relysia/delete-user-account` (byok)

### Transfer coins to an address.
`POST https://apizie.tech/v1/open-data:relysia/transactions-create-transaction-to-address` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| walletID | string | no |  |
| body | object | yes | JSON request body |

### Build and return a rawTx
`POST https://apizie.tech/v1/open-data:relysia/transactions-create-raw-tx` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| walletID | string | no |  |
| body | object | yes | JSON request body |

### sync token from blockchain
`GET https://apizie.tech/v1/open-data:relysia/utility-sync-token-from-blockchain` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| walletID | string | no |  |
| force | boolean | no |  |

### Withdraws coins from PrivateKeys.
`POST https://apizie.tech/v1/open-data:relysia/transactions-withdraw-from-private-key` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| secretKey | string | no |  |
| privateKey | string | no |  |
| body | object | yes | JSON request body |

### Transfers all assets from PrivateKey to the User.
`POST https://apizie.tech/v1/open-data:relysia/transactions-transfer-assets-from-private-key` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| walletID | string | no |  |
| body | object | yes | JSON request body |

### Create an Atomic Swap
`POST https://apizie.tech/v1/open-data:relysia/transactions-create-atomic-swap` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| walletID | string | no |  |
| body | object | yes | JSON request body |

### Accepting atomic swap offers.
`POST https://apizie.tech/v1/open-data:relysia/transactions-accept-swap-offer` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| walletID | string | no |  |
| body | object | yes | JSON request body |

### Creates swap offer for exchange - returns swap ID
`POST https://apizie.tech/v1/open-data:relysia/transactions-create-swap-offer` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| walletID | string | no |  |
| body | object | yes | JSON request body |

### Atomic Swap
`POST https://apizie.tech/v1/open-data:relysia/transactions-accept-swap-offer-2` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| walletID | string | no |  |
| body | object | yes | JSON request body |

### Inspect an atomic swap offer.
`POST https://apizie.tech/v1/open-data:relysia/transactions-inspect-atomic-swap-offer` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Smart contract Redemption.
`POST https://apizie.tech/v1/open-data:relysia/smart-contracts-redeem-tokens` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| walletID | string | no |  |
| body | object | yes | JSON request body |

### Create a wallet.
`GET https://apizie.tech/v1/open-data:relysia/wallets-create-hdwallet-of-choice` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| walletTitle | string | yes |  |
| mnemonicPhrase | string | no |  |
| paymail | string | no |  |
| paymailActivate | boolean | no |  |
| type | string | no |  |
| walletLogo | string | no |  |

### Get the latest wallet UTXO state.
`GET https://apizie.tech/v1/open-data:relysia/utility-get-latest-utxo-state` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| walletID | string | no |  |

### Get your wallet address and paymail.
`GET https://apizie.tech/v1/open-data:relysia/wallets-get-address-and-paymail` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| walletID | string | no |  |

### Get all wallet addresses.
`GET https://apizie.tech/v1/open-data:relysia/wallets-get-all-addresses` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| walletID | string | no |  |

### Get token ownership details
`GET https://apizie.tech/v1/open-data:relysia/wallets-get-token-ownership-details` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nextPageToken | number | no |  |
| tokenId | string | yes |  |

### List of available user wallets.
`GET https://apizie.tech/v1/open-data:relysia/wallets-list-available-user-wallets` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| oauth | string | no |  |

### to delete all wallet, this api will delete all wallets at once
`POST https://apizie.tech/v1/open-data:relysia/delete-all-wallets` (byok)

### Get your mnemonic phrase.
`GET https://apizie.tech/v1/open-data:relysia/wallets-get-mnemonic-phrase` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| walletID | string | no |  |

### Pay an invoice request.
`POST https://apizie.tech/v1/open-data:relysia/transactions-resolve-invoice-request` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| walletID | string | no |  |
| body | object | yes | JSON request body |

### Setup your Fee Manager.
`GET https://apizie.tech/v1/open-data:relysia/admin-setup-fee-manager` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| mnemonic | string | no |  |

### Get all feeManager UTXOs.
`GET https://apizie.tech/v1/open-data:relysia/admin-get-utxo-set` (byok)

### Get all Fee Manager addresses.
`GET https://apizie.tech/v1/open-data:relysia/admin-get-fee-manager-addresses` (byok)

### Get current state of fee manager UTXOs
`GET https://apizie.tech/v1/open-data:relysia/admin-get-fee-utxo-state` (byok)

### Converts BSV satoshis to fiat currency.
`GET https://apizie.tech/v1/open-data:relysia/utility-convert-satoshi-to-fiat` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| satoshis | string | yes |  |
| currency | string | yes |  |

### Update notification token.
`POST https://apizie.tech/v1/open-data:relysia/notifications-update-token` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| userId | string | yes |  |
| walletID | string | no |  |
| body | object | yes | JSON request body |

### Remove a notification token.
`POST https://apizie.tech/v1/open-data:relysia/delete-notification-token` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| userId | string | yes |  |
| walletID | string | no |  |

### Send a Notification
`POST https://apizie.tech/v1/open-data:relysia/notifications-send-notification` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| walletID | string | no |  |
| body | object | yes | JSON request body |

### Create an invoice.
`POST https://apizie.tech/v1/open-data:relysia/transactions-create-invoice-request` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | no | JSON request body |

### Create an Invoice
`GET https://apizie.tech/v1/open-data:relysia/transactions-create-invoice-request-2` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| invoiceId | string | yes |  |

### Settle an invoice request.
`POST https://apizie.tech/v1/open-data:relysia/transactions-settle-invoice-request` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| invoiceId | string | yes |  |
| body | object | yes | JSON request body |

### Generates a domain verification token
`POST https://apizie.tech/v1/open-data:relysia/admin-verify-domain-ownership` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| userID | string | no |  |
| body | object | yes | JSON request body |

### verify domain ownership
`POST https://apizie.tech/v1/open-data:relysia/admin-verify-domain-ownership-2` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| userId | string | yes |  |
| body | object | yes | JSON request body |

### GET /v1/paymail/{paymailId}
`GET https://apizie.tech/v1/open-data:relysia/paymail-get-address-info` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| paymailId | string | yes |  |

### PUT /v1/paymail
`POST https://apizie.tech/v1/open-data:relysia/paymail-update-address-info` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| walletID | string | no |  |
| body | object | yes | JSON request body |

### to delete a wallet, this api will delete your wallet and related data of that walletId
`POST https://apizie.tech/v1/open-data:relysia/delete-wallet-data` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| walletID | string | no |  |

### to activate and deActivate paymail
`POST https://apizie.tech/v1/open-data:relysia/paymail-activate-deactivate` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| walletID | string | no |  |
| body | object | yes | JSON request body |

### Password Reset.
`POST https://apizie.tech/v1/open-data:relysia/authentication-reset-user-password-confirmation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### transpile solidity code to sCrypt.
`POST https://apizie.tech/v1/open-data:relysia/utility-transpile-solidity-code-to-scrypt` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| force | boolean | no |  |
| body | object | yes | JSON request body |

### compile sCrypt code to Bitcoin Script.
`POST https://apizie.tech/v1/open-data:relysia/utility-compile-scrypt-to-bitcoin-script` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Post Messages to the Blockchain.
`POST https://apizie.tech/v1/open-data:relysia/utility-post-messages-to-blockchain` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| custom-token | string | no |  |
| walletID | string | no |  |
| body | object | yes | JSON request body |

### Returns balance of all assets of Private Key
`POST https://apizie.tech/v1/open-data:relysia/utility-get-asset-balance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nextPageToken | string | no |  |
| tokenId | string | no |  |
| type | string | no |  |
| currency | string | no |  |
| compact | boolean | no |  |
| maxResults | number | no |  |
| body | object | no | JSON request body |

### Upload custom ASM scripts in a transaction
`POST https://apizie.tech/v1/open-data:relysia/transactions-upload-custom-asm-scripts` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| walletID | string | no |  |
| body | object | yes | JSON request body |

### Sign a message to an address string
`POST https://apizie.tech/v1/open-data:relysia/utility-sign-message-to-address` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| walletID | string | no |  |
| body | object | yes | JSON request body |

### Get your wallet balance.
`GET https://apizie.tech/v1/open-data:relysia/wallets-get-balances` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nextPageToken | string | no |  |
| tokenId | string | no |  |
| symbol | string | no |  |
| walletID | string | no |  |
| type | string | no |  |
| currency | string | no |  |
| compact | boolean | no |  |
| maxResults | number | no |  |

### Get your transaction history.
`GET https://apizie.tech/v1/open-data:relysia/wallets-get-transaction-history` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| nextPageToken | string | no |  |
| tokenId | string | no |  |
| protocol | string | no |  |
| limit | string | no |  |
| walletID | string | no |  |
| type | string | no |  |

### Get STAS token details.
`GET https://apizie.tech/v1/open-data:relysia/smart-contracts-get-token-details-2` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes |  |

### Inspect an atomic swap offer.
`POST https://apizie.tech/v1/open-data:relysia/transactions-inspect-atomic-swap-offer-2` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Mint a Token.
`POST https://apizie.tech/v1/open-data:relysia/smart-contracts-mint-token-2` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| protocol | string | no |  |
| reminting | boolean | no |  |
| walletID | string | no |  |
| type | string | yes |  |
| body | object | yes | JSON request body |

### Transfer coins to an address.
`POST https://apizie.tech/v1/open-data:relysia/transactions-transfer-to-address` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| walletID | string | no |  |
| body | object | yes | JSON request body |

### POST /v1/plan/{serviceType}/activate
`POST https://apizie.tech/v1/open-data:relysia/quota-activate-service-type` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| serviceType | string | yes |  |
| body | object | yes | JSON request body |

### PUT /v1/plan/quota
`POST https://apizie.tech/v1/open-data:relysia/quota-update-plan-quota` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### PUT /v1/plan/deactivate
`POST https://apizie.tech/v1/open-data:relysia/quota-deactivate-plan` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### POST /admin/v1/setup
`POST https://apizie.tech/v1/open-data:relysia/admin-setup-post` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | no | JSON request body |

### GET /admin/v1/setup/{serviceId}
`GET https://apizie.tech/v1/open-data:relysia/admin-get-service-setup` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| serviceId | string | yes |  |

### PUT /admin/v1/setup/{serviceId}
`POST https://apizie.tech/v1/open-data:relysia/admin-update-service-setup` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| serviceId | string | yes |  |
| body | object | no | JSON request body |

### DELETE /admin/v1/setup/{serviceId}
`POST https://apizie.tech/v1/open-data:relysia/admin-delete-service-setup` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| serviceId | string | yes |  |

### GET /admin/v1/setup/serviceIds
`GET https://apizie.tech/v1/open-data:relysia/admin-get-service-ids` (byok)

### POST /admin/v1/metrics
`POST https://apizie.tech/v1/open-data:relysia/admin-create-metrics-record` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### POST /admin/v1/tokenMetrics
`POST https://apizie.tech/v1/open-data:relysia/admin-calculate-token-metrics` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### POST /admin/v1/plans
`POST https://apizie.tech/v1/open-data:relysia/admin-create-plan` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### GET /admin/v1/plans/{serviceType}
`GET https://apizie.tech/v1/open-data:relysia/admin-get-service-type-plans` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| serviceType | string | yes |  |

### PUT /admin/v1/plans/{serviceType}
`POST https://apizie.tech/v1/open-data:relysia/admin-update-plan-service-type` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| serviceType | string | yes |  |
| body | object | no | JSON request body |

### DELETE /admin/v1/plans/{serviceType}
`POST https://apizie.tech/v1/open-data:relysia/admin-delete-plan-by-service-type` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| serviceType | string | yes |  |

### Get list of available plans and their details also
`GET https://apizie.tech/v1/open-data:relysia/admin-list-plans` (byok)

### Blockchain File Upload.
`POST https://apizie.tech/v1/open-data:relysia/utility-broadcast-file-to-blockchain` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| walletID | string | no |  |
| body | object | yes | JSON request body |

### GET /v1/bsvalias/id/{paymail}
`GET https://apizie.tech/v1/open-data:relysia/paymail-get-profile-details` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| paymail | string | yes |  |

### POST /v1/bsvalias/address/{paymail}
`POST https://apizie.tech/v1/open-data:relysia/paymail-resolve-address-info` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| paymail | string | yes |  |
| body | object | yes | JSON request body |

### POST /v1/bsvalias/verifypubkey/{paymail}/{pubkey}
`POST https://apizie.tech/v1/open-data:relysia/paymail-verify-pubkey` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| paymail | string | yes |  |
| pubkey | string | yes |  |

### POST /v1/bsvalias/receive-transaction/{paymail}
`POST https://apizie.tech/v1/open-data:relysia/paymail-receive-transaction` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| paymail | string | yes |  |
| body | object | yes | JSON request body |

### POST /v1/bsvalias/p2p-payment-destination/{paymail}
`POST https://apizie.tech/v1/open-data:relysia/paymail-create-p2p-payment-destination` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| paymail | string | yes |  |
| body | object | yes | JSON request body |

### GET /.well-known/bsvalias
`GET https://apizie.tech/v1/open-data:relysia/paymail-get-bsv-alias` (byok)

## Example
```
curl "https://apizie.tech/v1/open-data:relysia/utility-get-data" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Relysia Blockchain API API?
Create a free Apizie key, then send GET https://apizie.tech/v1/open-data:relysia/utility-get-data with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Relysia Blockchain API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Relysia Blockchain API itself also needs your own key from api.relysia.com.

### Can AI agents use the Relysia Blockchain API API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key open-data:relysia.

### What is the status of the Relysia Blockchain API API?
Needs your own provider key (bring your own key)
