> ## Documentation Index
> Fetch the complete documentation index at: https://docs.socket.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Socket stack

> The product layers behind Socket's routing, execution, and settlement infrastructure.

Socket is built in layers. Teams can start with a hosted interface, integrate directly with APIs, or build around Socket's routing and intent infrastructure for more custom money-movement flows.

## Stack layers

[Socket Widget
A production-ready swap and deposit interface that apps can embed quickly, with routing, quotes, approvals, execution, and status handled behind the UI.](https://docs.socket.tech/integrate/socket-widget.md)

[Socket API
Direct endpoints for teams that want to quote, execute, and track routes inside their own product flows.](https://docs.socket.tech/integrate/introduction.md)

Socket routing engine
The decisioning layer that compares routes across 10,000+ assets and 50+ chains, balancing output, speed, reliability, approvals, gas, and provider availability.

Socket intents
Outcome-based execution infrastructure where users specify the result they want and Socket coordinates the route, liquidity, and settlement path.

## How the layers work together

The widget and API are the integration surfaces. The routing engine powers route discovery and execution. Socket intents sit underneath higher-level flows where the product needs outcome-based execution instead of managing every transaction step directly.

Together, these layers let teams choose how much of the stack they want Socket to handle, from a fully embedded UI to a custom API integration.

> [card] [Start with the API](https://docs.socket.tech/integrate/introduction.md)
>
> Build custom routing and execution flows with Socket endpoints.

> [card] [Embed the widget](https://docs.socket.tech/integrate/socket-widget.md)
>
> Add Socket's hosted swap and deposit experience to your product.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.