# API

### Setup

Start by installing the [headless zen-node library](https://docs.zenprotocol.com/apps/headless/headless) and running a node locally.

Use port *11567* for mainnet network or use *31567* for testnet network

### API End Points

{% content-ref url="api/wallet" %}
[wallet](https://docs.zenprotocol.com/apps/headless/api/wallet)
{% endcontent-ref %}

{% content-ref url="api/contracts" %}
[contracts](https://docs.zenprotocol.com/apps/headless/api/contracts)
{% endcontent-ref %}

{% content-ref url="api/blockchain" %}
[blockchain](https://docs.zenprotocol.com/apps/headless/api/blockchain)
{% endcontent-ref %}

{% content-ref url="api/general" %}
[general](https://docs.zenprotocol.com/apps/headless/api/general)
{% endcontent-ref %}

{% content-ref url="api/addressdb" %}
[addressdb](https://docs.zenprotocol.com/apps/headless/api/addressdb)
{% endcontent-ref %}

### Import API Collection with Postman

You can easily import all of the api end points and start playing with them using [Postman](https://www.getpostman.com/)

Link to import the Zen Protocol API Postman collection:

<https://www.getpostman.com/collections/808a5509180c0df55d18>
