Skip to main content
Version: 1.1.0

AlsoAsked API

The AlsoAsked API gets the "People Also Ask" questions that Google shows for a term. You send a search with 1 or more terms, and the API returns the results for each term.

With the AlsoAsked API, you can perform a search, get the status and the results of a search, list the searches in your search history, delete a search, and get your account details and credits. AlsoAsked can also send webhook events to your webhook endpoints when the status of a search changes.

Live API and sandbox API​

The AlsoAsked API has 2 environments with the same endpoints:

  • Live API (https://alsoaskedapi.com/v1.1): gets real results from Google and uses the credits of your plan. To use the live API, your account needs a Pro plan. To compare plans, go to AlsoAsked pricing.
  • Sandbox API (https://sandbox.alsoaskedapi.com/v1.1): returns test results and uses separate sandbox credits. Any account can use the sandbox API.

Each environment has its own API keys. Send the API key in the X-Api-Key header of each request. For details, see Authenticate requests.

Guides​

Get help with the AlsoAsked API​

If you have a question about the AlsoAsked API, email AlsoAsked support at support@alsoasked.com.

Authentication​

Your API key. Send the API key in the X-Api-Key header of every request. A live API key starts with aa-live- and works only on the live API. A sandbox API key starts with aa-sandbox- and works only on the sandbox API. You create API keys in your AlsoAsked account. A request without the X-Api-Key header gets the status code 401 Unauthorized with the error type missing_api_key. A request with an empty X-Api-Key header, or with an API key that isn't valid, gets the status code 403 Forbidden with the error type invalid_api_key.

Security Scheme Type:

apiKey

Header parameter name:

X-Api-Key