Lens TypeScript SDK

The Lens SDK is the official TypeScript client for the Lens API. It wraps GraphQL operations behind typed functions, handles auth token lifecycle, encodes content metadata (Lens metadata standards), and integrates with viem/ethers for contract calls when needed.

Lens TypeScript SDK is one of 6 APIs that Lens Protocol publishes on the APIs.io network.

Tagged areas include SDK, TypeScript, and Client Library. The published artifact set on APIs.io includes API documentation.

API entry from apis.yml

apis.yml Raw ↑
aid: lens-protocol:lens-sdk
name: Lens TypeScript SDK
description: 'The Lens SDK is the official TypeScript client for the Lens API.

  It wraps GraphQL operations behind typed functions, handles auth

  token lifecycle, encodes content metadata (Lens metadata standards),

  and integrates with viem/ethers for contract calls when needed.

  '
humanURL: https://lens.xyz/docs/sdk
baseURL: https://www.npmjs.com/package/@lens-protocol/client
tags:
- SDK
- TypeScript
- Client Library
properties:
- type: Documentation
  url: https://lens.xyz/docs/sdk
- type: Package
  url: https://www.npmjs.com/package/@lens-protocol/client
- type: Repository
  url: https://github.com/lens-protocol/lens-sdk