# ENS Vision — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search and explore ENS domains across the marketplace, discover owner portfolios and activity feeds, and resolve names to addresses with complete text records. Get domain details, browse categories, view offers and recommendations, and track all marketplace listings in one place.

**Category:** Web3 & Onchain | **Website:** [ens.vision/](https://ens.vision/) | **Docs:** [parse.bot/marketplace/b1422031-89e6-41fe-abb6-ace5da57932b/ens-vision-api](https://parse.bot/marketplace/b1422031-89e6-41fe-abb6-ace5da57932b/ens-vision-api)

Pay-per-use API proxy for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/ens-vision/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## Endpoints

### Browse categories

Browse ENS clubs and categories with domain counts, descriptions, and floor prices. Returns the full list of available categories in a single page.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/ens-vision/browse-categories \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get activity

Retrieve the activity feed for the platform or a specific domain (sales, listings, mints, offers). Returns paginated results sorted by timestamp descending. Each activity event includes metadata about the transaction.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `event_types` | string | No | Comma-separated event types: LISTING_CREATED, OFFER_CREATED, SALE, MINT. Omitting returns all four types. |
| `limit` | integer | No | Max results to return |
| `name` | string | No | ENS domain name to filter activity for |
| `offset` | integer | No | Pagination offset |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/ens-vision/get-activity \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"event_types":"<string>","limit":"<integer>","name":"<string>","offset":"<integer>"}'
```

### Get address portfolio

Get the collection of ENS domains owned by a specific wallet address. Returns paginated results. Internally queries the search endpoint filtered by owner address.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `address` | string | Yes | Ethereum wallet address |
| `limit` | integer | No | Max results to return |
| `offset` | integer | No | Pagination offset |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/ens-vision/get-address-portfolio \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"address":"<string>","limit":"<integer>","offset":"<integer>"}'
```

### Get domain details

Retrieve full details for a specific ENS domain, including ownership, registration dates, token info, categories, and avatar URL. Returns a single Domain resource keyed by its hash id.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `name` | string | Yes | ENS domain name (e.g., 'vitalik.eth') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/ens-vision/get-domain-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"name":"<string>"}'
```

### Get domain offers

Retrieve active marketplace offers for a specific ENS domain. Returns an empty list if no active offers exist. Offer availability is transient; many domains have no active offers at any given time.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Max results to return |
| `name` | string | Yes | ENS domain name (e.g., '425.eth'). Many domains have no active offers. |
| `offset` | integer | No | Pagination offset |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/ens-vision/get-domain-offers \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","name":"<string>","offset":"<integer>"}'
```

### Get marketplace listings

Fetch current marketplace listings sorted by price or other criteria. Returns only domains with expiry status TAKEN (registered domains available for sale). Supports keyword search and category filtering.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category_ids` | string | No | Comma-separated category IDs to filter by |
| `limit` | integer | No | Max results to return |
| `offset` | integer | No | Pagination offset |
| `query` | string | No | Search keyword to filter listings |
| `sort_by` | string | No | Sort field |
| `sort_order` | string | No | Sort order: asc or desc |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/ens-vision/get-marketplace-listings \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"category_ids":"<string>","limit":"<integer>","offset":"<integer>","query":"<string>","sort_by":"<string>","sort_order":"<string>"}'
```

### Get recommendations

Retrieve recommended or related domains for a given ENS name. Returns domains with relevance scores and reasons such as 'Listed for sale' or 'Popular in same TLD'. Uses a hybrid strategy by default.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Max recommendations to return |
| `name` | string | Yes | ENS domain name to get recommendations for (e.g., 'vitalik.eth') |
| `strategy` | string | No | Recommendation strategy (e.g., 'hybrid') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/ens-vision/get-recommendations \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","name":"<string>","strategy":"<string>"}'
```

### Resolve address

Resolve an Ethereum address to its primary ENS name and associated metadata including avatar and text records. Performs reverse resolution.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `address` | string | Yes | Ethereum address to resolve (e.g., '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045') |
| `records` | string | No | Comma-separated text records to include. Omitting uses defaults: avatar, email, url, description, twitter, github, com.twitter, com.github, org.telegram. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/ens-vision/resolve-address \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"address":"<string>","records":"<string>"}'
```

### Resolve name

Resolve an ENS name to its Ethereum address, avatar, header, and text records. Uses the ENS Vision resolution API to look up on-chain records.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `name` | string | Yes | ENS name to resolve (e.g., 'vitalik.eth') |
| `records` | string | No | Comma-separated text records to include (e.g., 'avatar,email,twitter'). Omitting uses defaults: avatar, email, url, description, twitter, github, com.twitter, com.github, org.telegram. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/ens-vision/resolve-name \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"name":"<string>","records":"<string>"}'
```

### Search domains

Search ENS domains by keyword or name fragment with various filters and sorting options. Returns paginated results with total count. Supports filtering by owner, category, expiry status, and subdomain flag.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category_ids` | string | No | Comma-separated category IDs to filter by |
| `expiry_status` | string | No | Filter by expiry status (e.g., TAKEN) |
| `is_subdomain` | boolean | No | Filter for subdomains |
| `limit` | integer | No | Max results to return |
| `offset` | integer | No | Pagination offset |
| `owner` | string | No | Filter by owner Ethereum address |
| `query` | string | No | Search keyword or name fragment |
| `sort_by` | string | No | Sort field |
| `sort_order` | string | No | Sort order: asc or desc |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/ens-vision/search-domains \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"category_ids":"<string>","expiry_status":"<string>","is_subdomain":"<boolean>","limit":"<integer>","offset":"<integer>","owner":"<string>","query":"<string>","sort_by":"<string>","sort_order":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://paywithlocus.com/agent/index.md): every Locus agent page.