{"uid":"cap_jSE3fL6U1wZjsAZcOIfi2","slug":"x402-toolbox-github-repo-tree-d502162e","name":"x402-toolbox GitHub Repo Tree","description":"309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.","url":"https://x402-toolbox.shablony-pro.workers.dev/dev/github-repo-tree?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rgPxUKv-pdLbfc5qCKWc4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the file and directory tree of a GitHub repository, paid per-call via x402 USDC with no API key required.","exampleAgentPrompt":"Can you fetch the full file and directory tree for the GitHub repo 'vercel/next.js' so I can see how the codebase is structured?","exampleUseCases":[{"title":"Explore open source project layout","prompt":"Show me the complete directory structure of the 'facebook/react' GitHub repository — I want to understand how the source code is organized before contributing."},{"title":"Audit repo for configuration files","prompt":"Fetch the file tree for the 'shadcn-ui/ui' GitHub repo so I can check what config files and folders are at the root level."},{"title":"Onboard to unfamiliar codebase","prompt":"I just joined a new team — can you pull the full file tree from our GitHub repo 'acme-corp/backend-api' so I can get a sense of the project structure?"}],"resultDescription":"Returns a JSON object with ok and paid status flags, plus the hierarchical file and directory tree of the specified GitHub repository, including all file paths and folder structure.","failureModes":["Invalid or non-existent repository identifier returns an error or empty tree","Private repositories without proper access return authorization errors","Payment failure via x402 prevents the call from completing","Malformed schema input results in a 400-level error","Very large repositories may time out or return truncated results"],"whenToPreferThis":"Choose this endpoint when you need a quick, no-signup way to retrieve a GitHub repository's file tree and are already operating in an x402 USDC payment context. It is ideal for AI agents that need to inspect codebase structure programmatically without managing GitHub OAuth tokens or API keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:45:13.866Z","isFirstParty":false,"canonicalSlug":"x402-toolbox-github-repo-tree-d502162e"}