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 https://serpapi.com/searches/{search_id}
using a GET
request with these parameters:
API Examples
Search Archive API example
GET
-
https://serpapi.com/searches/5b50d58a304bda2fca30bac9.json?api_key=SECRET_API_KEY
Pixel Position on Search Archive API example
Pixel Position API can be performed on archive searches by setting the output to json_with_pixel_position
.
GET
-
https://serpapi.com/searches/5b50d58a304bda2fca30bac9.json_with_pixel_position?api_key=SECRET_API_KEY