# OpenStreetMap Notes

> Find community map reports and get notified when someone opens a note in an area you follow.

App · 2 actions. Web page: https://docs.lodol.com/docs/integrations/openstreetmap-notes

## Actions

### Find notes in a map area

Find community reports in a map area, optionally filtered by text or the date they were opened.

**Inputs**

- Map bounds (`bounds`, text, required): Four coordinates in west,south,east,north order, such as 13.39,52.50,13.41,52.52.
- Query (`query`, text): Words to look for in the note or its comments.
- Since (`since`, date): Only include notes opened on or after this date.
- Limit (`limit`, number): How many notes to return. From 1 to 100.

**Outputs**

- `data` (object): The response from OpenStreetMap Notes.

**Example output**

```json
{
  "data": {
    "notes": [
      {
        "closed_at": "example",
        "comments": [
          {
            "action": "example",
            "date": "example",
            "text": "example"
          }
        ],
        "date_created": "example",
        "id": 1,
        "latitude": 1,
        "longitude": 1,
        "status": "example",
        "url": "example"
      }
    ]
  }
}
```

### Get a map note

Read a note's location, status and plain-text comments.

**Inputs**

- Note ID (`note_id`, number, required): The number at the end of the OpenStreetMap note URL. At least 1.

**Outputs**

- `data` (object): The response from OpenStreetMap Notes.

**Example output**

```json
{
  "data": {
    "closed_at": "example",
    "comments": [
      {
        "action": "example",
        "date": "example",
        "text": "example"
      }
    ],
    "date_created": "example",
    "id": 1,
    "latitude": 1,
    "longitude": 1,
    "status": "example",
    "url": "example"
  }
}
```
