Call it
curl https://api.peume.com/v1/call/google-search-patent-filings \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"country": "your country",
"before": "your before"
}
}'const res = await fetch("https://api.peume.com/v1/call/google-search-patent-filings", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"country": "your country",
"before": "your before"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-search-patent-filings",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"country": "your country",
"before": "your before"
}
},
)
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-search-patent-filings.
Parameters
countrystringFilters patent results by countries. Split multiple country codes with `,` (comma). List of supported country codes. Example:`WO,US`.
beforestringThe maximum date of the results. The format of this field is `type:YYYYMMDD`. `type` can be one of `priority`, `filing`, and `publication`. Example: - `priority:20221231` - `publication:20230101`
numstringControls the number of results per page. Minimum: `10`, Maximum: `100`.
clusteredstringHow the results should be grouped. List of supported values are: `true` - Classification
languagestringFilters patent results by languages. Split multiple languages with `,` (comma). List of supported values are: `ENGLISH`, `GERMAN`, `CHINESE`, `FRENCH`, `SPANISH`, `ARABIC`, `JAPANESE`, `KOREAN`, `PORTUGUESE`, `RUSSIAN`, `ITALIAN`, `DUTCH`, `SWEDISH`, `FINNISH`, `NORWEGIAN`, `DANISH`. Example:`ENGLISH,GERMAN`.
sortstringThe sorting method. By default, the results are sorted by Relevance. List of supported values are: `new` - Newest `old` - Oldest Patent results are sorted by `filing_date` while scholar results are sorted by `publication_date` for `new` and `old` values.
scholarstringControls whether or not to include Google Scholar results. (Defaults to false)
typestringFilters patent results by type. List of supported values are: `PATENT` - Patent `DESIGN` - Design
qstringThe query you want to search. You can split multiple search terms with semicolon `;`. For advanced search syntax, please refer to About Google Patents. Example for single search term: `(Coffee) OR (Tea)` Example for multiple search terms (separated by semicolon `;`): `(Coffee) OR (Tea);(A47J)`
litigationstringFilters patent results by litigation status. List of supported values are: `YES` - Has Related Litigation `NO` - No Known Litigation
patentsstringControls whether or not to include Google Patents results. (Defaults to true)
inventorstringThe inventors of the patents. Split multiple inventors with `,` (comma). Wrap names containing commas in parentheses, e.g. `(Doe, John)`.
pagestringThe page number. It's used for pagination. (e.g., `1` (default) is the first page of results, `2` is the 2nd page of results, etc.).
dupsstringThe method of deduplication. Either Family (default) or Publication. List of supported values are: `language` - Publication
afterstringThe minimum date of the results. The format of this field is `type:YYYYMMDD`. `type` can be one of `priority`, `filing`, and `publication`. Example: - `priority:20221231` - `publication:20230101`
assigneestringThe assignees of the patents. Split multiple assignees with `,` (comma). Wrap names containing commas in parentheses, e.g. `(Tesla, Inc)`.
json_restrictorstringThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
statusstringFilters patent results by status. List of supported values are: `GRANT` - Grant `APPLICATION` - Application
