Skip to Content

GET /api/v1/recommendations/also-viewed

Get names that collectors who viewed a specific name also viewed. Uses collaborative filtering based on view patterns.

Authentication: Optional (enhances results with user-specific data)

Cache: None

Query Parameters

ParameterTypeDefaultDescription
namestringRequired. ENS name to find related names for
limitnumber10Max results (1–50)

Sample Request

curl "https://api.grails.app/api/v1/recommendations/also-viewed?name=example.eth&limit=10"

Response

// 200 OK { "success": true, "data": { "names": [ { "name": "similar.eth", // ... standard search result fields "recommendation_metrics": { "type": "also-viewed", "also_viewed_count": 25, "shared_viewers_count": 12 } } ], "meta": { "type": "also-viewed", "target_name": "example.eth", "limit": 10 } }, "meta": { "timestamp": "2026-04-08T00:00:00.000Z", "version": "1.0.0" } }

Error Responses

StatusCodeDescription
404NAME_NOT_FOUNDENS name not found
Last updated on