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.

Lens API (GraphQL) is one of 6 APIs that Lens Protocol publishes on the APIs.io network.

Tagged areas include GraphQL, Indexer, Accounts, Posts, and Feeds. The published artifact set on APIs.io includes API documentation.

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