DeepWiki APIdeepwiki.com ↗
Access DeepWiki's indexed GitHub repository documentation: search repos, fetch markdown wiki pages, table of contents, and source file references via 7 endpoints.
What is the DeepWiki API?
The DeepWiki API exposes 7 endpoints for retrieving AI-generated documentation wikis for GitHub repositories indexed on DeepWiki.com. You can search repositories by keyword or owner/repo pattern using search_repositories, pull full markdown wiki content page-by-page with get_repo_wiki_page, or dump an entire repository's documentation at once via get_repo_wiki_all_pages. Each wiki page response includes the markdown content and an array of source file paths that the documentation references.
No input parameters required.
curl -X GET 'https://api.parse.bot/scraper/4ff5812b-da87-4646-b5f3-360abc785560/get_homepage_featured_repos' \ -H 'X-API-Key: $PARSE_API_KEY'
Typed, relational, agent-ready
A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.
- Fully typed · autocompletes
- Objects link to objects
- Typed errors & pagination
Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:
uv add parse-sdk uv run parse init uv run parse add --marketplace deepwiki-com-api
uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.
from parse_apis.deepwiki_api import DeepWiki, Repository, WikiPage, WikiOverview, WikiStatus, Profile, TocEntry
client = DeepWiki()
# Search for repositories by keyword
for repo in client.repositories.search(query="fastapi"):
print(repo.repo_name, repo.stargazers_count, repo.language)
# Get a user/org profile with their indexed repos
profile = client.profiles.get(username="microsoft")
print(profile.name, profile.type, profile.bio)
for indexed_repo in profile.indexed_repositories:
print(indexed_repo.repo_name, indexed_repo.language)
# Get wiki overview with table of contents
overview = client.wikioverviews.get(owner="microsoft", repo="vscode")
print(overview.repo, overview.overview[:100])
for entry in overview.table_of_contents:
print(entry.slug, entry.title)
# Fetch a specific wiki page by slug
page = client.wikipages.get(owner="microsoft", repo="vscode", slug="1.1-repository-structure-and-build-system")
print(page.slug, page.content[:100])
print(page.relevant_source_files)
# Check if a wiki exists for a repo
status = client.wikistatuses.check(owner="facebook", repo="react")
print(status.repo, status.exists)
Retrieve the list of featured/popular repositories displayed on the DeepWiki landing page. Returns all indexed repositories sorted by popularity. No parameters required.
No input parameters required.
{
"type": "object",
"fields": {
"repositories": "array of repository objects with id, repo_name, last_modified, description, stargazers_count, language, topics"
},
"sample": {
"data": {
"repositories": [
{
"id": "v1.9.9.5/PUBLIC/microsoft/vscode/6a4e80f4::main",
"topics": [
"editor",
"electron",
"visual-studio-code"
],
"language": "TypeScript",
"repo_name": "microsoft/vscode",
"description": "Visual Studio Code",
"last_modified": "2026-06-06T08:54:36.137997+00:00",
"stargazers_count": 183870
}
]
},
"status": "success"
}
}About the DeepWiki API
Discovery and Search
get_homepage_featured_repos returns the full list of repositories DeepWiki surfaces on its landing page, each with id, repo_name, last_modified, description, and stargazers_count. search_repositories accepts a query string in plain keyword or owner/repo format and returns the same repository object shape. get_user_or_org_profile takes a username and returns name, bio, type ('User' or 'Organization'), avatar URL, and an indexed_repositories array of every repo that user or org has documented on DeepWiki.
Wiki Content Retrieval
Before fetching content, call check_repo_wiki_exists with owner and repo parameters to confirm a wiki is available — it returns a single exists boolean alongside the repo string. get_repo_wiki_overview then returns the repository metadata (including language and topics fields not present in search results), a markdown overview string, and a table_of_contents array of objects containing slug, title, and id. These slugs are the keys to individual pages.
Page-Level and Bulk Content
get_repo_wiki_page takes owner, repo, and a slug (e.g. '1.2-build-system-and-cicd') and returns the full content as a markdown string plus relevant_source_files — an array of file paths within the repository that the wiki page draws from. For cases where you need all documentation at once, get_repo_wiki_all_pages returns a pages array where each entry carries slug, title, content, and relevant_source_files, covering the entire indexed wiki in a single call.
The DeepWiki API is a managed, monitored endpoint for deepwiki.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when deepwiki.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.
This isn't an official deepwiki.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.
Will this API break when the source site changes?+
Is this an official API from the source site?+
Can I fix or extend this API myself if I need a new endpoint or field?+
What happens if I call an endpoint that has an issue?+
- Building a code documentation search tool that indexes wiki content across multiple GitHub repositories using
get_repo_wiki_all_pages - Generating repository summaries by combining
get_repo_wiki_overviewmetadata fields likelanguage,topics, and the markdownoverview - Checking whether a repo has documentation before offering a 'docs' link in a developer dashboard, using
check_repo_wiki_exists - Aggregating all repositories for a GitHub organization using
get_user_or_org_profileto listindexed_repositories - Feeding LLM context windows with structured markdown documentation and
relevant_source_filesfromget_repo_wiki_page - Surfacing trending open-source projects by polling
get_homepage_featured_reposand sorting bystargazers_count - Mapping which source files are most referenced across a codebase by collecting
relevant_source_filesfrom every page viaget_repo_wiki_all_pages
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 100 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does DeepWiki have an official developer API?+
What does `get_repo_wiki_overview` return that search endpoints don't?+
get_repo_wiki_overview returns a metadata object that includes language and topics fields, which are not present in repository objects returned by search_repositories or get_homepage_featured_repos. It also returns the full markdown overview text and the table_of_contents array with slug, title, and id entries needed to fetch individual pages.Can I retrieve wikis for repositories not yet indexed on DeepWiki?+
check_repo_wiki_exists will return exists: false for unindexed repos. The API covers search, profile lookups, and content retrieval for the existing DeepWiki index. You can fork this API on Parse and revise it to add an endpoint that triggers indexing or monitors indexing status if DeepWiki exposes that capability.Is there a way to filter `search_repositories` results by language, topic, or star count?+
search_repositories endpoint accepts only a query string and returns an unfiltered array of matching repository objects. Client-side filtering on stargazers_count or description is possible with the returned data, but server-side filtering parameters are not currently supported. You can fork this API on Parse and revise it to add filter parameters if the underlying data supports it.How fresh is the wiki content returned by these endpoints?+
last_modified field indicating when DeepWiki last updated that repository's documentation. The API reflects the current state of DeepWiki's index at the time of the request — it does not expose historical versions or changelogs for wiki pages.