Skip to main content

Don't have an API key yet?

Sign-up to Moralis to get your free API key and start building today.

Get Your Free API Key
Version: 2.2

Get Entity by Id

GEThttps://deep-index.moralis.io/api/v2.2/entities/:entityId

Retrieve detailed information about a specific entity by its ID

PATH PARAMS
entityIdstringrequired
The ID of the entity
Responses
API KEY
import Moralis from 'moralis';

try {
await Moralis.start({
apiKey: "YOUR_API_KEY"
});

const response = await Moralis.EvmApi.entities.getEntity({
"entityId": "uniswap"
});

console.log(response.raw);
} catch (e) {
console.error(e);
}
Response Example
{
"name": "Uniswap",
"id": "uniswap",
"logo": "https://entities-logos.s3.us-east-1.amazonaws.com/uniswap.png",
"bio": "Uniswap is the pioneering Ethereum-powered decentralized exchange (DEX) facilitating the exchange of ERC-20 tokens through liquidity pools.",
"description": "",
"website": "https://uniswap.org",
"twitter": "https://twitter.com/Uniswap",
"type": "Decentralized Exchange",
"addresses": [
{
"address": "0x54f1acac26b10cdffc8a43904713aa0ad67a33f9",
"chain": "0x1",
"is_multi_chain": "false",
"primary_label": "Uniswap: V3 Pool",
"additional_labels": [
""
]
}
]
}