Quick start

Integrate Merkl in 5 minutes: get an API key, make your first call, pick a path.

Three steps to your first integration on building on top of Merkl API.

1. Get an API key

Anonymous requests work at a default rate limit of 10 req/sec. For production, generate an API key and send it as the X-API-Key header for higher quotas, attribution, and support.

curl https://api.merkl.xyz/v4/opportunities \
  -H "X-API-Key: YOUR_API_KEY"

See Auth & rate limits for details.

2. Make your first call

Call any endpoint directly over HTTPS — no SDK required:

const res = await fetch("https://api.merkl.xyz/v4/opportunities", {
  headers: { "X-API-Key": "YOUR_API_KEY" },
});
const opportunities = await res.json();
console.log(`${opportunities?.length ?? 0} active opportunities`);

See the API Reference for the full surface.

3. Pick your path

Most integrators land here for one of these jobs:

The next pages walk you through in more detail how to integrate with the Merkl API.

Reference