Go Module Proxy Latest Version & VCS Origin
Resolve the latest semantic version, timestamp, and VCS commit hash for any Go module via proxy.golang.org.
curl -sG "https://api.agentapigate.ai/v1/registry/golang/module_latest" \ --data-urlencode "module=github.com/gin-gonic/gin" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# Go Module Proxy Latest Version & VCS Origin (`registry.golang.module_latest`) **module**: github.com/gin-gonic/gin · **Version**: v1.12.0 · **Time**: 2026-02-28T10:10:09Z · **vcs_url**: https://github.com/gin-gonic/gin · **vcs_hash**: 73726dc606796a025971fe451f0aa6f1b9b847f6
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:registry.golang.module_latest · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| module | string | required | github.com/gin-gonic/gin | Go module import path (e.g. github.com/gin-gonic/gin or github.com/BurntSushi/toml) |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0015 / call | $0/mo · Balance never expires |
| Remote MCP Tool | registry_golang_module_latest | OAuth 2.1 Hub & /mcp/intel |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 62 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 238t → 73t (-76%) | Partner credit: eligible |
More registry.golang Sibling Endpoints
Frequently Asked Questions
How do I call Go Module Proxy Latest Version & VCS Origin (registry.golang.module_latest) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/registry/golang/module_latest with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool registry_golang_module_latest on https://mcp.agentapigate.ai/mcp.
What does registry.golang.module_latest cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.0015 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on registry.golang.module_latest?
Passing ?format=md transforms the response into normalized Markdown (~73 tokens vs ~238 raw tokens, saving 76% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only intel endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["intel"], optional allowed_endpoints: ["registry.golang.module_latest"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.