Skip to main content

List searches

GET 

/search

List the searches in your search history, newest first. The page query parameter sets the page, and the count query parameter sets the number of searches on each page.

Each search in the results field has a terms field, but no queries field. To get the results of a search, send GET /v1.1/search/{searchId}.

Request​

Responses​

A page of the searches in your search history, newest first. The total field has the number of searches in your search history. The searches in the results field don't have their results. To get the results of a search, use GET /v1.1/search/{searchId}.

Response Headers
    X-AlsoAsked-Credits

    The number of credits that remain in your account. On the live API, the value is your plan credits plus your pay-as-you-go credits. On the sandbox API, the value is your sandbox credits.

    Example: 100
    X-RateLimit-Limit

    The maximum number of requests that you can send in the window of the rate limit.

    Example: 200
    X-RateLimit-Remaining

    The number of requests that you can still send now: the lower of the remaining requests for your API key and for your IP address.

    Example: 184
    X-RateLimit-Reset

    The current time plus the length of the rate limit window, in Unix time (seconds since 1970-01-01T00:00:00+00:00). A request that you send now stops counting at this time. To know when you can send again after a 429 response, use the Retry-After header.

    Example: 1672531200