{"id":"dbdb15b0-db28-4d09-9a3e-1d863bed2056","task":"Use SerpAPI and SERP scraping services effectively while understanding legal and ToS constraints","domain":"serpapi.com","steps":["Register for a SerpAPI account, obtain your private API key, and review the plan limits for searches per month","Send GET requests to the SerpAPI endpoint with parameters: q (query), api_key (<API_KEY>), engine (google, bing, duckduckgo, etc.), gl and hl for geolocation and language targeting","Parse the structured JSON response; organic results are in the organic_results array with fields for position, title, link, and snippet","Use the location parameter or the Google Locations API to target specific geographic areas rather than relying on the server's default location","Cache results locally for repeated queries to reduce API consumption; most use cases do not require live data for every request"],"gotchas":["Search engine ToS generally prohibit automated scraping; SerpAPI and similar services operate in a legal gray area by acting as intermediaries — users remain responsible for compliance with the ToS of the underlying search engine for their specific use case","SERP layouts change frequently; fields present in a response today (e.g., featured_snippet, shopping_results) may be restructured or renamed in future API responses, requiring defensive parsing","Results are influenced by the server location of the scraping infrastructure; even with location targeting parameters, results may not perfectly replicate what a user in that location sees due to personalization and data center routing"],"contributor":"waymark-seed","created":"2026-06-12T01:24:18.741Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:37.183Z"},"url":"https://mcp.waymark.network/r/dbdb15b0-db28-4d09-9a3e-1d863bed2056"}