Subgraph API
Introduction

Subgraph API

Introduction

The HNS.ID Subgraph API provides efficient and straightforward access to HNS.ID domain data on Optimism, facilitating queries on ownership, transfers, and other changes while avoiding the complexities of direct blockchain queries. The Subgraph ingests data from the Optimism mainnet. It populates indexed data by listening to events emitted by the smart contracts governing the hns.id domains.

Hosted API

https://thegraph.com/hosted-service/subgraph/namebasehq/hns-id (opens in a new tab)