Lens API (GraphQL)

The Lens API is a hosted GraphQL endpoint that indexes the Lens Chain contracts and exposes queries and mutations for accounts, posts (publications), feeds, follows, groups, apps, notifications, and search. It is the primary read/write surface for most Lens applications and is consumed by the Lens TypeScript SDK and React SDK. Authentication uses Lens-issued bearer tokens obtained via a wallet signature.

API entry from apis.yml

apis.yml Raw ↑
aid: lens-protocol:lens-api
name: Lens API (GraphQL)
description: 'The Lens API is a hosted GraphQL endpoint that indexes the Lens

  Chain contracts and exposes queries and mutations for accounts,

  posts (publications), feeds, follows, groups, apps, notifications,

  and search. It is the primary read/write surface for most Lens

  applications and is consumed by the Lens TypeScript SDK and React

  SDK. Authentication uses Lens-issued bearer tokens obtained via a

  wallet signature.

  '
humanURL: https://lens.xyz/docs/api
baseURL: https://api.lens.xyz/graphql
tags:
- GraphQL
- Indexer
- Accounts
- Posts
- Feeds
- Follows
properties:
- type: Documentation
  url: https://lens.xyz/docs/api
- type: GraphQLEndpoint
  url: https://api.lens.xyz/graphql
- type: Explorer
  url: https://lens.xyz/docs/api/playground
- url: graphql/lens-protocol-graphql.md
  type: GraphQL