# Api

Kodiak provides a way to get all the tokens created using the panda factory. The REST API is used for this purpose

## Base API url

```
https://api.panda.kodiak.finance
```

## How to use

First of all, any routes with the panda api assume that you specify a chainId,&#x20;

```
https://api.panda.kodiak.finance/80084/endpoints.....
```

There are no other requirements at this time, the API is fully public and does not require a API key

***

## Endpoints

#### Get a list of tokens (`GET /tokens`)

<table><thead><tr><th width="175">Query argument</th><th width="159">Required</th><th>Description</th></tr></thead><tbody><tr><td>limit</td><td>No</td><td>Maximum number of tokens in the response (Up to 100)</td></tr><tr><td>page</td><td>No</td><td>Current Page</td></tr><tr><td>addresses</td><td>No</td><td>A list of addresses separated by commas. If specified, you will only receive tokens from this list</td></tr></tbody></table>

Example:

```
https://api.panda.kodiak.finance/80084/tokens?limit=20&page=2
```

#### Get a specific tokens (`GET /tokens/<address>`)

Example:

```
https://api.panda.kodiak.finance/80084/tokens/0xc22212eba66997d6bb9d006f4e61d2da0a17fe35
```

Response:

```
{
  "address": "0xc22212eba66997d6bb9d006f4e61d2da0a17fe35",
  "chainId": 80084,
  "name": "Harry The Bera",
  "decimals": 18,
  "symbol": "HTB",
  "status": "ACTIVE",
  "socials": [
    {
      "url": "",
      "type": "website"
    },
    {
      "url": "",
      "type": "twitter"
    },
    {
      "url": "",
      "type": "telegram"
    }
  ],
  "description": "Harry's Token, Do You Want To Be Skem?",
  "logoURI": "https://d341uglbp0q7i.cloudfront.net/0xc22212eba66997d6bb9d006f4e61d2da0a17fe35.png"
}
```

#### Get a tokenList (`GET /tokenList.json`)

Example:&#x20;

```
https://api.panda.kodiak.finance/80084/tokenList.json
```

Provides a list of all tokens in a token list compatible format. It is envisioned that this list may be required by other platforms to export all tokens for display in the interface that have been graduated.

{% hint style="info" %}
Tokens in this list do not contain description and socials
{% endhint %}

{% hint style="info" %}
This list only includes tokens that have been **graduated**
{% endhint %}
