/Event
Retrieving an event with a given event id.
Last updated
Retrieving an event with a given event id.
Last updated
The /event
endpoint retrieves a single Nostr event by its ID, along with the profiles of relevant authors.
URL: /event
Method: GET
Auth Required: No
Permissions Required: None
Parameter | Description | Required |
---|---|---|
The response is a JSON object with the following structure:
event
: The requested Nostr event.
profiles
: A map of author profiles, keyed by pubkey. This includes the profile of the event author and any other relevant profiles (e.g., mentioned users).
The profiles map also includes profiles of other authors mentioned in the event.
400 Bad Request: If the event ID is missing or invalid.
404 Not Found: If the requested event cannot be found.
500 Internal Server Error: If there's an issue processing the request or retrieving profiles.
id
The ID of the event to retrieve.
Yes