> For the complete documentation index, see [llms.txt](https://developer.aiodds.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.aiodds.com/bookmaker-odds/basic-data/location.md).

# Location

## List all locations

> Lists all supported locations with their names and logos. Choose a language to receive localized names.

```json
{"openapi":"3.0.1","info":{"title":"AiOdds Document","version":"1.0.0"},"tags":[{"name":"Basic / Location","description":"Basic location endpoints."}],"servers":[{"url":"https://api.aiodds.com"}],"paths":{"/v1/location/list":{"get":{"summary":"List all locations","responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetV1LocationListResponse"}}}}},"tags":["Basic / Location"],"description":"Lists all supported locations with their names and logos. Choose a language to receive localized names.","parameters":[{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/Secret"},{"name":"lang","in":"query","required":false,"schema":{"type":"string"},"description":"language, please refer to STATUS CODE -> Language"}]}}},"components":{"schemas":{"GetV1LocationListResponse":{"type":"object","properties":{"code":{"type":"integer","description":"Status code"},"msg":{"type":"string","description":"Message description"},"data":{"type":"object","properties":{"total":{"type":"integer","description":"Total number of records"},"list":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"Location id"},"name":{"type":"string","description":"Location name"},"logo":{"type":"string","description":"Location logo"}}},"description":"List of returned items"}},"description":"Response payload"}}}},"parameters":{"User":{"name":"user","in":"query","required":true,"schema":{"type":"string"},"description":"Username, please contact business."},"Secret":{"name":"secret","in":"query","required":true,"schema":{"type":"string"},"description":"User secret, please contact business."}}}}
```

## Get location by ID

> Returns the name and logo of a specific location. Localized names are available in supported languages.

```json
{"openapi":"3.0.1","info":{"title":"AiOdds Document","version":"1.0.0"},"tags":[{"name":"Basic / Location","description":"Basic location endpoints."}],"servers":[{"url":"https://api.aiodds.com"}],"paths":{"/v1/location/get":{"get":{"summary":"Get location by ID","responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetV1LocationGetResponse"}}}}},"tags":["Basic / Location"],"description":"Returns the name and logo of a specific location. Localized names are available in supported languages.","parameters":[{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/Secret"},{"name":"id","in":"query","required":true,"schema":{"type":"integer"},"description":"country id"},{"name":"lang","in":"query","required":false,"schema":{"type":"string"},"description":"language, please refer to STATUS CODE -> Language"}]}}},"components":{"schemas":{"GetV1LocationGetResponse":{"type":"object","properties":{"code":{"type":"integer","description":"Status code"},"msg":{"type":"string","description":"Message description"},"data":{"type":"object","properties":{"id":{"type":"integer","description":"Location id"},"name":{"type":"string","description":"Location name"},"logo":{"type":"string","description":"Location logo"}},"description":"Response payload"}}}},"parameters":{"User":{"name":"user","in":"query","required":true,"schema":{"type":"string"},"description":"Username, please contact business."},"Secret":{"name":"secret","in":"query","required":true,"schema":{"type":"string"},"description":"User secret, please contact business."}}}}
```


---

# 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://developer.aiodds.com/bookmaker-odds/basic-data/location.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.
