---
title: "Reverse-lookup third-party locations given a Matrix room alias."
method: GET
path: "/_matrix/client/v3/thirdparty/location"
tags: ["Third-party Lookup"]
---

# Reverse-lookup third-party locations given a Matrix room alias.

`GET /_matrix/client/v3/thirdparty/location`

## Request

- Base URL: `https://matrix.org`
- URL: `https://matrix.org/_matrix/client/v3/thirdparty/location`
- Auth: one of:
  - API key in query parameter `access_token`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/matrix/apis/matrix-client-server-api/docs/_matrix/client/v3/thirdparty/location/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve an array of third-party network locations from a Matrix room
alias.

## Query parameters

- `alias` string, required

## Response `200`

All found third-party locations.

- object[]: List of matched third-party locations.
  - `alias` string, required: An alias for a matrix room.
  - `fields` object, required: Information used to identify this third-party location.
  - `protocol` string, required: The protocol ID that the third-party location is a part of.

## Other responses

- `404`: The Matrix room alias was not found

---

[API](https://skmtc.dev/matrix/apis/matrix-client-server-api.md) - [All operations](https://skmtc.dev/matrix/apis/matrix-client-server-api/llms.txt) - [OpenAPI document](https://skmtc.dev/matrix/apis/matrix-client-server-api/revisions/c7fe4072c681?raw)
