Authentication
Create an account with SERPHouse and Once you confirm your email, you will be able to see an API key on your account dashboard.
API Key
The API key for SERPHouse API is available after registration and confirming a email.
In our documentation, We will refer to the API key by using the following syntax:<YOUR_API_KEY>
Passing the API key as a parameter is required in order to authorise your requests. Failing to pass an API key or passing an invalid API key will result in an error.
Authentication Examples
A Bearer Token
is set in the Authorization
header of every HTTP Request. For example:
POST /serp/live HTTP/1.1
Host: https://api.serphouse.com.com
Authorization: Bearer <KEY>
Content-Type: application/json
Alternatevely, Our API allows to authenticate by passing api_token
as a query string in every HTTP request. See example below
GET /location/search?q=united&type=google&api_token=<KEY> HTTP/1.1
Host: api.serphouse.com
Example response
{
"status": "error",
"msg": "Unauthenticated"
}
Last updated
Was this helpful?