PeumeAPI

Search & SEO · Google

Past Google search results for a keyword, by date range

This endpoint will provide you with Google SERPs collected within the specified time frame.

$0.0005 per callUsually answers in about a second

Call it

curl https://api.peume.com/v1/call/past-google-search-results-for-a-keyword-by-date \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "keyword": "albert einstein",
    "date_from": "2026-04-24",
    "date_to": "2026-06-24",
    "location_code": 2840,
    "language_code": "en"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: past-google-search-results-for-a-keyword-by-date.

Parameters

keywordstring

keyword required field you can specify up to 700 characters in the keyword field; all %## will be decoded (plus character ‘+’ will be decoded to a space character); if you need to use the “%” character for your keyword, please specify it as “%25”; if you need to use the “+” character for your keywor

Example: albert einstein

date_fromstring

starting date of the time range optional field if you don’t specify this field, the API will return all SERPs collected for 365 days starting from the current datetime value; minimal possible value: 365 days from the current datetime value; date format: "yyyy-mm-dd"

Example: 2026-04-24

date_tostring

ending date of the time range optional field if you don’t specify this field, the today’s date will be used by default; date format: "yyyy-mm-dd"; example: "2021-09-01"

Example: 2026-06-24

location_namestring

full name of the location required field if you don’t specify location_code Note: it is required to specify either location_name or location_code you can receive the list of available locations with their location_name by making a separate request to

location_codeinteger

unique location identifier required field if you don’t specify location_name Note: it is required to specify either location_name or location_code you can receive the list of available locations with their location_code by making a separate request to

Example: 2840

language_namestring

full name of the language required field if you don’t specify language_code Note: it is required to specify either language_name or language_code you can receive the list of available languages with their language_name parameters by making a separate request to the

language_codestring

unique language identifier required field if you don’t specify language_name Note: it is required to specify either language_name or language_code you can receive the list of available languages with their language_code parameters by making a separate request to the

Example: en

tagstring

user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.