The USPTO Open Data Portal requires an API key for all requests. Each user gets one key, and keys must not be shared per USPTO policy.
Go to the USPTO Open Data Portal and click Sign In to create a MyUSPTO account.
After creating your account, you must complete identity verification through ID.me. This is a one-time requirement before you can access API keys. The USPTO uses ID.me to verify that each API key belongs to a real person.
Once your identity is verified, sign in to the MyODP dashboard. Your API key will be displayed on the dashboard.
Recommended: store your key once in global CLI config:
uspto config set-api-key your-api-key-hereThis writes your key to your user config directory (for example:
%AppData%\uspto\config.env on Windows, ~/.config/uspto/config.env
on Linux/macOS), so uspto works from any directory.
This is runtime configuration only. Your API key is not embedded into the binary when you build/package the CLI.
Alternative options:
# Set in shell profile (~/.bashrc, ~/.zshrc, PowerShell profile, etc.)
export USPTO_API_KEY=your-api-key-here
# Pass directly on each command
uspto search --api-key your-api-key-here --title "machine learning"- One key per user. Each verified account receives a single API key.
- No organization-wide keys. Each person must have their own account and key.
- Do not share keys. USPTO terms prohibit sharing API keys between users. If multiple people need access, each must create their own account.
- Keys do not expire as long as they are used at least once per year.
- Rate limits apply. See the rate limits documentation for details on request quotas.
- Getting Started — API overview and sign-in
- MyODP Dashboard — View your API key
- API Documentation — Full endpoint reference
- FAQ — Common questions about API keys, rate limits, and data access