PatentsView alternative
PatentRef is a hosted API that answers the PatentsView PatentSearch v1 grammar from its own snapshot of USPTO PatentsView bulk data. It uses the same endpoint paths, the same q, f, s and o parameters, the same response shape and the same error codes. Point your client at https://patentref.io and add a free PatentRef key.
How to move a client
- Get a free key at https://patentref.io/api/v1/meta/signup/.
- Replace https://search.patentsview.org with https://patentref.io in your client.
- Send the key in the X-Api-Key header.
- Read the known differences page for the few places where answers differ.
Example, patents granted in 2024, oldest grant date at the top:
curl -s -G -H "X-Api-Key: YOUR_KEY" https://patentref.io/api/v1/patent/ \
--data-urlencode 'q={"_and":[{"_gte":{"patent_date":"2024-01-01"}},{"_lte":{"patent_date":"2024-12-31"}}]}' \
--data-urlencode 'f=["patent_id","patent_title","patent_date"]' \
--data-urlencode 's=[{"patent_date":"asc"},{"patent_id":"asc"}]' \
--data-urlencode 'o={"size":100}'
What you get
- The same paths:
/api/v1/patent/,/api/v1/inventor/,/api/v1/assignee/,/api/v1/g_claim/and the rest. - The same operators, such as _eq, _gte, _text_phrase, _and, _or and _not.
- Cursor paging with o.after, up to 1,000 records a page, and an exact total_hits.
- Grants issued after the last PatentsView release, added from the USPTO grant full text.
- The PatentsView code examples notebook runs once api_key and base_url are changed.
- The data behind the API as SQLite files on Zenodo.
- Extra routes: claim trees, patent briefs, claim counts, and expiry and maintenance-fee status.
Good to know
- Every API call needs a PatentRef key. PatentsView keys do not work here. A free key allows 1,000 requests a month and 45 a minute.
- Some routes answer 501 in the current build: pre-grant publications and the cpc_class, cpc_subclass, uspc_mainclass and wipo lookups.
- Text search splits words differently and does no stemming. Ties in a sort follow the snapshot's row order.
- Grants newer than the last PatentsView release carry inventor, assignee and attorney names as printed, without PatentsView ids, until a PatentsView release covers them.
- PatentRef covers US grants. For other patent offices, EPO OPS and The Lens are places to look.
- PatentRef is an independent service and is not affiliated with the USPTO. Record pages need no sign-up.
FAQ
What do I change in my code?
The base URL and the key. The paths, the parameters and the response shape stay the same.
Is the data the same as PatentsView's?
It is built from USPTO PatentsView bulk data, plus newer grants from the USPTO grant full text. A few data sets are not in the current build.
Is PatentRef part of PatentsView or the USPTO?
No. It is an independent service and is not affiliated with the USPTO.
Related pages
More questions
PatentRef is an independent service and is not affiliated with the USPTO. Answers describe the text as the USPTO printed it; none is a legal conclusion.