API REST

Integrate InstaTunnel into your applications and workflows using our comprehensive REST API.

Base URL

https://api.instatunnel.my

Authentication

All API requests require authentication using your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Endpoints

GET /tunnels

List all active tunnels for your account.

# Example request
curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.instatunnel.my/api/tunnels

POST /tunnels

Create a new tunnel.

# Example request
curl -X POST \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"port": 3000, "subdomain": "myapp"}' \
  https://api.instatunnel.my/api/tunnels

DELETE /tunnels/:id

Close an active tunnel.

# Example request
curl -X DELETE \
  -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.instatunnel.my/api/tunnels/tun_abc123

🔧 SDK Coming Soon: We're working on official SDKs for Python, Node.js, and Go to make API integration even easier.

Necesitas una ruta rapida?

Mira planes y luego sigue una guia cuando quieras.

For MCP endpoints on Pro/Business, use instatunnel 8787 --mcp.

Documentacion | InstaTunnel