# 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. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-ens-vision-api-b1422031/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## 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/parse-ens-vision-api-b1422031/browse_categories \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-ens-vision-api-b1422031/get_activity \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-ens-vision-api-b1422031/get_address_portfolio \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-ens-vision-api-b1422031/get_domain_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-ens-vision-api-b1422031/get_domain_offers \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-ens-vision-api-b1422031/get_marketplace_listings \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-ens-vision-api-b1422031/get_recommendations \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-ens-vision-api-b1422031/resolve_address \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-ens-vision-api-b1422031/resolve_name \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-ens-vision-api-b1422031/search_domains \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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>"}'
```
