{
  "x402Version": 2,
  "id": 35731,
  "slug": "35731",
  "resource": "https://base-facts.yankii.fr/v1/basename",
  "description": "Resolve a Basename to an address or an address to its primary Basename",
  "type": "http",
  "serviceName": "Basename Resolution",
  "resourceType": "Blockchain Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x40661D56c2Bf416c5946A8b21098eaF8D33459A2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "address": {
            "type": "string"
          },
          "blockNumber": {
            "type": "string"
          },
          "error": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "resolver": {
            "type": "string"
          },
          "source": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "name": "jesse.base.eth"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "address": "0x2211d1D0020DAEA8039E46Cf1367962070d77DA9",
            "blockNumber": "52131900",
            "name": "jesse.base.eth",
            "resolver": "0xC6d566A56A1aFf6508b41f6c90ff131615583BCD",
            "source": "base-mainnet-rpc"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "address": {
                    "description": "Address whose primary Basename to look up (verified by forward resolution)",
                    "type": "string"
                  },
                  "name": {
                    "description": "Basename to resolve to an address, e.g. jesse.base.eth",
                    "type": "string"
                  }
                },
                "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": {
                  "address": {
                    "type": "string"
                  },
                  "blockNumber": {
                    "type": "string"
                  },
                  "error": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "resolver": {
                    "type": "string"
                  },
                  "source": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "base",
    "basename",
    "ens",
    "bazaar"
  ],
  "sourceHost": "base-facts.yankii.fr",
  "lastUpdated": "2026-10-11T08:25:07.673Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-11T08:25:07.141Z"
  },
  "metadata": {
    "serviceName": "Basename Resolution",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "name": "jesse.base.eth"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "address": "0x2211d1D0020DAEA8039E46Cf1367962070d77DA9",
              "blockNumber": "52131900",
              "name": "jesse.base.eth",
              "resolver": "0xC6d566A56A1aFf6508b41f6c90ff131615583BCD",
              "source": "base-mainnet-rpc"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "address": {
                      "description": "Address whose primary Basename to look up (verified by forward resolution)",
                      "type": "string"
                    },
                    "name": {
                      "description": "Basename to resolve to an address, e.g. jesse.base.eth",
                      "type": "string"
                    }
                  },
                  "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": {
                    "address": {
                      "type": "string"
                    },
                    "blockNumber": {
                      "type": "string"
                    },
                    "error": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "resolver": {
                      "type": "string"
                    },
                    "source": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "base-facts.yankii.fr",
    "manifest_name": "base-facts.yankii.fr",
    "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": {
      "address": "string",
      "blockNumber": "string",
      "error": "string",
      "name": "string",
      "resolver": "string",
      "source": "string"
    },
    "type": "string"
  }
}