> For the complete documentation index, see [llms.txt](https://docs.decentraland.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.decentraland.org/apis/apis/atlas-server/districts.md).

# Districts

Endpoints for querying information about districts in Genesis City, including contributions made by community members.

## Get all districts

> Returns a list of all districts in Genesis City. Districts are special areas with unique themes \
> and community-driven development.<br>

```json
{"openapi":"3.0.3","info":{"title":"Decentraland Atlas Server API","version":"2.0.0"},"tags":[{"name":"Districts","description":"Endpoints for querying information about districts in Genesis City, including contributions \nmade by community members.\n"}],"servers":[{"url":"https://api.decentraland.org","description":"Production environment"},{"url":"https://api.decentraland.zone","description":"Development environment"}],"paths":{"/v2/districts":{"get":{"tags":["Districts"],"summary":"Get all districts","description":"Returns a list of all districts in Genesis City. Districts are special areas with unique themes \nand community-driven development.\n","operationId":"getDistricts","responses":{"200":{"description":"List of all districts","headers":{"Last-Modified":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"data":{"type":"array","items":{"type":"object","description":"Information about a district in Genesis City","required":["id","name","description","parcels","totalParcels"],"properties":{"id":{"type":"string","description":"Unique identifier for the district"},"name":{"type":"string","description":"Name of the district"},"description":{"type":"string","description":"Description of the district"},"parcels":{"type":"array","description":"Array of parcel coordinates in the district","items":{"type":"string"}},"totalParcels":{"type":"integer","description":"Total number of parcels in the district"}}}}}}}}}}}}}}
```

## Get a specific district by ID

> Returns detailed information about a specific district, including its name, description, \
> and all parcels that belong to it.<br>

```json
{"openapi":"3.0.3","info":{"title":"Decentraland Atlas Server API","version":"2.0.0"},"tags":[{"name":"Districts","description":"Endpoints for querying information about districts in Genesis City, including contributions \nmade by community members.\n"}],"servers":[{"url":"https://api.decentraland.org","description":"Production environment"},{"url":"https://api.decentraland.zone","description":"Development environment"}],"paths":{"/v2/districts/{id}":{"get":{"tags":["Districts"],"summary":"Get a specific district by ID","description":"Returns detailed information about a specific district, including its name, description, \nand all parcels that belong to it.\n","operationId":"getDistrict","parameters":[{"name":"id","in":"path","required":true,"description":"District ID","schema":{"type":"string"}}],"responses":{"200":{"description":"District information","headers":{"Last-Modified":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"data":{"type":"object","description":"Information about a district in Genesis City","required":["id","name","description","parcels","totalParcels"],"properties":{"id":{"type":"string","description":"Unique identifier for the district"},"name":{"type":"string","description":"Name of the district"},"description":{"type":"string","description":"Description of the district"},"parcels":{"type":"array","description":"Array of parcel coordinates in the district","items":{"type":"string"}},"totalParcels":{"type":"integer","description":"Total number of parcels in the district"}}}}}}}},"404":{"description":"District not found","content":{"text/plain":{"schema":{"type":"string"}}}}}}}}}
```

## Get contributions by address

> Returns a list of all district contributions made by a specific Ethereum address. \
> Contributions represent parcels that were contributed during the district allocation phase.<br>

```json
{"openapi":"3.0.3","info":{"title":"Decentraland Atlas Server API","version":"2.0.0"},"tags":[{"name":"Districts","description":"Endpoints for querying information about districts in Genesis City, including contributions \nmade by community members.\n"}],"servers":[{"url":"https://api.decentraland.org","description":"Production environment"},{"url":"https://api.decentraland.zone","description":"Development environment"}],"paths":{"/v2/addresses/{address}/contributions":{"get":{"tags":["Districts"],"summary":"Get contributions by address","description":"Returns a list of all district contributions made by a specific Ethereum address. \nContributions represent parcels that were contributed during the district allocation phase.\n","operationId":"getContributions","parameters":[{"name":"address","in":"path","required":true,"description":"Ethereum address","schema":{"type":"string"}}],"responses":{"200":{"description":"List of contributions","headers":{"Last-Modified":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"data":{"type":"array","items":{"type":"object","description":"Information about a contribution to a district","required":["address","districtId","totalParcels"],"properties":{"address":{"type":"string","description":"Ethereum address of the contributor"},"districtId":{"type":"string","description":"ID of the district contributed to"},"totalParcels":{"type":"integer","description":"Number of parcels contributed"}}}}}}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.decentraland.org/apis/apis/atlas-server/districts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
