WoW Profile API: Character Position - Zone Coordinates

Hey,

I’m trying to build a character tracker visible from outside the game:
https ://darklady-sylvanas.com/positions {user: user, password: user}.

To this extent, I’m calling the WoW Profile API to get the position:

"position": {
    "zone": {
      "name": "Duskwood",
      "id": 10
    },
    "map": {
      "name": "Eastern Kingdoms",
      "id": 0
    },
    "x": -10538.665,
    "y": -1564.081,
    "z": 149.70938,
    "facing": 0
  },

I have the corresponding maps and load them based on the id but I don’t know how the x, y, z coordinates translate to them.

Is there a resource where we can find the zone edge points (maybe e.g. zone.start_x, zone.end_x) or some other way to get the character position relative to the zone map width / height?

Thank you for taking the time to read my request and thank you very much for providing us access to an excellent API.

Best regards,
Dréadangel - Sylvanas