# Lens API (GraphQL)

**Canonical:** https://apis.io/apis/lens-protocol/lens-api/  
**Provider:** Lens Protocol — https://apis.io/providers/lens-protocol/  
**Base URL:** https://api.lens.xyz/graphql  
**Documentation:** https://lens.xyz/docs/api

Lens API (GraphQL) is one of 6 APIs that [Lens Protocol](https://apis.io/providers/lens-protocol/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include GraphQL, Indexer, Account, Posts, and Feeds. The published artifact set on APIs.io includes API documentation.

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.

## Machine-readable artifacts (5)

- **Documentation** — https://lens.xyz/docs/api
- **GraphQLEndpoint** — https://api.lens.xyz/graphql
- **Explorer** — https://lens.xyz/docs/api/playground
- **GraphQL** — https://raw.githubusercontent.com/api-evangelist/lens-protocol/refs/heads/main/graphql/lens-protocol-graphql.md
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/lens-protocol/refs/heads/main/apis.yml

## Other Lens Protocol APIs (5)

- [Lens TypeScript SDK](https://apis.io/apis/lens-protocol/lens-sdk/)
- [Lens React SDK](https://apis.io/apis/lens-protocol/lens-react-sdk/)
- [Lens Protocol Smart Contracts](https://apis.io/apis/lens-protocol/lens-contracts/)
- [Lens Authentication](https://apis.io/apis/lens-protocol/lens-authentication/)
- [Lens Storage & Metadata](https://apis.io/apis/lens-protocol/lens-storage/)

## Tags

GraphQL, Indexer, Account, Posts, Feeds, Follows

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/lens-protocol/lens-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/lens-protocol/.
