Search Archive API

Search Archive API allows you to fetch searches created with our API. Searches don't have to be completed to be retrieved. Search status can be Queued, Processing, Success, or an error. You can retrieve the html, or the json of your search up to 31 days after the search has been completed.

You can query{search_id} using a GET request with these parameters:

API Parameters



Parameter is the search ID provided by the search API endpoint at ['search_metadata']['id']. (e.g., 5b50d58a304bda2fca30bac9)



Parameter defines the SerpApi private key to use.



Parameter defines the file you want. It can be set to json (default) to get a structured JSON of the results, or html to get the raw html retrieved.

API Examples

Search Archive API example