Go Module Proxy Tagged Versions List
List all published semantic version tags for any Go module directly from official proxy.golang.org.
curl -sG "https://api.agentapigate.ai/v1/registry/golang/module_versions" \ --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 Tagged Versions List (`registry.golang.module_versions`) **module**: github.com/gin-gonic/gin · **count**: 28 · **latest_listed**: v1.12.0 ## versions - [1] v1.12.0 - [2] v1.11.0 - [3] v1.10.1 - [4] v1.10.0 - [5] v1.9.1 - [6] v1.9.0 - [7] v1.8.2 - [8] v1.8.1 - [9] v1.8.0 - [10] v1.7.7 - [11] v1.7.6 - [12] v1.7.5 - [13] v1.7.4 - [14] v1.7.3 - [15] v1.7.2
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:registry.golang.module_versions · 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) |
| 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_versions | OAuth 2.1 Hub & /mcp/intel |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 168 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 228t → 102t (-55%) | Partner credit: eligible |
More registry.golang Sibling Endpoints
Frequently Asked Questions
How do I call Go Module Proxy Tagged Versions List (registry.golang.module_versions) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/registry/golang/module_versions with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool registry_golang_module_versions on https://mcp.agentapigate.ai/mcp.
What does registry.golang.module_versions 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_versions?
Passing ?format=md transforms the response into normalized Markdown (~102 tokens vs ~228 raw tokens, saving 55% 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_versions"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.