{
  "x402Version": 2,
  "id": 30795,
  "slug": "30795",
  "resource": "https://fiatdock.com/v1/chain/ens",
  "description": "Resolve an ENS name or Basename to its address (vitalik.eth, jesse.base.eth), or an address to its primary name - verified to resolve back - with the profile records the owner published: url, X/Twitter, GitHub, description, avatar. Read from Ethereum mainnet through the ENS Universal Resolver; off-chain gateways go through our SSRF guard. ASCII names. Send {} for the published example. A name with no address is not charged. Pay-per-call via x402.",
  "type": "http",
  "serviceName": "FiatDock",
  "resourceType": "Identity & Enrichment",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xeB12bB2f52EeD33DBa6A00774E48324032Fd87C6",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2700",
      "amountUsd": 0.0027,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "name": "vitalik.eth"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
            "asOf": "2026-10-05T00:00:00.000Z",
            "chain": "ethereum",
            "elapsedMs": 281,
            "isPrimaryName": true,
            "name": "vitalik.eth",
            "note": "records are what the name's owner published (their words, not verified by us).",
            "primaryName": "vitalik.eth",
            "query": {
              "name": "vitalik.eth"
            },
            "records": {
              "avatar": "https://euc.li/vitalik.eth",
              "description": "mi pinxe lo crino tcati",
              "github": "vbuterin",
              "twitter": "VitalikButerin",
              "url": "https://vitalik.ca"
            },
            "resolvedVia": "ENS Universal Resolver on Ethereum mainnet; off-chain (CCIP-Read) gateways are fetched through FiatDock's SSRF guard"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "address": {
                    "description": "Or an address, to find its primary ENS name (0x + 40 hex)",
                    "example": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
                    "maxLength": 42,
                    "type": "string"
                  },
                  "name": {
                    "description": "An ENS name to resolve (vitalik.eth, jesse.base.eth …) — ASCII letters, digits and hyphens",
                    "example": "vitalik.eth",
                    "maxLength": 253,
                    "type": "string"
                  }
                },
                "required": []
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "ens",
    "basename",
    "identity",
    "ethereum",
    "resolver",
    "bazaar"
  ],
  "sourceHost": "fiatdock.com",
  "lastUpdated": "2026-10-08T06:08:01.826Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T06:08:01.623Z"
  },
  "metadata": {
    "serviceName": "FiatDock",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "name": "vitalik.eth"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
              "asOf": "2026-10-05T00:00:00.000Z",
              "chain": "ethereum",
              "elapsedMs": 281,
              "isPrimaryName": true,
              "name": "vitalik.eth",
              "note": "records are what the name's owner published (their words, not verified by us).",
              "primaryName": "vitalik.eth",
              "query": {
                "name": "vitalik.eth"
              },
              "records": {
                "avatar": "https://euc.li/vitalik.eth",
                "description": "mi pinxe lo crino tcati",
                "github": "vbuterin",
                "twitter": "VitalikButerin",
                "url": "https://vitalik.ca"
              },
              "resolvedVia": "ENS Universal Resolver on Ethereum mainnet; off-chain (CCIP-Read) gateways are fetched through FiatDock's SSRF guard"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "address": {
                      "description": "Or an address, to find its primary ENS name (0x + 40 hex)",
                      "example": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
                      "maxLength": 42,
                      "type": "string"
                    },
                    "name": {
                      "description": "An ENS name to resolve (vitalik.eth, jesse.base.eth …) — ASCII letters, digits and hyphens",
                      "example": "vitalik.eth",
                      "maxLength": 253,
                      "type": "string"
                    }
                  },
                  "required": []
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "fiatdock.com",
    "manifest_name": "fiatdock.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}