YepAPI
Getting Started

Authentication

How to authenticate with the YepAPI using your API key.

API Key Authentication

All requests to YepAPI require an API key passed via the x-api-key header.

curl https://api.yepapi.com/v1/seo/keywords \
  -H "x-api-key: yep_sk_abc123..."

Getting Your API Key

  1. Sign up at app.yepapi.com
  2. You'll receive $1.00 free balance immediately
  3. Your API key is available on the dashboard

API keys follow the format: yep_sk_ followed by a random string.

Warning

Never expose your API key in client-side code. Always make API calls from your server or serverless functions.

Using with fetch

const res = await fetch('https://api.yepapi.com/v1/seo/keywords', {
  method: 'POST',
  headers: {
    'x-api-key': process.env.YEP_API_KEY!,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ keywords: ['nextjs seo'] }),
});

const { ok, data, error } = await res.json();

On this page