SERP Volatility Sensor
serp_volatility_sensorFirst call for a keyword set: unless the same search was stored in the last 24 hours, it only saves a baseline and returns no score; call again later (hours to days apart is most meaningful) to measure movement. Compares fresh SERPs of a keyword set with the previous observation of the same keywords, country and language to score rank turbulence. Each keyword is a live observation of the top 20 (up to 2 Google pages, 5 credits each). The score (0-10) is the share of expected organic clicks that changed hands, weighting each result by its position (position 1 counts about 40 times position 20), so turnover in positions 11-20 barely registers while a change at the top of the page does; levels are LOW below 3, MODERATE 3-5.4, HIGH 5.5-7.9 and EXTREME 8 or more, and every measured report states its method in score_method. The first observation only saves a baseline: it costs 5 credits per live Google page saved (at most 10 per keyword), counts toward the daily live-page allowance and carries NO volatility judgement (baseline_status insufficient_history, volatility_available false, overall_volatility_score, level and algorithm_update_likely null, plus a note); comparison starts with the next check, which measures real movement. A keyword with no saved baseline is instead compared at once with the newest stored observation of the same search from the last 24 hours, made by any tool (its baseline_source is stored_observation, previous_observed_at says when); such a keyword is billed like a first observation, 5 credits per live page. algorithm_update_likely is a heuristic, set only when the overall score is 5.5 or more over at least 3 compared keywords. Each keyword is compared over the depth both observations cover (compared_depth); every listed change has status new, dropped or moved, a null position where the observation does not hold the domain, and movement (previous minus current, positive = up) only when moved. new and dropped mean entering or leaving the compared positions, not proof of a wider ranking change; confidence low with comparison_limits tail_only marks entries and exits found only below position 8, which Google's later pages vary between sessions. A baseline that shares at most one first-page site with the current page is another page (comparison_limits baseline_mismatch): that keyword is left out of the score and billed as a first check; one observed less than an hour earlier is flagged baseline_recent (low confidence). If every keyword is left out because Google corrected it, the report says so per keyword and in query_corrected/note; no comparison is delivered, the call costs 0 credits and consumes 0 daily live-page allowance, even though live_pages reports pages actually fetched. market_check says whether the country the results are for is confirmed: confirmed (market_evidence.method says by what: page_data or page_footer, Google's own page states it; provider_echo, the search provider states the country it searched), or unconfirmed (nothing states it; the page is returned but never recorded as a rank observation). A page produced for another country is discarded and fetched again; MARKET_MISMATCH means no fetch gave the requested country. This tool always fetches live, because it compares now with its saved baseline: it takes no freshness or max_age_seconds. The result is returned here and may also be kept for up to 30 days as a completed run: retained.run_id reads it again for free with scraper_run_get (retained.available false says why it was not kept). Saved synchronous results can be evicted earlier when storage is needed; set background true (with an idempotency_key) to start the work as a saved run at once. If the call would outlast the connection (many items, deep or fresh SERPs) or the platform has no free capacity, it is not failed: the result is an accepted answer (accepted true, run_id, state, next_step) and the work runs as a saved run; ask scraper_run_get about run_id (view status) as often as retry_after_seconds says. A batch tool's run is charged item by item as each item finishes (failed items are free); any other run once, when it completes. The same idempotency_key prevents a second charge during its retry window; a later new call may be charged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"country": "<country>"
},
"name": "serp_volatility_sensor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | Two-letter country code of a supported market; see GET /api/v1/serp/markets. Baselines are kept per keyword, country and language. | |
| keywords | No | Keywords to sample (1-100). Omitted selects the starter sample of 8 keywords (seo software, cloud hosting, insurance quotes, best credit cards, mortgage rates, cheap flights, crm tools, python tutorial): up to 80 credits per comparison (8 keywords x 2 Google pages x 5 credits) and 80 credits for a first baseline (5 credits per page saved). Pass your own keywords to avoid it. | |
| language | No | Result language (Google hl). Defaults to the market's own language; markets served through the managed SERP API accept any language code, e.g. en for English results in DE. | |
| verbosity | No | concise: short summary of the answer; full: the whole answer. Only shapes the output. Send idempotency_key to read the other form later without a new charge. | |
| background | No | Optional. true starts this work as a saved background run and answers at once with run_id instead of the result; read it with scraper_run_get. Needs an idempotency_key: the same key returns the same run and never charges twice, for the 30 days the run is kept. Charged like the direct call, as the run's work completes. Without it, a call that would take too long is also answered as a saved run. | |
| project_id | No | Optional: a project of this organization (projects_list shows them). The result is then linked to the project's saved keywords that it observed, so saved_keyword_get can answer from it later, and it carries project_link (the saved keywords matched). Costs nothing extra. Omit it for a call that belongs to no project. | |
| idempotency_key | No | Optional retry key bound to this customer and these arguments. Matching retries replay the first result and do not reserve a second credit; the replay says so in billing (replayed true, credits_charged_this_call 0, original_credits_used). |