User

Get user by ETH address

Returns user details from BFH game server by ETH address

get/v1/user/by-address/{address}

Request

  • Base URL: https://api.bravefrontierheroes.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.bravefrontierheroes.com/v1/user/by-address/{address}
  • Auth: OAuth 2 (authorization code, authorization URL https://auth.bravefrontierheroes.com/oauth2/auth, token URL https://auth.bravefrontierheroes.com/oauth2/token, scopes: openid profile)

Path parameters

addressstring required

ETH Address (e.g., 0x4d8bf583bd2dd813b5e7ddef05f268ec33f46458)

Response

OK

Example response

{
  "user": {
    "comment": "1234567890",
    "country_code": 81,
    "ema_rate1000s": [
      0,
      0,
      0
    ],
    "emblem_types": [
      120100,
      130101,
      140101
    ],
    "eth": "0x4d8bf583bd2dd813b5e7ddef05f268ec33f46458",
    "guild_id": 142,
    "guild_since": 1681301937,
    "guild_until": 1681301937,
    "ipfs": "QmVcD7QY4dCDzMwKtMnL7Cm2iPwUSs9E7gRpMf9aan8SMD",
    "land_since": 1673492726,
    "land_type": 3,
    "land_until": 1676084726,
    "name": "mmr",
    "registerd": 1,
    "spend_stamina_node_mission": 327,
    "states": [
      {
        "state": 999
      }
    ],
    "uid": 100173486
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.