
In simple English
This tool lets you search for patents and trademarks straight from your terminal window. You can look up patent applications, download official documents, and check trademark statuses without opening a web browser. It is designed to be easily used by automated scripts and coding agents. You need to get free API keys from the patent office website to make it work. The software is free to download and run.
What it is
A single-binary command-line interface written in Go that connects to the USPTO Open Data Portal, Trademark Search, and TSDR APIs. It provides structured JSON and NDJSON outputs, automatic pagination, built-in rate limiters, and document bundle generation.
What it is good for
Solo builders, researchers, and patent analysts who want to build automated workflows or search intellectual property records directly from scripts and terminal commands.
- Single binary with zero runtime dependencies.
- Structured JSON and NDJSON output formats for automation.
- Built-in rate limiters coordinate across processes to prevent blocked requests.
- Requires obtaining separate API keys from the patent office for different services.
- Strict download limits on trademark PDF and ZIP files.
- Go language requires manual compilation or downloading pre-built binaries.
Manual web searches on the USPTO website and custom scripts for downloading patent PDFs.
jq for parsing JSON output streams in terminal pipelines.
- googleapis/google-api-go-client4.5k stars
Provides programmatic access to Google services rather than government patent databases.
- PrefectHQ/prefect24k stars
Adds scheduling, retries and a run history to Python functions you already have.
- alirezamika/autoscraper8.1k stars
A Python scraper that learns what to extract from one example you give it.
go install github.com/smcronin/uspto-cli/cmd/uspto@latest