Nostr People Search

Job to search for profiles based on a prompt

Input

Text to be included in the search

Output

A content JSON-stringified list of tags. Tags SHOULD be p.

Params

  • max_results: Maximum number of events to return (Optional parameter)

How clients can use this

Clients can ask a Search DVM to return profiles based on certain filters.

Example

Request

{
    "content": "",
         
    "kind": 5303,
    "tags":  
    [
    [ "i", "Jack", "text" ],
    ["param","max_results","500"]
    ]
}

Response

{
    "kind": 6303,
    "content": '
        [ "p", "<...>" ],
        [ "p", "<...>" ],
        [ "p", "<...>" ],
        [ "p", "<...>" ]
    '
}