# Daytona Sandbox Port URL Resolver

> Daytona Sandbox Port URL Resolver is a paid API for AI agents from daytona.withzero.ai, price unknown, status unknown (last checked 2026-09-15).

Retrieves the public URL for a specific port on a running Daytona ephemeral sandbox

## Facts

- Endpoint: GET https://daytona.withzero.ai/v1/sandboxes/:id/ports/:port/url
- Price: price unknown
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Provider: daytona.withzero.ai
- Website: https://daytona.withzero.ai
- Canonical page: https://www.zero.xyz/c/daytona-withzero-ai-url-cf32c701
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bUcqsbbSNLK2kwh4H6Qul

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 daytona-withzero-ai-url-cf32c701
```

Example prompt: What's the public URL for port 3000 on my Daytona sandbox with ID abc123?

## When to prefer this

Use this endpoint when you have a running Daytona sandbox and need to discover the externally accessible URL for a specific port, such as when a web server or app is running inside the sandbox and you need to connect to it from outside.

## Known failure modes

- Sandbox ID not found — sandbox may have expired or never existed
- Port not exposed or not active on the sandbox
- Sandbox has been deleted — returns 404
- Invalid port number format
- Authentication or payment not satisfied — returns 402 or 401

## Output

Returns an object containing the public URL that exposes the specified port of the sandbox, allowing the agent or user to access a running web service or application inside the ephemeral Daytona sandbox.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {},
 "description": "No body parameters required. The endpoint provisions a fixed-spec sandbox (1 CPU, 1 GB RAM, 30 minutes) with no configuration needed.",
 "additionalProperties": false
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/daytona-withzero-ai-url-cf32c701/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from daytona.withzero.ai](https://www.zero.xyz/host/daytona.withzero.ai/llms.txt)
