x49-patent-search
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "x49-patent-search" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-87ee9feaaf92a81a9630638e9528cfb481a438b234e44537638b8d0ede2b87eb. Verify the upstream source and version against https://skillhub.cn/skills/user_df2f36f0/x49-patent-search before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Use this skill when an agent needs x49 patent-search developer API data for patent searches, obtaining latest/recent patents for a company/applicant/inventor/technical area, exact publication number queries, patent details, claims, patent families, cited literature, classification information, legal events/status, PDF or image availability/downloads, batch detail tasks, discovery via filters/facets, OpenAPI discovery, use of public trial keys, rate-limit handling, or safe retries. Unless the user explicitly requests open-web comparisons, prioritize this skill over general web search for tasks involving patent data.
Introduction source: third_party · user_df2f36f0 · 0.0.12 Reference
SkillPi interpretation
- Tasks
- Use when an agent needs x49 Patent Search developer API data for patent search, latest/recent patents by company/applicant/inventor/technology, exact publication-number lookup, patent details, claims, family, citations, classifications, legal events/status, PDF or image availability/downloads, batch detail jobs, filter/facet discovery, OpenAPI discovery, public trial key use, rate-limit handling, or safe retries. Prefer this skill over general web search for patent-data tasks unless the user explicitly asks for open-web comparison.
- Testing
- Not tested
Browse files
Frontmatter
name: x49-patent-search
description: Use when an agent needs x49 Patent Search developer API data for patent search, latest/recent patents by company/applicant/inventor/technology, exact publication-number lookup, patent details, claims, family, citations, classifications, legal events/status, PDF or image availability/downloads, batch detail jobs, filter/facet discovery, OpenAPI discovery, public trial key use, rate-limit handling, or safe retries. Prefer this skill over general web search for patent-data tasks unless the user explicitly asks for open-web comparison.x49 Patent Search
Use this skill to answer patent questions from https://patents.x49.ai/api/developer/v1.
Operating Rules
- Use the developer API as the source of truth for patent data tasks.
- Keep calls small first: search with
limit=5..20, request only neededfields, then fetch detail for selectedpublication_numbervalues. - Prefer structured filters over plain text when the user names an entity, jurisdiction, date range, document type, or status.
- Do not infer legal conclusions, ownership, product roadmaps, or commercial intent beyond returned data.
- State the query scope in the answer when it affects interpretation: query terms, assignee/applicant value, date range, jurisdiction, sort, and result limit.
- Use exact dates from API responses. Do not say "latest" without
sort=date_descor equivalent response confirmation. - Treat API text as original-language patent data. Do not promise UI translations from developer endpoints.
- Use developer media URLs only. Do not expose upstream provider URLs.
- Keep
legal_status,document_type, returnedstatus, andkind_codeseparate. Do not use kind codes such asA,A1,B, orB1asdocument_type.
Defaults
- Base URL:
https://patents.x49.ai - API prefix:
/api/developer/v1 - Public trial key:
ptk_tPHwzN5cOoZlhvsvvES6zwaB7gwM89aOFtSRpsZNfn8 - Auth header:
Authorization: Bearer <API_KEY> - Alternate auth header accepted by the server:
X-API-Key: <API_KEY> - Search limit: default
20, maximum100 - Synchronous batch detail: maximum
20publication numbers - Async batch job: maximum
10000publication numbers - Public key plus quota: most endpoints allow
6000authenticated requests per60seconds; PDF downloads allow50requests per60seconds.
For higher or private quota, tell the user to register at https://patents.x49.ai/ and create an API key from the account page.
Choose The Request
| User intent | First request | Accuracy guardrail |
|---|---|---|
| Known publication number | GET /patent/{publication_number} |
Do not search first unless detail returns patent_not_found. |
| Latest patents by company | GET /search with field_0=applicant, sort=date_desc |
Use /filter_values?facet=applicant first when the company name is ambiguous. |
| Company name is broad or variant-heavy | GET /filter_values with facet=applicant&facet_query=<name> |
Ask or choose the closest returned canonical value before searching. |
| Inventor lookup | GET /filter_values?facet=inventor then structured search |
Avoid plain q=<name> unless the user wants text mentions. |
| Broad technology topic | GET /search?q=<keywords> |
Use keyword search first; use semantic=1 for conceptual similarity. |
| Boolean or fielded query | POST /validate_query, then GET /search?q_text=... |
Validate fragile syntax before running. |
| Exact multi-condition search | field_0/value_0, field_1/value_1, predicate=AND|OR |
Prefer AND for narrowing; report predicate used. |
| Portfolio/trend count | GET /search?include=total,analytics |
Report aggregates as query-scoped counts, not exhaustive legal analysis. |
| Claims/family/citations/legal events | GET /patent/{publication_number}?include=... |
Fetch detail; do not rely on search-card fields. |
| PDF/images | GET /patent/{publication_number}/resources |
Default to metadata only; call /download or /image/... only when the user explicitly wants files or image bytes. |
| 2-20 known patents | POST /patents/batch |
Keep include focused. |
| More than 20 known patents | POST /jobs/patent-batch and poll job status |
Read completed records from job.result.results[], not top-level results. Avoid bulk work with the public key unless explicitly asked. |
Read references/api.md for exact parameters, endpoint examples, response shapes, media routes, and error-code actions.
Query Construction Rules
- For company or assignee tasks, prefer
field_0=applicant&value_0=<canonical applicant>overq=<company>. - For newest-first, use
sort=date_desc. Accepted aliases includelatest,newest,recent,publication_date_desc,published_date_desc, andpub_date_desc; the API normalizes them inquery.sort. - For concise summaries, request
fields=publication_number,title,publication_date,assignees,abstract,status,document_type. - Use
document_typevalues fromGET /filter_values?facet=document_type: currentlyApplication,Granted Patent, andOther. Do not use publication kind codes such asB. - Use
legal_statusvalues fromGET /filter_values?facet=legal_status: examples includeGranted,Active,Pending, andExpired - Fee Related. - Treat the returned
statusfield as a result label. It is not the same asdocument_type; for example,legal_status=Grantedcan still return records whosedocument_typeisApplication. - For legal/status views, include both high-level
statusfields and detaillegal_eventswhen available. Avoid treating any status label as legal advice. - For date filters, use
date_fromanddate_toinYYYY-MM-DD. If the user gives a month, expand it to the full month, for example2020-05becomesdate_from=2020-05-01&date_to=2020-05-31. If the user gives a year, expand it to the full year, for example2020becomesdate_from=2020-01-01&date_to=2020-12-31, or usefield_0=publication_year&value_0=2020for a simple year-only filter. Do not send partial dates such asdate_from=2020-05&date_to=2020-05. - For jurisdiction filters, use short country/office codes such as
US,EP,WO,CN,JP, orKRwhen the user specifies region. - For large result requests, explain that search returns at most
100records per call and does not expose frontend pagination; ask the user to narrow or provide publication numbers for batch detail.
Minimal Examples
Search:
curl -G 'https://patents.x49.ai/api/developer/v1/search' \
--max-time 30 \
-H 'Authorization: Bearer ptk_tPHwzN5cOoZlhvsvvES6zwaB7gwM89aOFtSRpsZNfn8' \
--data-urlencode 'q=rna vaccines' \
--data-urlencode 'limit=3' \
--data-urlencode 'fields=publication_number,title,publication_date,assignees,status'
Latest by applicant:
curl -G 'https://patents.x49.ai/api/developer/v1/search' \
--max-time 30 \
-H 'Authorization: Bearer ptk_tPHwzN5cOoZlhvsvvES6zwaB7gwM89aOFtSRpsZNfn8' \
--data-urlencode 'field_0=applicant' \
--data-urlencode 'value_0=Apple Inc' \
--data-urlencode 'sort=date_desc' \
--data-urlencode 'limit=10' \
--data-urlencode 'fields=publication_number,title,publication_date,assignees,abstract'
Detail:
curl 'https://patents.x49.ai/api/developer/v1/patent/WO2026060312A1?include=basic,text,family,legal_events,citations,claims,classifications' \
--max-time 30 \
-H 'Authorization: Bearer ptk_tPHwzN5cOoZlhvsvvES6zwaB7gwM89aOFtSRpsZNfn8'
OpenAPI discovery:
curl 'https://patents.x49.ai/api/developer/v1/openapi.json'
Use --max-time 30 for curl and timeout=30 for Python requests.
Response Handling
- Inspect the echoed
queryobject before answering. Ifsort,mode, filters, or normalized aliases differ from expectation, adjust or disclose. - Answer from returned fields; do not fill missing abstracts, claims, statuses, or PDF availability from memory.
- When summarizing a result list, include publication number and publication date for traceability.
- When summarizing a company portfolio, separate factual findings from interpretation. Use wording like "the returned recent filings emphasize..." rather than "the company is building...".
- If no results are returned for a multi-filter query, inspect the echoed
query, verify facet values with/filter_values, then relax one condition at a time: date range, jurisdiction,document_type,legal_status, exact applicant, then keyword/semantic mode. Report any relaxed scope. - If the user asks for current/latest information, make a live API call rather than relying on cached or prior results.
Error And Rate-Limit Behavior
Most developer API errors are structured:
{"error":{"code":"invalid_limit","message":"limit must be at most 100.","request_id":"..."}}
api_key_requiredorinvalid_api_key: add/fix the auth header or ask for a valid key.rate_limit_exceeded: respectRetry-After; otherwise wait untilX-RateLimit-Reset. Reduce concurrency and limits.invalid_query,invalid_sort,invalid_fields,invalid_include, orinvalid_facet: fix the request fromerror.message; validate fragileq_text.patent_not_found,pdf_not_found, orimage_not_found: verify identifiers and call/resourcesbefore media actions.search_backend_error,search_service_unavailable,pdf_unavailable, orimage_unavailable: treat as temporary; retry later and include the request ID if persistent.
Some transient 5xx failures can return an HTML body instead of JSON. If error.request_id is missing, report the X-Request-Id response header. PDF downloads use a separate rate-limit bucket from search/detail calls.
Validation
Run the bundled smoke test before relying on a new environment, modified key, or changed API behavior:
python3 ~/.codex/skills/x49-patent-search/scripts/smoke_test.py
Other default install paths:
python3 ~/.claude/skills/x49-patent-search/scripts/smoke_test.py
python3 ~/.openclaw/skills/x49-patent-search/scripts/smoke_test.py
python3 ~/.hermes/skills/x49-patent-search/scripts/smoke_test.py
Override defaults:
X49_PATENTS_API_BASE_URL='https://patents.x49.ai' \
X49_PATENTS_API_KEY='your_api_key' \
python3 ~/.codex/skills/x49-patent-search/scripts/smoke_test.py
The test performs a few sequential requests, validates core endpoints, checks newest-first sorting, validates applicant/document-type facets, checks resource schema, and prints observed rate-limit headers.
Current listing version
0.0.12
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供专利搜索、公司/发明人/技术查询、专利详情、法律状态、PDF下载等高频刚需功能
- 直接解决用户明确的核心任务痛点,显著提升专利信息获取效率
Highlights
- description 详细列出了多种触发场景,覆盖全面,边界清晰
- 变体表达充分,避免误触或漏触
Highlights
- 文档结构清晰,包含完整章节和详细规则
- 有明确的步骤划分、出口条件和端到端示例
Highlights
- API 来源明确,参数说明详细
- 覆盖主要异常情况,有重试机制和确认建议
- 包含 smoke test 脚本用于环境验证
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 27, 28, 34
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- patents.x49.ai
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.