Skip to content

Authentication

Just Serp API uses API keys to authenticate requests. Your API keys are managed through the user dashboard.

Using Your API Key ​

All API requests must be made over HTTPS. Authentication is handled by passing your API key in the X-API-Key custom HTTP header.

Header Format ​

HeaderValue
X-API-KeyYOUR_SECRET_API_KEY

Example with curl ​

bash
curl -X GET "https://api.justserpapi.com/api/v1/google/search?query=coffee" \
     -H "X-API-Key: YOUR_API_KEY"

Managing API Keys ​

In your dashboard, you can:

  • Create Multiple Keys: Generate different keys for different projects or environments (e.g., Development, Production).
  • Label Keys: Give your keys descriptive names to keep track of their usage.
  • Revoke Keys: If a key is compromised, you can instantly revoke it and create a new one.

Security

Your API keys carry significant privileges. Keep them secret! Do not share them in publicly accessible areas such as GitHub, client-side code, or online forums.

Key Scopes ​

By default, all API keys have full access to all endpoints you are subscribed to. Ensure you monitor your usage regularly through the dashboard to detect any unauthorized activity.