# Code Storage - Get Repository Clone URL

> Code Storage - Get Repository Clone URL is a paid API for AI agents from Code Storage at codestorage.mpp.tempo.xyz, paid per call via MPP, $0.010000/call, status unknown (last checked 2026-10-12).

Retrieves the authenticated clone URL for a specific Git repository by its ID

## Facts

- Endpoint: GET https://codestorage.mpp.tempo.xyz/repos/:id?utm_source=zero.xyz
- Price: $0.010000/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Provider: Code Storage
- Website: https://code.storage
- Tags: git, repos, code, storage
- Canonical page: https://www.zero.xyz/c/code-storage-id-5c9033ba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VTxn2iDelZyak0gw_U9ak

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability code-storage-id-5c9033ba
```

Example prompt: What's the clone URL for my Code Storage repository with ID abc123? I need the authenticated URL so I can pull the code.

## When to prefer this

Use this endpoint when you already have a repository ID (created via the Code Storage create-repo endpoint) and need to retrieve its clone URL — for example, to configure a local git remote, set up CI/CD pipelines, or share access to the hosted repository. Prefer this over re-creating the repo when the repo already exists and you just need its remote address.

## Known failure modes

- Repository ID not found — 404 if the provided :id does not correspond to an existing repository
- Invalid or missing ID parameter — 400 if the ID is malformed or absent
- Unauthorized — 401/403 if the caller lacks permission to access the repository
- Payment failure — if the $0.01 USDC per-call fee cannot be processed, the request is rejected

## How this service works

Get clone URL for a repository

## Output

Returns the authenticated clone URL for the specified Git repository, which can be used to clone or pull code from the repository via git commands.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/code-storage-id-5c9033ba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from codestorage.mpp.tempo.xyz](https://www.zero.xyz/host/codestorage.mpp.tempo.xyz/llms.txt)
