# Layercode Realtime Voice API

**Canonical:** https://apis.io/apis/layercode/layercode-realtime-voice-api/  
**Provider:** Layercode — https://apis.io/providers/layercode/  
**Base URL:** wss://api.layercode.com/v1/agents/web/websocket  
**Documentation:** https://docs.layercode.com/api-reference/frontend-ws-api

Layercode Realtime Voice API is one of 5 APIs that [Layercode](https://apis.io/providers/layercode/) publishes on the [APIs.io](https://apis.io/) network, described by an AsyncAPI event-driven specification. Tagged areas include Real-Time, WebSocket, Voice, and Audio. The published artifact set on APIs.io includes API documentation, an API reference, and an AsyncAPI specification.

Bidirectional realtime WebSocket transport that streams base64 PCM microphone audio from the browser to Layercode and streams synthesized speech, transcripts, and structured data back, authorized with a short-lived client_session_key.

## Machine-readable artifacts (4)

- **Documentation** — https://docs.layercode.com/api-reference/frontend-ws-api
- **APIReference** — https://docs.layercode.com/api-reference/frontend-ws-api
- **AsyncAPI** — https://raw.githubusercontent.com/api-evangelist/layercode/refs/heads/main/asyncapi/layercode-asyncapi.yml
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/layercode/refs/heads/main/apis.yml

## Other Layercode APIs (4)

- [Layercode Webhooks API](https://apis.io/apis/layercode/layercode-webhooks-api/)
- [Layercode Agents API](https://apis.io/apis/layercode/layercode-agents-api/)
- [Layercode Calls API](https://apis.io/apis/layercode/layercode-calls-api/)
- [Layercode Sessions API](https://apis.io/apis/layercode/layercode-sessions-api/)

## Tags

Real-Time, WebSocket, Voice, Audio

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/layercode/layercode-realtime-voice-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/layercode/.
