Jump to Content
API Reference
v0.02
Log In
API Reference
Log In
Moon (Dark Mode)
Sun (Light Mode)
v0.02
API Reference
Ping the API
Search
JUMP TO
Valha API
Introduction
Get access to the API
Authentication
Testing
Walkthrough
CONCEPTS
Chain
Protocol
Address
Pool
Wallet
Position
API REFERENCE
Testing
Ping the API
get
Execute a DeFi transaction
post
Execute a raw EVM transaction
post
List the position of an address within a pool
get
Protocols
List all protocols
get
Retrieve a protocol
get
Pools
List all pools
get
Retrieve pools from a protocol
get
Retrieve a pool from an address
get
Retrieve the available actions for a pool
get
Beta - Retrieve history analytics from a pool address
get
Beta - Retrieve history analytics from a pool address at a specificed block
get
Beta - Retrieve history analytics from a pool address at a specificed timestamp
get
Retrieve the specified analytics for a pool
get
Positions
List stablecoins balances of an address
get
List the ERC20 balance of an address
get
List the position of an address within a pool
get
List the staked position of an address within a pool
get
List the lock positions of an address within a pool
get
BETA - List the claimable rewards for an address within a pool
get
BETA - List the gained rewards for an address within a pool
get
List the available actions of an address within a pool
get
BETA - List the debt positions of an address within a pool
get
BETA - List the amount an address is eligible to borrow within a pool
get
Interactions
Create a "deposit" transaction
post
Create a "redeem" transaction
post
Create a "stake" transaction
post
Create a "unstake" transaction
post
Create a "claim_rewards" transaction
post
BETA - Create a "borrow" transaction
post
BETA - Create a "repay" transaction
post
BETA - Create a "zap" transaction
post
Create a "swap" transaction
post
Powered by
Ping the API
get
https://api.valha.xyz/v0/ping
Simple endpoint to make sure the API is up and running.
Language
Shell
Node
Ruby
PHP
Python
Credentials
Bearer
JWT
Bearer
RESPONSE
Click
Try It!
to start a request and see the response here!