Skip to main content

Glossary

This page lists the terms that the AlsoAsked API documentation uses, with the meaning of each term.

TermMeaningExample
accountYour AlsoAsked account. The API keys, credits, and plan belong to it.The response contains the credits in your account.
AI overviewAn answer that Google generates from more than one web page.If ai_overview is true, the answer is an AI overview.
AlsoAsked APIThe HTTP API that you use to perform searches and get results.The AlsoAsked API accepts JSON request bodies.
API keyThe secret value that identifies your account in each request. It starts with aa-live- or aa-sandbox-.Create an API key on the API keys page.
asynchronous searchA search where the API sends the response immediately, before the search is complete. The async field is true.An asynchronous search returns the search ID immediately.
bodyThe JSON content of a request or response.The response body contains the search.
child resultA result inside another result. The result that contains it is its parent result.The results field of a result contains its child results.
creditThe unit that AlsoAsked uses to charge for searches. A search costs credits for each term. The cost depends on the depth.The cost of a search depends on the number of terms and the depth.
deleteTo remove access to a search and its results with the DELETE /v1.1/search/{searchId} endpoint.Delete the search when you don't need it.
depthThe number of levels of results that a search gets. The value is 1, 2, or 3.Set the depth field to 3 to get 3 levels of results.
endpointOne HTTP method and path of the AlsoAsked API, for example POST /v1.1/search.Send the request to the GET /v1.1/account endpoint.
error typeThe value of the status field in an error response body, for example insufficient_credits.The API returns the status code 404 Not Found with the error type not_found.
fieldA name and value in a JSON object, for example "depth": 2.Set the depth field to 3.
getTo read data from the AlsoAsked API with a GET request.Get the search with the GET /v1.1/search/{searchId} endpoint.
headerA name and value in the HTTP headers of a request or response.Put your API key in the X-Api-Key header.
history limitHow old a search in your search history can be. Your plan sets the history limit.For a Pro plan, the history limit is 1 year.
language codeThe code of the language for a search, for example en.The default language code is en.
live APIThe AlsoAsked API that gets real results from Google and uses credits. Its host is alsoaskedapi.com.You need a Pro plan to use the live API.
parameterA value in the path or the query string of a request URL.Use the page query parameter to get the next page.
pay-as-you-go creditsThe credits that you buy in addition to your plan. They don't renew, and only a Pro plan can use them. The api_credits field has them.Automatic top-up buys pay-as-you-go credits when your credits fall below 100.
performTo start a new search with the POST /v1.1/search endpoint.Perform a search with the terms that you want results for.
planThe AlsoAsked subscription level of an account, for example Pro.You need a Pro plan to use the live API.
plan creditsThe credits that come with your plan. They renew on the date in the credits_reset_at field. The web_credits field has them.AlsoAsked uses your plan credits before your pay-as-you-go credits.
queryOne item in the queries field of a search. A query contains one term and the results for that term.The queries field contains one query for each term in the search.
rate limitThe maximum number of requests that you can send in a time window.If you send more requests than the rate limit allows, the API returns the status code 429.
region codeThe two-letter ISO 3166-1 code of the country for a search, for example us.The default region code is us.
requestAn HTTP message that you send to an endpoint.Each request must include the X-Api-Key header.
responseThe HTTP message that the AlsoAsked API returns for a request.The response has the status code 200 OK.
resultOne question that Google shows for a term. A result has an answer and can have child results.Each result has a question field and an answer_excerpt field.
returnTo give a response to a request. The AlsoAsked API returns a response.The API returns the status code 404 if the search doesn't exist.
sandbox APIThe AlsoAsked API for testing. It returns test results and uses separate sandbox credits, not the credits of your plan. Its host is sandbox.alsoaskedapi.com.Use the sandbox API while you develop your integration.
sandbox creditsThe credits that the sandbox API uses. Each account has 1,000 sandbox credits, which reset 24 hours after the last reset.A sandbox search costs sandbox credits, not the credits of your plan.
searchA set of 1 or more terms that you send to the AlsoAsked API in one request. Each search has an ID, a status, and a depth.The search has 3 terms and a depth of 2.
search historyThe searches that you can list, get, and delete with the AlsoAsked API. On the live API, the history limit of your plan sets how old a search in it can be.A deleted search stays in your search history.
search objectThe JSON object that describes one search in a response body or in the body of a webhook event, with fields such as id, status, and queries.The response body of the GET /v1.1/search/{searchId} endpoint is the search object.
sendTo transmit a request to the AlsoAsked API, or a webhook event to a webhook endpoint.Send a request to the GET /v1.1/account endpoint.
signatureThe value in the X-AlsoAsked-Signature header that shows that AlsoAsked sent the webhook event.Verify the signature before you use the body.
statusThe stage of a search or of one of its terms: queueing, pending, running, fetching, error, no_results, or success.When the status of a query is success, the results field of the query contains the results.
status codeThe three-digit number in an HTTP response that shows the result of the request, for example 429.The status code 429 tells you that you sent too many requests.
stored resultA result that AlsoAsked stored for an earlier search by any account, and uses again instead of getting new results from Google. On the live API, a term with stored results costs no credits. Set fresh to true to get new results.Set fresh to true if you don't want stored results.
synchronous searchA search where the API sends the response only when the search is complete, or after 90 seconds. The async field is false.A synchronous search returns the results in the response body.
team administratorA team member that the team owner gave the administrator role. A team administrator sees the searches of the team members, but not the searches of the team owner.A team administrator sees the searches of the team members.
team ownerThe account that owns a team. The team members use the plan and the credits of the team owner.The team owner sees all the searches of the team.
termA question or phrase that AlsoAsked searches for. A search has 1 to 1,000 terms.Put each term in the terms field.
test termA term that makes the sandbox API behave in a known way, for example [error] or [delay 2].Add the test term [error] to test a term that fails.
top-level resultA result that isn't inside another result. Its position field has one number.A search with a depth of 1 gets only top-level results.
verifyTo make sure that a signature is correct.Verify the signature of each webhook event.
webhook endpointA URL on your server that receives webhook events from AlsoAsked.Add a webhook endpoint on the Webhooks page.
webhook eventA request that AlsoAsked sends to your webhook endpoints when the status of a search changes, for example search_succeeded.AlsoAsked sends a search_started webhook event when the search starts.
webhook requestThe HTTP POST request that carries one webhook event to a webhook endpoint.Each webhook request has a signature in the X-AlsoAsked-Signature header.
webhook signing keyThe secret value that AlsoAsked uses to make the signature of each webhook event.Use your webhook signing key to verify the signature.