Source: https://developers.woosmap.com/api-reference/indoor-api/get-indoor-venues/

> For clean Markdown of any page, append `.md` to the page URL.

> For a complete documentation index, see https://developers.woosmap.com/llms.txt

# Get Venues By Key



# Get Venues By Key

 GET 
https://api.woosmap.com/indoor/venues

Returns a list of Venues associated with the project of the key used to authenticate the request.

**Rate limit** : `20/1s`

### Authorization

[`private_key`](#authorization-indoor-api-privatekeyauth)
apiKeyquery

[`X-Api-Key`](#authorization-indoor-api-privatekeyheaderauth)
apiKeyheader

[`key`](#authorization-indoor-api-publickeyauth)
apiKeyquery

### Query Parameters

[`sort_by`](#query-sort-by)
object

The order in which the venues should be retrieved

### Response

200application/json

OK

No properties defined

### Errors

#401

Unauthorized

 

`application/json`

[`detail`](#err-401-detail)
stringrequired

#402

Payment Required

 

`application/json`

No properties defined

#403

Forbidden

 

`application/json`

No properties defined

#422

Unprocessable Entity

 

`application/json`

[`detail`](#err-422-detail)
object[]required

The validation errors.

[`context`](#err-422-context)
objectrequired

Context

```shell
curl -L -X GET 'https://api.woosmap.com/indoor/venues?key=YOUR_PUBLIC_API_KEY' \
-H 'Referer: http://localhost'
```

```python
import requests

url = "https://api.woosmap.com/indoor/venues?key=YOUR_PUBLIC_API_KEY"

payload={}
headers = {
    'Referer': 'http://localhost'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)
```

```javascript
var requestOptions = {
  method: 'GET',
  redirect: 'follow'
};

fetch("https://api.woosmap.com/indoor/venues?key=YOUR_PUBLIC_API_KEY", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));
```
