To retrieve information about a real estate transaction (a β€œmatter”), you can query our GraphQL API using either the matter query (for a specific matter) or the matters query (to retrieve a list).

πŸ” Fetching a specific matter

Use the matter(id: MatterGID!) query to retrieve details about a single matter.

Request
query GetMatterDetails {
  matter(id: "gid://ownright/Transaction/1") {
    matter {
      id
      ... on Transaction {
        status
        # ... other fields
      }
    }
  }
}

Sample response:

Response
{
  "data": {
    "matter": {
      "id": "gid://ownright/Transaction/1",
      "status": "CLOSING_IN_PROGRESS"
    }
  }
}

πŸ“‹ Fetching multiple matters

If you don’t know the matter ID or want to browse multiple matters, you can use the matters query to list them.

Request
query ListMatters {
  matters(first: 10) {
    edges {
      node {
        id
        ... on Transaction {
          status
          # ... other fields
        }
      }
    }
  }
}

This query retrieves the first 10 matters, along with their status.