Get a patent's claim tree
Send GET /api/v1/structure/claims/{patent_id}/ to PatentRef with a free key in the X-Api-Key header. The answer lists every claim with the claims it depends on, its preamble, transition, elements and term mentions, each with start and end offsets into the claim text. To look without a key, open the patent's record page, which shows the claims as a tree.
How to get a claim tree
- Get a free key at https://patentref.io/api/v1/meta/signup/.
- Call the claim tree route with the patent number as PatentsView prints it, such as 10034028, D872010 or RE31177.
- Use claims[].depends_on to build the tree and claims[].elements for the parts. For each part, text[start:end] is its text.
Example:
curl -s -H "X-Api-Key: YOUR_KEY" https://patentref.io/api/v1/structure/claims/10034028/
Part of the answer for claim 6 (shortened):
{"number": 6, "independent": false, "depends_on": [5], "category": "method",
"preamble": {"text": "The method of claim 5", "start": 3, "end": 24},
"transition": {"text": "wherein", "start": 27, "end": 34}}
What you get
- Each claim's number, whether it is independent, and the claims it depends on.
- A category read from the preamble's words: method, apparatus, system, composition, crm (computer-readable medium), use, design, plant or other.
- The preamble, transition and elements, each with offsets into the claim text.
- Term mentions, each "the" or "said" phrase linked to the earlier mention it refers back to.
- Flags that note what the parser saw, such as a dependency on a missing claim.
- Version fields: structure_version, data_version and text_data_version.
- A related route,
/api/v1/structure/brief/{patent_id}/?max_tokens=2000, that cuts the patent to a token budget from 300 to 32000.
Good to know
- A parser built from regular expressions and small state machines makes the tree on request. No language model runs, and the same text gives the same tree.
- A flag or a category describes the text as printed. It is not a legal conclusion.
- A patent with no claim text in the data answers 404. A claim set over 1,000 claim rows or 1,000,000 characters answers 500.
- Each call counts as one request toward the free key's 1,000 a month.
- Offsets count Unicode code points. A JavaScript client converts them before it slices text with characters outside the Basic Multilingual Plane.
FAQ
Does the claim tree use AI?
No. A deterministic parser builds it on request, with no language model.
Can I link to one claim element?
Yes. Record pages give each claim and element an anchor, such as https://patentref.io/p/10034028#c1-e4-462-602.
Can I see a claim tree without a key?
Yes. Open the patent's record page, such as patentref.io/p/6285999/. The API route needs a free key.
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.