Context7 REST API

The Context7 REST API exposes endpoints for searching libraries, retrieving documentation context for LLMs, refreshing indexed sources, and submitting new sources (GitHub repositories, OpenAPI specs, llms.txt files, websites, and Confluence spaces). Endpoints span v1 and v2 paths under https://context7.com/api and use Bearer token authentication with keys issued from the Context7 dashboard.

API entry from apis.yml

apis.yml Raw ↑
aid: context7:rest-api
name: Context7 REST API
tags:
- Documentation
- LLM
- REST
- Search
image: https://kinlane-productions.s3.amazonaws.com/apis-json/apis-json-logo.jpg
baseURL: https://context7.com/api
humanURL: https://context7.com/docs/api-guide
properties:
- url: https://context7.com/docs/api-guide
  type: Documentation
- url: https://context7.com/docs/llms.txt
  type: LLMsTxt
description: The Context7 REST API exposes endpoints for searching libraries, retrieving documentation
  context for LLMs, refreshing indexed sources, and submitting new sources (GitHub repositories, OpenAPI
  specs, llms.txt files, websites, and Confluence spaces). Endpoints span v1 and v2 paths under https://context7.com/api
  and use Bearer token authentication with keys issued from the Context7 dashboard.