/User-Profile
Last updated
Last updated
The /user-profile
endpoint returns the latest profile event for the given public key.
URL: /user-profile
Method: GET
Auth Required: No
Permissions Required: None
Parameter | Description | Required |
---|---|---|
The response is a JSON object with the following structure:
profile
: The most recent profile metadata event (kind 0) for the requested user.
400 Bad Request: If the pubkey parameter is missing or invalid.
404 Not Found: If no profile can be found for the given pubkey.
500 Internal Server Error: If there's an issue processing the request.
pubkey
The public key of the user whose profile is requested
Yes