---
title: "Look up user accounts by their Stellar address or id"
method: GET
path: "/api/v2/xlm/federation"
tags: ["Federation"]
---

# Look up user accounts by their Stellar address or id

`GET /api/v2/xlm/federation`

Types of searches available:

1. By name: Resolve a Stellar address into an account
2. By id: Resolve an account id into an account

## Query parameters

- `q` string, required
- `type` 'name' | 'id', required

## Response `200`

OK

- object
  - `account_id` string
  - `stellar_address` string
  - `memo_type` string
  - `memo` string

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/bitgo/apis/bitgo-api.md) · [All operations](https://skmtc.net/bitgo/apis/bitgo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bitgo/bitgo-api/revisions/e445c15e5bee/schema)
