Querying API to get region IDs from coordinates in Allen Atlas space

I would recommend getting started with these:

Allen Mouse CCF - accessing and using related data and tools - Technical - Allen Brain Map Community Forum (brain-map.org)

CCFv3 Highlights: Getting Started - Technical - Allen Brain Map Community Forum (brain-map.org)