Channel Recommender
Receive recommendations on which channels to open to enhance both your node's performance and the overall network.
Overview
Amboss provides a Channel Recommender API that offers recommendations for channel openings based on a specific pubkey. These recommendations suggest specific channel sizes to open with particular public keys, using either an altruistic or optimized mode.
The altruistic mode is available for all accounts, while the optimized mode is exclusive to accounts with an Operator tier subscription.
Both modes are only available for nodes linked to your Amboss account. Connect your node to your account here (opens in a new tab).
API Access
The Channel Recommender is accessible via the Amboss Space (opens in a new tab) UI and programmatically through the API.
Learn how to connect and authenticate with our API here.
GraphQL Query
Check the query in Apollo Studio (opens in a new tab).
query GetRecommendedChannels($input: RecommendedChannelsInput!) {
getRecommendedChannels(input: $input) {
id
list {
id
pubkey
capacity
node {
graph_info {
node {
alias
}
}
}
}
}
}
Query Input
{
"input": {
"mode": "ALTRUISTIC",
"capacity": "100000000",
"pubkey": "02f1a8c87607f415c8f22c00593002775941dea48869ce23096af27b0cfdcc0b69"
}
}