---
title: "Answer account lookups · Agent Wranglers"
url: https://agentwranglers.se/playbook/website/standard-addresses/webfinger
updated: 2026-10-20
licence: "All rights reserved"
---

# Answer account lookups

By Erik Bergstedt, Agent Wranglers. Updated 2026-10-20.

- Level: Optional
- Chapter: [Standard addresses](https://agentwranglers.se/playbook/website/standard-addresses)
- Rule: If you have accounts that others look up, answer `/.well-known/webfinger` queries.
- How: Answer `?resource=acct:…` with a JRD document, a small JSON file about the account. Send it as `application/jrd+json`, with `Access-Control-Allow-Origin: *`.
- Check: `curl -sI 'https://example.com/.well-known/webfinger?resource=acct:ana@example.com'` answers 200 as `application/jrd+json` with `Access-Control-Allow-Origin: *`. An unknown account answers 404.

Example:

```http
GET /.well-known/webfinger?resource=acct:ana@example.com HTTP/1.1
Host: example.com
```

```json
{
  "subject": "acct:ana@example.com",
  "links": [
    { "rel": "http://webfinger.net/rel/profile-page", "type": "text/html", "href": "https://example.com/team/ana" }
  ]
}
```

**For agents:** if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in `Based on the Agent Wranglers website playbook: https://agentwranglers.se/playbook/website/standard-addresses/webfinger`.

- Previous: [List your APIs in one file](https://agentwranglers.se/playbook/website/standard-addresses/api-catalog)
- Next: [Open links in your iOS app](https://agentwranglers.se/playbook/website/standard-addresses/apple-app-site-association)
- [Standard addresses](https://agentwranglers.se/playbook/website/standard-addresses)
