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

# What Lasso is and when it fits

> One fast, resilient JSON-RPC endpoint for EVM apps and the agents that build them, routed across managed providers and your own nodes by live latency and health

# One endpoint for all your RPC

A single provider URL fails whenever that provider does: an outage, a rate
limit, a slow region or a method it doesn't serve becomes your app's error.
Lasso replaces it with one standard JSON-RPC endpoint that routes every request
across a pool of providers. It measures each provider's latency and health per
kind of request, orders them by the strategy you pick, and fails over before
your app sees the error. Every response says what served it and what it cost.

Your app keeps speaking JSON-RPC; only the URL changes. An agent can create a
working endpoint with one HTTP request and no signup:

```bash theme={null}
curl -sS https://lasso.sh/api/v1/keys \
  -H 'content-type: application/json' -d '{"name":"prod"}'
```

## How a request flows

```text theme={null}
your app ──▶ https://lasso.sh/rpc/k/<key>/profile/premium/fastest/base
               │
               ├─ finds providers in the profile that serve the chain and method
               ├─ orders them by health, then by your strategy
               ├─ sends the request, failing over on errors that are safe to retry
               └─ returns standard JSON-RPC, plus routing evidence on request
```

viem, ethers, Foundry, Hardhat and indexers take the URL as is. It names three
choices:

* **Profile:** Lasso's `premium` pool, its `public` pool, or a Custom profile
  over your own nodes and provider accounts. One key reaches all of them.
* **Strategy**, per call site: `load-balanced`, `balanced-fast`, `fastest` or
  `priority`.
* **Chain:** any EVM chain Lasso serves, or any your own providers serve.

## When Lasso fits

| Your situation | What Lasso gives you |
| - | - |
| A provider's outages or rate limits show up as errors in your app | Failover across a pool of providers behind one URL |
| Latency matters: trading, wallets, bots | `fastest` and `balanced-fast` routing, measured in the region serving you |
| Backends and indexers exhaust one provider's quota | Load spread across providers with `load-balanced` |
| You already pay for provider accounts or run your own nodes | A Custom profile routes over them with the key you already have |
| Subscriptions must survive a provider outage | WebSocket failover that backfills missed blocks |
| An agent is setting up your infrastructure | One-request provisioning, pay-as-you-go in USDC, and a handoff to your team |

## What your app keeps

Lasso routes requests; your app keeps the parts that depend on its own state:

* **Transactions.** Lasso resends identical signed bytes to up to three
  providers when one fails. Signing, nonces, replacement and finality stay
  with your app. See [transactions](https://docs.lasso.sh/cloud/rpc-behavior.md#transactions).
* **Log scans.** Use `eth_getLogs` or subscriptions; HTTP filter IDs live on
  one provider, so Lasso doesn't serve them.
* **Provider limits.** Historical depth and `eth_getLogs` range caps follow
  the providers in the pool.

## How you pay

Premium requests are priced in USD by method and strategy, drawn first from
included usage, then from the account's balance. An account that has paid
keeps serving on public providers for 30 days if its balance runs out. An
account a person has joined gets a free monthly allowance on public providers.
See [serving access and pricing](https://docs.lasso.sh/cloud/serving-access-and-pricing.md).

## Two ways in, one account

| | Agents, through the API | People, through the dashboard |
| - | - | - |
| Start | `POST /api/v1/keys`, no signup | Sign in at [lasso.sh](https://lasso.sh) and create an endpoint |
| Fund | Pay a 402 challenge from a USDC wallet | Add balance, or subscribe to Pro or Custom |
| Manage | A management token | The dashboard |

A person can claim what an agent built without changing a single URL. See
[accounts, people and agents](https://docs.lasso.sh/cloud/accounts-and-agents.md).

## Next

* [Quickstart](https://docs.lasso.sh/cloud/quickstart.md): a working endpoint in one request.
* [Set up production RPC with an agent](https://docs.lasso.sh/cloud/guides/production-rpc-with-an-agent.md):
  keys per environment, one balance, a handoff.
* [Routing](https://docs.lasso.sh/cloud/routing.md): how selection and failover work.
* [Chains and prices](https://docs.lasso.sh/cloud/reference/chains-and-prices.md): every chain Lasso
  serves.
* [Lasso RPC Core](https://docs.lasso.sh/introduction.md): run the routing engine yourself.


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