Skip to main content

GET /api/lens/{handle}

Lens Protocol profile

GET lens data from lens service

Endpoint​

GET https://api.web3identity.com/api/lens/{handle}

Parameters​

NameInTypeRequiredDescription
handlepathstringâś…ENS name or identifier

Example Request​

curl -s "https://api.web3identity.com/api/lens/:handle" | jq

Responses​

200 Success​

{
"handle": "stani",
"profileId": "0x05",
"name": "Stani Kulechov",
"bio": "Founder of Aave & Lens Protocol",
"avatar": "ipfs://QmExample",
"followers": 123456,
"following": 567,
"posts": 890
}

400 Bad request - invalid parameters​

{
"example": "response"
}

402 Payment required​

404 Resource not found​

{
"example": "response"
}

429 Rate Limited​

{
"example": "response"
}

500 Internal Server Error - Something went wrong on our end​

{
"error": "Internal server error",
"code": "INTERNAL_ERROR"
}

Auto-generated from OpenAPI spec