Tunnel your FastAPI localhost to a public URL
Get a public HTTPS URL for your FastAPI server in one command, whether you run `uvicorn main:app --reload` or `fastapi dev`. Point Stripe or GitHub webhooks at a real path operation, share your interactive `/docs` with a teammate, or test the API from an external client — and inspect every request locally with signature verification and replay. EU-hosted and DSGVO-first.
One command: npx useburrow http 8000
Get started free · Read the docs
Expose FastAPI in four steps
- Run your FastAPI server - Start FastAPI as usual: `uvicorn main:app --reload` (or `fastapi dev`) serves on http://localhost:8000.
- Open a tunnel - In a second terminal run `npx useburrow http 8000`. Burrow prints a public https:// URL on the EU edge.
- Point your webhook at it - Use the printed URL (e.g. https://your-app.eu.useburrow.dev/webhooks) as the endpoint in your provider — requests reach your path operation.
- Inspect & replay - Open the local inspector at http://127.0.0.1:4040 to verify webhook signatures, decode payloads, and replay requests without re-triggering the provider.
What developers use Burrow with FastAPI for
- Receive webhooks on a FastAPI `@app.post()` path operation
- Share your interactive Swagger UI (`/docs`) with a reviewer
- Test a FastAPI backend from a mobile app or third-party service
Frequently asked questions
- How do I expose a FastAPI app to the internet?
- Run `npx useburrow http 8000` alongside `uvicorn main:app --reload`. Burrow returns a public HTTPS URL that tunnels to your local server over an outbound WebSocket, so it works behind any firewall or NAT.
- Do I need to allow the tunnel host?
- FastAPI does not restrict hosts by default, so no extra config is needed. If you have added `TrustedHostMiddleware`, include your Burrow hostname (or `"*"` in development) in its `allowed_hosts`.
- Where does my data go?
- Through Burrow’s EU edge (Hetzner DE/FI). Request bodies stay on your machine unless you explicitly enable encrypted cloud history.
Tunnel FastAPI in one command
npx useburrow http 8000 — EU-hosted, DSGVO-first, MCP-native.