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

# Overview

> API reference for Sprinter liquidity — discover available liquidity, quote a cross-chain borrow, and get signing authorization to execute

The Liquidity API exposes **Sprinter Intent Liquidity** that can be accessed through one of the supported intent protocols such as Across or LiFi Intents. The API allows you to discover where liquidity is available, get a quote for a borrow, and obtain the signing authorization needed to execute the transaction — all scoped to a chosen intent protocol.

> [!NOTE]
>
> These are **zero-collateral** loans — solvers borrow without locking upfront capital. Repayment is secured by the intent protocol's escrow and settlement flow.

> [!WARNING]
>
> **This is the solver-facing surface.** It returns a borrow authorization and expects you to run your own fill and settlement.
>
> If you are an asset issuer, wallet, or application that wants a price and a transaction to send, use [Solve RFQ](https://docs.sprinter.tech/api-reference/solve-rfq/overview.md) instead. [`GET /lifi-intents/rfq`](https://docs.sprinter.tech/api-reference/sprinter/lifi-intents/rfq) runs this same pricing and reservation pipeline and hands back something you can sign.

## Base URL

```
https://api.sprinter.tech
```

## Authentication

All Liquidity API requests must be authenticated with an API key, passed in the `X-Auth-Token` header:

```bash theme={null}
curl --request GET \
  --url 'https://api.sprinter.tech/liquidity/chain/eip155:8453/tokens' \
  --header 'X-Auth-Token: YOUR_API_KEY'
```

> [!TIP]
>
> Request Liquidity API credentials by contacting [support@sprinter.tech](mailto:support@sprinter.tech).

## OpenAPI Specification

The full machine-readable API spec is available for AI agents, code generators, and API clients:

| Resource | URL |
| - | - |
| **OpenAPI Spec (JSON)** | [api.sprinter.tech/swagger/doc.json](https://api.sprinter.tech/swagger/doc.json) |
| **Swagger UI** | [api.sprinter.tech/swagger/index.html](https://api.sprinter.tech/swagger/index.html) |

> [!TIP]
>
> Point your AI agent or code generator at the [OpenAPI spec](https://api.sprinter.tech/swagger/doc.json) to auto-generate a client in any language.

## How it works

A typical cross-chain borrow follows this lifecycle:

1. **Discover** — check the tokens and liquidity available for a route (`tokens`, `pools`, `fees`).
2. **Quote** — request a borrow quote for the source chain, protocol, and type to get cost, fees, and a quote id.
3. **Authorize** — post the quote to get the signing authorization for the liquidity transaction.
4. **Execute** — submit the authorized transaction on-chain.

## Endpoints

### Info

| Endpoint | Description |
| - | - |
| [`GET /liquidity/chain/{chainId}/tokens`](https://docs.sprinter.tech/api-reference/sprinter/liquidity/returns-supported-tokens-for-a-chain) | Supported tokens for a chain |
| [`GET /liquidity/pools/{poolType}`](https://docs.sprinter.tech/api-reference/sprinter/liquidity/get-available-liquidity-for-a-specific-pool-type-on-a-chain) | Available liquidity for a pool type on a chain |
| [`GET /liquidity/protocol/{protocol}/events`](https://docs.sprinter.tech/api-reference/sprinter/liquidity/stream-available-liquidity-updates-via-sse) | Stream available-liquidity updates via SSE |
| [`GET /liquidity/protocol/{protocol}/fees`](https://docs.sprinter.tech/api-reference/sprinter/liquidity/get-fee-and-limits-for-a-given-protocol-route) | Fees and limits for a protocol route |
| [`GET /protocol/{protocol}/solver`](https://docs.sprinter.tech/api-reference/sprinter/returns-solver-address) | Solver address for a protocol |
| [`GET /health`](https://docs.sprinter.tech/api-reference/sprinter/health-check) | Service health check |

### Actions

| Endpoint | Description |
| - | - |
| [`GET /liquidity/v2/chain/{srcChain}/protocol/{protocol}/type/{type}/quote`](https://docs.sprinter.tech/api-reference/sprinter/liquidity/get-the-borrow-quote-for-a-liquidity-transaction-based-on-the-input-data) | Borrow quote for a liquidity transaction |
| [`POST /liquidity/v2/chain/{dstChain}/protocol/{protocol}/signature`](https://docs.sprinter.tech/api-reference/sprinter/liquidity/get-signing-authorization-for-a-liquidity-transaction) | Signing authorization for a liquidity transaction |


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