Docs
Addresses and scripts
Address summaries keyed by the rendered address, history, unspent outputs, and the same summary by script hash.
Generated from openapi.yaml (Btcintel native API 0.1.0). Every hash is canonical display order; every answer carries the index and node heights; errors use one envelope — see Semantics.
- GET
/v1/address/{address}— Address summary - GET
/v1/address/{address}/txs— Address history (newest first) - GET
/v1/address/{address}/utxos— Unspent outputs - GET
/v1/scripthash/{hash}— Lookup by script hash
GET /v1/address/{address}
Address summary
Balances and counts reflect the index tip; an address unknown to the index answers on_chain: false, never a 404. The intel siblings annotations (current claims, CC-4) and relations (about the entities named, never the address; P17) are absent when the deployment has no intel store (CC-6).
- MCP tool
get_address— see For agents
Parameters
| Name | In | Type | Description |
|---|---|---|---|
address required | path | string | Mainnet address; other networks answer 400 with an explanation. |
include | query | string · one of "expired" | expired to include expired and retracted claims in annotations (attributions and hop-0 stay current-only). |
Response 200
Summary with the intel siblings.
schema
addressstringtypestringscript_hashstringon_chainboolean — false when the index has no history (yet).keyed_bystring — Intel identity. Alwaysaddress— annotations hang off the rendered string, not one script_hash.scriptsarray of object — Each script_hash row that renders as this address string.typestringscript_hashstringtx_countintegerfunded_satintegerspent_satinteger
balance_satintegerfunded_satintegerspent_satintegertx_countintegerfirst_heightinteger | nulllast_heightinteger | nullannotationsarray of Claim — Current claims on the address (CC-4); absent when not computed.relationsarray of Relation — Relations of the entities the claims name; about entities, never the address (P17).claim_idstringkindstring required · one of "relation"aboutstring · one of "entity"versionintegercontent_sha256stringcitationstringfrom_entityobjectidstringnamestringkindstring — entity:… concept.
to_entityobjectidstringnamestringkindstring — entity:… concept.
typestring — relation:… concept.sourceobjectfetchobjectconfidenceobjectvalidityobjectevidencearray of object
Errors
400— Malformed input (bad hex, wrong-network address, bad vout).
Example
curl -s https://api.btcintel.io/v1/address/bc1qz654h5qcqzalv6ltpxsk4ksdcc3e20wkedqntgnarv3a0t2e2p7scr48pl | jq '{address, type, script_hash}'GET /v1/address/{address}/txs
Address history (newest first)
Parameters
| Name | In | Type | Description |
|---|---|---|---|
address required | path | string | Mainnet address; other networks answer 400 with an explanation. |
limit | query | integer | — |
offset | query | integer | — |
Response 200
Height and net value per transaction.
schema
txidstring — Canonical display byte order.heightintegervalue_satinteger
Errors
400— Malformed input (bad hex, wrong-network address, bad vout).404— Unknown to the index and, for transactions, to the node mempool.
Example
curl -s https://api.btcintel.io/v1/address/bc1qz654h5qcqzalv6ltpxsk4ksdcc3e20wkedqntgnarv3a0t2e2p7scr48pl/txs | jqGET /v1/address/{address}/utxos
Unspent outputs
Parameters
| Name | In | Type | Description |
|---|---|---|---|
address required | path | string | Mainnet address; other networks answer 400 with an explanation. |
Response 200
UTXOs as of the index tip.
schema
txidstring — Canonical display byte order.voutintegervalue_satintegerheightinteger
Errors
400— Malformed input (bad hex, wrong-network address, bad vout).404— Unknown to the index and, for transactions, to the node mempool.
Example
curl -s https://api.btcintel.io/v1/address/bc1qz654h5qcqzalv6ltpxsk4ksdcc3e20wkedqntgnarv3a0t2e2p7scr48pl/utxos | jqGET /v1/scripthash/{hash}
Lookup by script hash
Parameters
| Name | In | Type | Description |
|---|---|---|---|
hash required | path | string | — |
Response 200
Same shape as the address summary, or on_chain: false.
schema
addressstringtypestringscript_hashstringon_chainboolean — false when the index has no history (yet).keyed_bystring — Intel identity. Alwaysaddress— annotations hang off the rendered string, not one script_hash.scriptsarray of object — Each script_hash row that renders as this address string.typestringscript_hashstringtx_countintegerfunded_satintegerspent_satinteger
balance_satintegerfunded_satintegerspent_satintegertx_countintegerfirst_heightinteger | nulllast_heightinteger | nullannotationsarray of Claim — Current claims on the address (CC-4); absent when not computed.relationsarray of Relation — Relations of the entities the claims name; about entities, never the address (P17).claim_idstringkindstring required · one of "relation"aboutstring · one of "entity"versionintegercontent_sha256stringcitationstringfrom_entityobjectidstringnamestringkindstring — entity:… concept.
to_entityobjectidstringnamestringkindstring — entity:… concept.
typestring — relation:… concept.sourceobjectfetchobjectconfidenceobjectvalidityobjectevidencearray of object
Errors
400— Malformed input (bad hex, wrong-network address, bad vout).
Example
curl -s https://api.btcintel.io/v1/scripthash/<script hash, 64 hex> | jq '{address, type, script_hash}'