{"uid":"cap_zaMX3SbODMt_HhDEx-nUp","slug":"agentearn-x402-github-repo-metrics-8aebd8de","name":"AgentEarn x402 — GitHub Repo Metrics","description":"Pay-per-call live data APIs settled in USDC on Base (Ethereum) mainnet via x402. No accounts, no API keys — just a wallet. Covers live crypto ticker prices, GitHub repo metrics, Base gas price, and token market data. Payment goes to the operator's Base address.","url":"https://x402-20260909-agent.projectk.org/gh","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"repo":{"type":"string"}}},"responseSchema":{"type":"json","example":{"name":"owner/repo","repo":"owner/repo","forks":123,"stars":1234,"pushed":"2026-01-01T00:00:00Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZNYAg6Br2gYWUTGiujPjA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns live GitHub repository metrics (stars, forks, last push) for a given repo, paid per-call in USDC via x402 with no API key required.","exampleAgentPrompt":"What are the current stars, forks, and last push date for the coinbase/agentkit GitHub repo?","exampleUseCases":[{"title":"Track open source project popularity","prompt":"How many stars and forks does the vercel/next.js GitHub repo have right now?"},{"title":"Monitor competitor repo activity","prompt":"Check the last push date and star count for openai/openai-python — I want to know if it's been active recently."},{"title":"Validate repo traction before investing","prompt":"Pull the latest GitHub metrics for huggingface/transformers — stars, forks, and when it was last updated."}],"resultDescription":"A JSON object containing the repository's owner/name slug, current star count, fork count, and ISO 8601 timestamp of the last push event — sourced live from GitHub and returned after a $0.001 USDC micropayment settled on Base mainnet.","failureModes":["Invalid or non-existent repo string returns an error or empty response","Missing 'repo' query parameter causes a 400 or unprocessable request","Payment failure (insufficient wallet balance or x402 handshake issue) blocks the request","GitHub API rate limits on the proxy side may cause transient 503 errors","Private repositories will not return data"],"whenToPreferThis":"Choose this endpoint when you need real-time GitHub repo statistics (stars, forks, last push) without setting up a GitHub OAuth token or API key, especially in wallet-native agent workflows using x402 micropayments on Base. It is ideal for lightweight, pay-per-use lookups where managing API credentials is undesirable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:33:56.187Z","isFirstParty":false}