# ENS resolver

GET https://horizonpulse.dev/api/name/resolve

- Price: $0.002 per call. The exact amount is in the 402.
- Pay with: USDC on Base, USDC on Solana, USDC on Polygon, RLUSD on XRP Ledger, EURC on Base
- Family: Onchain and payments (/catalog/onchain.md)

## What it returns
Resolve an ENS name or Basename, or find an address's primary name

## Inputs
- name: ENS or Basename to resolve (e.g.
- address: 0x address for reverse lookup (ENS and Basename primary names).
Full schema and bounds: /openapi.json

## If the call fails
- USDC on Base: errors are not charged, apart from the exceptions noted on a route.
- USDC on Solana: a refused or failed request may still be charged.
- On Polygon (native USDC), a request is settled only when it succeeds (HTTP status below 400). Failed requests are not charged.
- RLUSD on XRP Ledger: a refused or failed request may still be charged.

## Try it
- Unpaid sample on a fixed input: GET https://horizonpulse.dev/api/demo/name-resolve
- Setup: /setup.md
