# Postman

<figure><img src="https://1812349639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMfCqNbNtOQjchD3WfXFA%2Fuploads%2FCXWkBPaNJyAEa5hEHfXI%2FScreen%20Shot%202023-02-13%20at%208.53.25%20AM.png?alt=media&#x26;token=f2a955b1-64ce-4995-b7cd-94f9e465c74b" alt=""><figcaption><p>Overview page for the Underdog API Postman</p></figcaption></figure>

{% hint style="warning" %}
Follow this link to view the [Underdog API Postman](https://www.postman.com/underdogprotocol/workspace/underdog-api/overview)
{% endhint %}

When you head over to the [Underdog API Postman](https://www.postman.com/underdogprotocol/workspace/underdog-api/overview), you'll hit an overview page with recent activity to the Postman workspace. We'll continue making updates to the workspace as API functionality grows.&#x20;

## Getting Started

On the left hand side, click the desired API endpoint: **Mainnet API** or **Devnet API**. Within the collection page, hit the **Variables** tab to set the `apiKey` variable in your workspace.&#x20;

Your API Key can be generated from the Underdog Protocol dashboard when you sign in.&#x20;

<figure><img src="https://1812349639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMfCqNbNtOQjchD3WfXFA%2Fuploads%2FhfJX8P1dZzlzwT0bIE1z%2FPNG%20image.png?alt=media&#x26;token=160f96ec-ce8f-4d34-9b2d-f06710d4bcf3" alt=""><figcaption><p>Where you can set the apiKey variable in Postman</p></figcaption></figure>

{% hint style="info" %}
The Devnet API is free to use and the same API Key you generate can be used for both endpoints. You will need a subscription to use the Mainnet API.&#x20;
{% endhint %}
