getKind1Notes
Fetch and retrieve text notes (kind 1) from the Nostr social network by specifying a user's public key. Customize results with optional relay lists and limit settings for efficient data queries.
Instructions
Get text notes (kind 1) by public key
Input Schema
Name | Required | Description | Default |
---|---|---|---|
limit | No | Maximum number of notes to fetch | |
pubkey | Yes | Public key of the Nostr user (hex format or npub format) | |
relays | No | Optional list of relays to query |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"limit": {
"default": 10,
"description": "Maximum number of notes to fetch",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"pubkey": {
"description": "Public key of the Nostr user (hex format or npub format)",
"type": "string"
},
"relays": {
"description": "Optional list of relays to query",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"pubkey"
],
"type": "object"
}