{
  "x402Version": 2,
  "id": 7423,
  "slug": "7423",
  "resource": "https://agent-commerce-factory-jm.austriaeast.cloudapp.azure.com/v1/onchain/ens",
  "description": "ENS resolution both ways. Given an ENS name (e.g. vitalik.eth) returns the Ethereum address; given an address returns the primary ENS name. Resolved live on Ethereum mainnet. For wallet UX, address-book, identity and naming agents.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xCe339395d7f2ea5a5009022EF1C392Fb208a989E",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "name": "vitalik.eth"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "machine": "portfolio",
            "result": {
              "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
              "name": "vitalik.eth",
              "query": "vitalik.eth"
            },
            "route": "onchain.ens"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "address": {
                    "description": "Address to reverse-resolve to its primary ENS name.",
                    "pattern": "^0x[0-9a-fA-F]{40}$",
                    "type": "string"
                  },
                  "name": {
                    "description": "ENS name to resolve to an address (e.g. vitalik.eth).",
                    "maxLength": 255,
                    "minLength": 3,
                    "type": "string"
                  }
                },
                "required": [],
                "type": "object"
              },
              "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": {
                "properties": {
                  "economics": {
                    "properties": {
                      "sellPriceUsd": {
                        "type": "number"
                      },
                      "upstreamCostUsdActual": {
                        "type": [
                          "number",
                          "null"
                        ]
                      }
                    },
                    "type": "object"
                  },
                  "machine": {
                    "type": "string"
                  },
                  "result": {
                    "properties": {
                      "address": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "name": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "query": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "type": "object"
                  },
                  "route": {
                    "type": "string"
                  }
                },
                "required": [
                  "machine",
                  "route",
                  "result"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "agent-commerce-factory-jm.austriaeast.cloudapp.azure.com",
  "lastUpdated": "2026-08-25T17:17:36.71Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-25T17:17:36.51Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agent-commerce-factory-jm.austriaeast.cloudapp.azure.com",
    "manifest_name": "agent-commerce-factory-jm.austriaeast.cloudapp.azure.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}