π List registered extended public keys
Code samples
GET /api/v1/btc/xpub
curl 'https://settla.net/api/v1/btc/xpub' \
-H 'X-API-Key: $SETTLA_API_KEY' \
-H 'Accept: application/json'
Example responses
200 Response
{
"data": [
{
"id": 1,
"chain": "BTC",
"fingerprint": "1a2b3c4d",
"label": "shop-1",
"xpub_preview": "zpub6rFRβ¦tZYs",
"next_index": 3,
"issued_count": 3,
"created_at": "2025-07-23T15:16:00Z"
}
]
}
π Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | OK | Inline |
π Response Schema
Status Code 200
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| Β» data | [object] | false | none | none |
| »» id | integer | false | none | none |
| »» chain | string | false | none | none |
| »» fingerprint | string | false | none | First 4 bytes of hash160(pubkey), hex β lets the client tell its keys apart. |
| »» label | string¦null | false | none | none |
| »» xpub_preview | string | false | none | Masked key; the full value is never returned, it would reveal the whole address history. |
| »» next_index | integer | false | none | none |
| »» issued_count | integer | false | none | none |
| »» created_at | string(date-time) | false | none | none |