Skip to main content
POST
/
v3
/
identities
/
batch
Batch Resolve
curl --request POST \
  --url https://api.polynode.dev/v3/identities/batch \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "wallets": [
    "0x204f72f35326db932158cba6adff0b9a1da95e14",
    "0x84cfffc3f16dcc353094de30d4a45226eccd2f63"
  ]
}
'
import requests

url = "https://api.polynode.dev/v3/identities/batch"

payload = { "wallets": ["0x204f72f35326db932158cba6adff0b9a1da95e14", "0x84cfffc3f16dcc353094de30d4a45226eccd2f63"] }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
wallets: [
'0x204f72f35326db932158cba6adff0b9a1da95e14',
'0x84cfffc3f16dcc353094de30d4a45226eccd2f63'
]
})
};

fetch('https://api.polynode.dev/v3/identities/batch', 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://api.polynode.dev/v3/identities/batch",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'wallets' => [
'0x204f72f35326db932158cba6adff0b9a1da95e14',
'0x84cfffc3f16dcc353094de30d4a45226eccd2f63'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)

func main() {

url := "https://api.polynode.dev/v3/identities/batch"

payload := strings.NewReader("{\n \"wallets\": [\n \"0x204f72f35326db932158cba6adff0b9a1da95e14\",\n \"0x84cfffc3f16dcc353094de30d4a45226eccd2f63\"\n ]\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")

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

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

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://api.polynode.dev/v3/identities/batch")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"wallets\": [\n \"0x204f72f35326db932158cba6adff0b9a1da95e14\",\n \"0x84cfffc3f16dcc353094de30d4a45226eccd2f63\"\n ]\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.polynode.dev/v3/identities/batch")

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

request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"wallets\": [\n \"0x204f72f35326db932158cba6adff0b9a1da95e14\",\n \"0x84cfffc3f16dcc353094de30d4a45226eccd2f63\"\n ]\n}"

response = http.request(request)
puts response.read_body
{
  "found": 2,
  "identities": {
    "0x204f72f35326db932158cba6adff0b9a1da95e14": {
      "eoa": "0xafcd9f5f78cb559c99d93f1914880df74cc3fc21",
      "username": "swisstony",
      "wallet_type": null
    },
    "0x84cfffc3f16dcc353094de30d4a45226eccd2f63": {
      "eoa": "0x30694d545db14898353d6dbf2b1dcd9c993fd5c2",
      "username": "mooseborzoi",
      "wallet_type": "proxy"
    }
  },
  "requested": 2
}
Resolve up to 1,000 trading wallets per call against PolyNode’s identity index (11.9M wallets, refreshed daily). Answers come from a single indexed query — typical response time is tens of milliseconds regardless of batch size. Wallets without a known identity come back as null, so the response always covers every requested wallet. For richer single-wallet resolution (live on-chain fallback for brand-new wallets), the Resolve Wallet endpoint remains the deepest option.
curl -X POST "https://api.polynode.dev/v3/identities/batch" \
  -H "x-api-key: $POLYNODE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"wallets": ["0x204f72f35326db932158cba6adff0b9a1da95e14"]}'

Authorizations

x-api-key
string
header
required

Response

200 - application/json

Success