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

# Authentication

> Obtain Enso API key to access the Enso API.

export const date_0 = "2025-04-11"

## Obtain API Key

1. Create an API key using [Enso Dashboard](https://developers.enso.build).
2. Securely store your API key and make it available in your environment:

```bash authentication.sh theme={null}
ENSO_API_KEY="$ENSO_API_KEY"
echo $ENSO_API_KEY >> .env
git ignore .env
source .env
```

## Test

```bash theme={null}
curl -X GET \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $ENSO_API_KEY" \
  "http://api.enso.build/api/v1/shortcuts/route?chainId=1&fromAddress=0x9008D19f58AAbD9eD0D60971565AA8510560ab41&tokenIn=0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2&tokenOut=0x5c6Ee304399DBdB9C8Ef030aB642B10820DB8F56&amountIn=326880000000000000000&tokenInAmountToTransfer=326880000000000000000" \
  | jq
```

## Rate Limiting

API calls are limited to 10 RPS (600 requests per minute). It can be increased on demand.
If you exceed the limit, you'll receive a `429 Too Many Requests` error.

<div className="text-right text-xs gray-200 font-semibold w-full" style={{marginTop: '0'}}>
  <p style={{
        color: "#b2b2b2"  
    }}>Updated {date_0}</p>
</div>
