Attributed metadata history
Up to 100 retained publisher events per page for 19421d0ef1323b421bf841f9eb922966621730e0ce0c7a98d20d9cac88869e98. Withdrawals and unavailable references remain attributed to their publishers.
intelligence_src_6dc544294b7f21f98a
observed · 2026-12-04 06:27:03 UTC
When you just want to spot-check rankings, pull related searches, or turn a list of keywords into a CSV, spinning up a Python project is overkill. Pairing curl with jq gives you a fast google search command line workflow straight in your shell. The recipes below were verified on December 4, 2026 against /google/search using "trail running shoes" (8 organic results). 1. Export your key once and print TSV Keep the API key in an environment variable so it stays out of shell scripts: export SERPBASE_API_KEY='YOUR_API_KEY' curl -s -X POST 'https://api.serpbase.dev/google/search' \ -H 'Content-Type: application/json' \ -H "X-API-Key: $SERPBASE_API_KEY" \ -d '{"q":"trail running shoes","gl":"us","hl":"en","device":"desktop"}' \ | jq -r '.organic[] | "\(.rank)\t\(.title)\t\(.link)"' 2. Fail loudly in scripts with jq -e The endpoint returns HTTP 200 even when a search fails; the real result sits in .status (0 = ok). Use jq -e with error(...) so failed queries return a non-zero exit code (5): curl -s -X POST 'https://api.serpbase.dev/google/search' \ -H 'Content-Type: application/json' \ -H "X-API-Key: $SERPBASE_API_KEY" \ -d '{"q":"trail ru
Fingerprint: de6cbbd8bb44140c0a24a475014787d87c13afc2d30a399ccedbfa1b1f77d366
intelligence_src_6dc544294b7f21f98a
observed · 2026-10-12 11:01:03 UTC
available
Fingerprint: 2faf9469031bd0e00603457ab86d15e2040aea06ef98482184945872c5cb389f