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

# Exclude, prefer and JIT

> Per-request controls over which pools a Robinhood Chain quote may use, and execution-time route selection.

Robinhood Chain. They apply to that one request only.

| Parameter | Who | Values |
| - | - | - |
| `exclude` | Public tier and partner keys | Comma-separated, at most 64 entries |
| `prefer` | Partner keys, not with `stream` | Same syntax as `exclude` |
| `preferBps` | Partner keys, with `prefer` | Integer `0` to `50`, default `10` |
| `jit` | Partner keys, with `recipient` | `1` or `0` |

## Exclude

Pools the quote never routes through. Each entry is a pool or pair contract address (`0x` + 40 hex), a Uniswap v4 or PancakeSwap
Infinity pool id (`0x` + 64 hex), or a hook address (every v4 or Infinity pool with that hook). Case-insensitive. Give one
`exclude` parameter with a comma-separated list; it also applies to streams.

```bash theme={null}
curl -G "https://partners.route.fun/quote" \
  --data-urlencode "in=0x0000000000000000000000000000000000000000" \
  --data-urlencode "out=0x5fc5360d0400a0fd4f2af552add042d716f1d168" \
  --data-urlencode "amount=10000000000000000" \
  --data-urlencode "exclude=0x18ab375abb1891f998fb6e342613b339e8752486"
```

## Prefer

Pools you would rather route through, for example your own. Route quotes twice: normally, and with every hop that has a preferred
pool limited to those pools. It returns the preferred plan only if it puts more of the input through preferred pools and its net
output (after gas) is at most `preferBps` below the normal quote's. The response then has:

| Field | Meaning |
| - | - |
| `prefer.applied` | Whether the preferred plan was returned |
| `prefer.costBps` | Net output given up against the normal quote (0 when not applied) |
| `prefer.preferredShare` | Share of the input that passes through at least one preferred pool |
| `prefer.preferBps` | The bound you set |

A pool in both lists is excluded.

## JIT routing

With `jit=1` on a build, Route's JIT module picks the best of the quoted plan and its alternates when the transaction executes,
instead of only at quote time. Quoted amounts and `minOut` do not change. JIT transactions use about 2.3 to 3.5 times the gas of a
plain swap. A key can have JIT on by default; `jit=0` turns it off for one request.


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