# How to communicate programmatically with cardano-node?

**URL:** <https://forum.cardano.org/t/how-to-communicate-programmatically-with-cardano-node/98734>\
**Category:** Misc Dev Talk\
**Created:** [1 April 2022 20:28 UTC](https://forum.cardano.org/t/how-to-communicate-programmatically-with-cardano-node/98734 "2022-04-01T20:28:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexk245](https://avatars.discourse-cdn.com/v4/letter/a/6a8cbe/32.png) [@alexk245](https://forum.cardano.org/u/alexk245)\
**Post date:** [1 April 2022 20:28 UTC](https://forum.cardano.org/t/how-to-communicate-programmatically-with-cardano-node/98734/1 "2022-04-01T20:28:25Z")

</div>

Is there any documentation for the API cardano-node exposes over the IPC socket? I am assuming that’s how cardano-cli can query blockchain data and how nodes communicate in general.  
Shifting through cardano-node code to figure it out is doable but seems unnecessary. Am I missing something?

---

<div class="post-metadata">

**Author:** ![HeptaSean](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/heptasean/32/82306_2.png) [@HeptaSean](https://forum.cardano.org/u/HeptaSean)\
**Post date:** [1 April 2022 20:59 UTC](https://forum.cardano.org/t/how-to-communicate-programmatically-with-cardano-node/98734/2 "2022-04-01T20:59:16Z")

</div>

The closest I found was this:

> **[network-spec.pdf](https://hydra.iohk.io/build/13272760/download/2/network-spec.pdf)**
>
> 1053.39 KB

But I haven’t come to try if it helps me actually connecting to the socket and doing something over it.
