{"uid":"cap_gayK7skygdUN4hCgl5sK7","slug":"codepulse-api-golang-module-registry-lookup-fb1fd8fc","name":"CodePulse API – Golang Module Registry Lookup","description":"Queries Go release tags and modules list from proxy.golang.org.","url":"https://codepulse-api.hahavoid0.workers.dev/registry/golang","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["module"],"properties":{"module":{"type":"string","description":"Golang module URL (e.g. github.com/gin-gonic/gin)"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"result":{"module":"github.com/gin-gonic/gin","versions":["v1.9.1"]},"warnings":[],"supported":true,"confidence":"high","data_as_of":"2026-06","disclaimer":"Informational support only. Not legal, tax, medical, veterinary, or financial advice. Verify with the cited official source or a qualified professional before acting."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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_XJZsnQq1T730zvEFpZg5O","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up a Golang module in the registry to return its supported versions, support status, and confidence level.","exampleAgentPrompt":"Can you check the Golang module registry for github.com/gin-gonic/gin and tell me what versions are available and whether it's supported?","exampleUseCases":[{"title":"Checking Go dependency support status","prompt":"I'm setting up a new Go project and want to use github.com/gorilla/mux — can you check the module registry and tell me what versions are available and if it's still actively supported?"},{"title":"Auditing Go modules before upgrade","prompt":"Before I upgrade my app's dependencies, can you look up github.com/uber-go/zap in the Golang registry and list all available versions so I can pick the right one?"},{"title":"Verifying an unfamiliar Go package","prompt":"I found a reference to github.com/spf13/cobra in some sample code — can you check the Golang module registry and confirm it's a real, supported package and tell me which versions exist?"}],"resultDescription":"Returns a JSON object containing the module URL, a list of available version strings, a boolean indicating whether the module is supported, a confidence rating (e.g. 'high'), the date the data was last known accurate, and an informational disclaimer.","failureModes":["Module not found in registry — may return supported: false with low confidence","Invalid or malformed module URL input — may return validation error","Registry data may be stale — data_as_of field indicates freshness","Network or worker timeout on the Cloudflare edge — transient 5xx error","Unknown or private modules not indexed — returns unsupported with warnings"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify the existence, support status, or available versions of a specific Golang module without manually browsing pkg.go.dev or the module proxy. It is ideal for AI agents performing dependency audits, evaluating unfamiliar packages, or automating Go project setup. Prefer this over general web scraping when you specifically need structured module metadata in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:56:05.746Z","isFirstParty":false}