---
updatedAt: 2025-06-11T20:39:41.000Z
agentTools:
  projectIndex: https://docs.allthatnode.com/llms.txt
---

# _getDelegationInfoByValidatorAndDelegator

Queries delegation info for given validator delegator pair.

# Parameters

### Path

* `validator_addr`: `STRING` - The validator address to query for.
* `delegator_addr`: `STRING` - The delegator address to query for.

```curl Example
curl "https://cosmos-mainnet-archive.allthatnode.com:1317/cosmos/staking/v1beta1/validators/cosmosvaloper13x4pynlp86prhcmtns742kgsgu7pjtzj4djh7s/delegations/cosmos1s5dtu5pywamqc9kuxu37u9p0xrj4psmjm0a7w6" \
-H 'x-allthatnode-api-key: 8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj'
```

# Returns

* `OBJECT` - Validators information.

```json Example
{
  "delegation_response": {
    "delegation": {
      "delegator_address": "cosmos1s5dtu5pywamqc9kuxu37u9p0xrj4psmjm0a7w6",
      "validator_address": "cosmosvaloper13x4pynlp86prhcmtns742kgsgu7pjtzj4djh7s",
      "shares": "1414821094.000000000000000000"
    },
    "balance": {
      "denom": "uatom",
      "amount": "1414821094"
    }
  }
}
```

***

# Try Yourself

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "cosmos-hub-lcd-rest",
    "version": "0.5.0"
  },
  "servers": [
    {
      "url": "https://cosmos-mainnet-archive.allthatnode.com:1317"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}": {
      "get": {
        "summary": "_getDelegationInfoByValidatorAndDelegator",
        "description": "Queries delegation info for given validator delegator pair.",
        "operationId": "cosmosstakingv1beta1validatorsvalidator_addrdelegationsdelegator_addr",
        "parameters": [
          {
            "name": "x-allthatnode-api-key",
            "in": "header",
            "description": "All That Node API key",
            "required": true,
            "schema": {
              "type": "string",
              "default": "8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj"
            }
          },
          {
            "name": "validator_addr",
            "in": "path",
            "schema": {
              "type": "string",
              "default": "cosmosvaloper13x4pynlp86prhcmtns742kgsgu7pjtzj4djh7s"
            },
            "required": true
          },
          {
            "name": "delegator_addr",
            "in": "path",
            "schema": {
              "type": "string",
              "default": "cosmos1s5dtu5pywamqc9kuxu37u9p0xrj4psmjm0a7w6"
            },
            "required": true
          }
        ],
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```