Call it
curl https://api.peume.com/v1/call/google-get-patent-record \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"patent_id": "your patent id"
}
}'const res = await fetch("https://api.peume.com/v1/call/google-get-patent-record", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"patent_id": "your patent id"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-get-patent-record",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"patent_id": "your patent id"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: google-get-patent-record.
Parameters
patent_idRequiredstringThe ID of the patent you want to retrieve. You can get it from the results of our Google Patents API. It can be: - A patent ID: `patent/<publication number>/<two-letter country code>`, the country code can be omitted (e.g. `patent/US11734097B1/en` or `patent/US11734097B1`) - A scholar ID: `scholar/<scholar ID>` (e.g. `scholar/6497879044063343659`)
json_restrictorstringThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
