# Discover Matrix Public Rooms by Topic Keyword

**Use case:** 

List public Matrix rooms on matrix.org filtered by keyword — room ID, name, topic, member count, join rules, and alias. No account needed.

## Input

```json
{
  "sp_intended_usage": "Describe your intended use...",
  "sp_improvement_suggestions": "Share your suggestions here...",
  "sp_contact": "Share your email here...",
  "action": "Discover Public Rooms",
  "homeserver": "https://matrix.org",
  "searchTerm": "linux",
  "maxItems": 100,
  "maxMessagesPerRoom": 100,
  "messageDirection": "b"
}
```

## Output

```json
{
  "record_type": {
    "label": "Record Type",
    "format": "string"
  },
  "room_id": {
    "label": "Room Id",
    "format": "string"
  },
  "room_name": {
    "label": "Room Name",
    "format": "string"
  },
  "event_id": {
    "label": "Event Id",
    "format": "string"
  },
  "event_sender": {
    "label": "Event Sender",
    "format": "string"
  },
  "event_content_body": {
    "label": "Event Content Body",
    "format": "string"
  },
  "event_origin_server_ts": {
    "label": "Event Origin Server Ts",
    "format": "integer"
  }
}
```

## About this Actor

This example demonstrates how to use [Matrix Message Scraper](https://apify.com/jungle_synthesizer/matrix-message-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/jungle_synthesizer/matrix-message-scraper) to learn more, explore other use cases, and run it yourself.