The labeler directory, listed or not (ops)
GET /v1/ops/community/labelers- quién puede llamarla
- Un operador
- cuán reciente
- Nunca en caché
- cada respuesta lleva la altura del índice y la del nodo
- Herramienta MCP
- Ninguna
En esta página
Every labeler in the directory; the public list shows the listed ones only.
Parámetros
No toma parámetros.
Qué responde
The directory.
| Campo | Tipo | Qué lleva |
|---|---|---|
items | array | The whole directory: listed labelers and unlisted ones. |
items[].pubkey | string | The labeler's public key, 64 hex. |
items[].npub | string o null | That key as an npub (NIP-19). Null when it does not encode. |
items[].name | string | The labeler's name in the directory. |
items[].namespace | string | io.btcintel. |
items[].description | string o null | What the labeler does. Null when the directory says nothing. |
items[].url | string o null | The labeler's site. Null when it has none. |
items[].criteria_url | string o null | Where the labeler explains its criteria. |
items[].listed | boolean | Shown in the public directory. |
items[].added_by | string o null | Who added it to the directory. |
items[].added_at | string | When it was added. |
esquema
itemsarray de Labeler obligatorio — The whole directory: listed labelers and unlisted ones.pubkeystring obligatorio — The labeler's public key, 64 hex.npubstring | null — That key as an npub (NIP-19). Null when it does not encode.namestring obligatorio — The labeler's name in the directory.namespacestring obligatorio —io.btcintel.descriptionstring | null — What the labeler does. Null when the directory says nothing.urlstring | null (uri) — The labeler's site. Null when it has none.criteria_urlstring | null (uri) — Where the labeler explains its criteria.listedboolean obligatorio — Shown in the public directory.added_bystring | null — Who added it to the directory.added_atstring (date-time) obligatorio — When it was added.
Errores
| Estado | Código | Cuándo |
|---|---|---|
| 401 | unauthorized | unauthorized: the request does not say who makes it, or what it offers does not verify: no key or session where one is needed, or a password, a code, a passkey or a signed event that does not check. The message says what is missing. |
| 403 | forbidden | forbidden: the caller is known but may not do this: a key without the scope or the tier the action needs, a session without an npub, a second factor or a recent sign-in, an operator without the role or switched off, or a source that does not allow it. The message says which. |
Cada uno llega en el sobre de error único, y ninguno se guarda en caché: un error lleva Cache-Control: no-store.
Ejemplo
curl y jq, en cualquier shell.
curl -s https://api.btcintel.io/v1/ops/community/labelers \
-H "Authorization: Bearer $BTCINTEL_KEY" | jqThis route needs an operator credential. Set BTCINTEL_KEY to the ops bearer or a btci_ key with the ops:agent scope first: the snippet reads it from there and holds no key.