There is API for reading blocks, Add show user block api endpoint by AntonKhorev · Pull Request #4240 · openstreetmap/openstreetmap-website · GitHub. The problem is, you need to know your block id but it’s not in the user details/id response. I was thinking about adding it there after I add another thing. That after never happened because you know how osm-website development goes. My next pull request from October 2023 is still not merged.
1 Like