Zum Inhalt springen
GET /v1/account

Profile by username or address

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/lensprotocol-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/lensprotocol-api/v1/account" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/lensprotocol-api/v1/account", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/lensprotocol-api/v1/account");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/lensprotocol-api/v1/account",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "bio": "Founder & CEO @Aave",
        "name": "Stani",
        "source": "Lens",
        "address": "0xAd2c0BEAdE60fb9f7ec5C87bDE8e4c126145F6E7",
        "picture": "https://ik.imagekit.io/lens/4f0b6ecae2682c22c38a3f1c12f70e386ec68638b1895e53c969fdc9853f7022_rHSuskh0J.webp",
        "username": "stani"
    },
    "meta": {
        "timestamp": "2026-06-11T16:46:51.603Z",
        "request_id": "f52b8a79-dd51-4130-a407-cb344b598620"
    },
    "status": "ok",
    "message": "Account retrieved successfully",
    "success": true
}