Skip to main content
GET
/
entities
/
search
Search Entities, Organizations or Wallets
curl --request GET \
  --url https://deep-index.moralis.io/api/v2.2/entities/search \
  --header 'X-API-Key: <api-key>'
import requests

url = "https://deep-index.moralis.io/api/v2.2/entities/search"

headers = {"X-API-Key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};

fetch('https://deep-index.moralis.io/api/v2.2/entities/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://deep-index.moralis.io/api/v2.2/entities/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://deep-index.moralis.io/api/v2.2/entities/search"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("X-API-Key", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://deep-index.moralis.io/api/v2.2/entities/search")
.header("X-API-Key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://deep-index.moralis.io/api/v2.2/entities/search")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'

response = http.request(request)
puts response.read_body
{
  "result": {
    "entities": [
      {
        "name": "Uniswap",
        "id": "uniswap",
        "logo": "https://uniswap.io/favicon.ico",
        "bio": "Uniswap is a decentralized finance protocol that is used to exchange cryptocurrencies.",
        "description": "Uniswap is a decentralized finance protocol that is used to exchange cryptocurrencies.",
        "website": "https://uniswap.io",
        "twitter": "https://twitter.com/uniswap",
        "type": "exchange"
      }
    ],
    "addresses": [
      {
        "address": "0x1f98431c8ad98523631ae4a59f267346ea31f984",
        "chain": "ethereum",
        "is_multi_chain": false,
        "primary_label": "Uniswap",
        "entity": {
          "name": "Uniswap",
          "id": "uniswap"
        }
      }
    ],
    "categories": [
      {
        "name": "Uniswap",
        "id": "uniswap"
      }
    ]
  },
  "page": "1",
  "page_size": "100"
}

Authorizations

X-API-Key
string
header
default:test
required

Query Parameters

query
string
required

The search query

Example:

"Doge"

limit
integer

The desired page size of the result.

Required range: x >= 0

Response

200 - application/json

Returns the search results.

result
object
required
page
integer

The current page of the result

Example:

"1"

page_size
integer

The number of results per page

Example:

"100"