# Direct Integration with REST API

CrossCurve MetaLayer API enables cross-chain token swaps across various networks.

### Base URL

CrossCurve MetaLayer API is built on REST principles and is served over HTTPS.

```
https://api.crosscurve.fi
```

### Authentication

Protected endpoints (`/routing/*`, `/pimlico/*`, `/networks`) require an `api-key` header.

```
api-key: YOUR_API_KEY
```

### Rate Limits

| Tier     | Limit      |
| -------- | ---------- |
| standard | 60 req/min |
| free     | 20 req/min |

### EOA Swap

A standard wallet swap (MetaMask, WalletConnect, or any EOA signer) in six steps:

1. Fetch supported networks and tokens
2. Find a route
3. Approve token spending (ERC-20 only)
4. Send swap transaction
5. Extract requestId from receipt
6. Poll for completion
