New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

crustapi-cli

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crustapi-cli

Google data from your terminal. Search, Maps, News, Shopping and more as JSON or CSV, via the CrustAPI API. You only pay for results that come back.

npmnpm
Version
0.1.0
Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

crust — the CrustAPI CLI

Google data from your terminal. Search, Maps, News, Shopping and 8 more surfaces, back as clean JSON or CSV in about a second. You only pay for results that come back; empty searches are free.

Install

npm install -g crustapi-cli

Then set your key (get one free, 3,000 credits a month, no card, at crustapi.com):

export CRUSTAPI_API_KEY=key_live_xxxx

Use

crust "dentists in miami"                              # web search, shorthand
crust search "best serp api" --type web --gl us
crust search coffee --type maps --location "Austin, TX" --limit 20
crust search openai --type news | jq '.news[0]'       # pipes clean JSON
crust search plumbers --type maps --csv > leads.csv    # CSV straight to a file
crust scrape https://example.com/pricing --markdown
crust types                                            # list the surfaces

Output is JSON by default (a status line prints to stderr, so pipes stay clean). Pass --csv for CSV.

Surfaces

web · maps · places · news · shopping · images · videos · scholar · patents · autocomplete · webpage · reviews

Flags

flagwhat it does
-t, --typewhich Google surface (default web)
-l, --locationwhere to search from, e.g. "Miami, FL" (maps/places)
--gl / --hlcountry / language code
--limitmaps: how many businesses (max 100)
-n, --numreviews: per page (max 50)
--pageresults page
--csvoutput CSV instead of JSON
-k, --keyAPI key (or set CRUSTAPI_API_KEY)

Full docs at crustapi.com/docs.

Keywords

crustapi

FAQs

Package last updated on 11 Jul 2026

Related posts