Search…
⌃K
Links
🗒

Get projects

TL;DR

You can fetch all project ids, names and symbols with this endpoint. You can use the following examples in cURL and Python to get started within seconds.
cURL
Python
1
# Set your API Key here.
2
API_TOKEN="d3adb33f-c123-45b6-7890-c0ff33"
3
curl \
4
-H "content-type: application/json" \
5
-H "authorization: Bearer $API_TOKEN" \
6
"https://api.tokenterminal.com/v2/projects"
1
import requests, json
2
# Set your API Key here.
3
API_TOKEN="d3adb33f-c123-45b6-7890-c0ff33"
4
headers = {"Authorization": f"Bearer {API_TOKEN}"}
5
r = requests.get("https://api.tokenterminal.com/v2/projects", headers=headers)
6
print(r.json())

Deep dive

This endpoint gives a comprehensive list of projects supported by Token Terminal. The project_id returned in the response of each project should be used as a Path parameter for querying the Get project info and Get project's historical metrics endpoints.
GET v2/projects

Response

Attributes:

href string: The path for querying project's info and historical metrics endpoints.
name string: Project's name.
project_id string: Project's unique id. Used as a Path parameter for querying the Get project info and Get project's historical metrics endpoints.
symbol string: Project's token's symbol. Empty if doesn't exist.
{
"data": [
{
"name": "Aave",
"project_id": "aave",
"symbol": "AAVE",
"href": "/v2/projects/aave"
},
...
]
}