# Portfolio of ENS Names Owned by a Wallet

**Use case:** 

Every ENS name owned by a given Ethereum address, including expired ones: name, owner, wrapped owner, registration and expiry dates, days to expiry, grace-period status and subname flag. For treasuries, DAOs and name investors auditing what a wallet holds. Replace queries with your own treasury address, or set onlyActive to skip expired names.

## Input

```json
{
  "mode": "ownedBy",
  "queries": [
    "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
  ],
  "textRecords": [
    "avatar",
    "url",
    "email",
    "com.twitter",
    "com.github",
    "description"
  ],
  "coinTypes": [],
  "includeRegistration": true,
  "includeContenthash": true,
  "verifyReverse": true,
  "includeEvents": false,
  "eventsLimit": 20,
  "expiresWithinDays": 30,
  "lookupOwnedBy": true,
  "lookupResolvedTo": false,
  "onlyActive": false,
  "maxNamesPerQuery": 50,
  "fields": []
}
```

## Output

```json
{
  "name": {
    "label": "ENS name",
    "format": "string"
  },
  "address": {
    "label": "Address",
    "format": "string"
  },
  "owner": {
    "label": "Owner (ownedBy/search)",
    "format": "string"
  },
  "registeredAt": {
    "label": "Registered at (ownedBy/search)",
    "format": "string"
  },
  "expiresAt": {
    "label": "Expires at (ownedBy/search)",
    "format": "string"
  },
  "daysToExpiry": {
    "label": "Days to expiry (ownedBy/search)",
    "format": "number"
  },
  "isExpired": {
    "label": "Expired (ownedBy/search)",
    "format": "boolean"
  },
  "inGracePeriod": {
    "label": "In grace period (ownedBy/search)",
    "format": "boolean"
  },
  "registration": {
    "label": "Registration (resolve)",
    "format": "object"
  },
  "relation": {
    "label": "Relation (ownedBy)",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [ENS Resolver — Name to Address, Reverse Lookup, Avatar](https://apify.com/yadroo/ens-resolver.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/yadroo/ens-resolver.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/yadroo/ens-resolver.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
