Quickstart

Get up and running with Serply API in just a few minutes.

Production Endpoint

All API requests should be made to:

https://api.serply.io

Making Your First API Request

An API key is a token that you provide when making API calls. Include the token in a header parameter called X-Api-Key.

Using cURL

curl --header 'X-Api-Key: YOUR_API_KEY' \
  'https://api.serply.io/v1/search?q=google+search+api' | jq

Using JavaScript/Node.js

const response = await fetch('https://api.serply.io/v1/search?q=google+search+api', {
  headers: {
    'X-Api-Key': 'YOUR_API_KEY'
  }
});
const data = await response.json();
console.log(data);

Using Python

import requests

response = requests.get(
    'https://api.serply.io/v1/search',
    params={'q': 'google search api'},
    headers={'X-Api-Key': 'YOUR_API_KEY'}
)
data = response.json()
print(data)

Getting Your API Key

  1. Sign up at app.serply.io
  2. Navigate to your dashboard
  3. Copy your API key from the settings page

You can view and manage your API keys in the Dashboard.

What's Next?