PatentsView-compatible
Publications
Query published patent applications, from 2001 on, with the same syntax as granted patents. Documents are identified by document_number.
Send q, f, s and o as one JSON body with POST, or as JSON-encoded query parameters with GET.
101 of 102 PatentsView fields are served; inventors.inventor_gender_code is not, because PatentsView infers gender from first names. Entity IDs such as inventor_id are our own. All differences
{
"error": false,
"count": 2,
"total_hits": 2108,
"publications": [
{
"document_number": "20260312183",
"publication_title": "A SOLID ELECTROLYTE BATTERY AND A MANUFACTURING METHOD THEREOF",
"publication_date": "2026-10-08"
},
{
"document_number": "20260312128",
"publication_title": "SOLID ELECTROLYTE, SOLID ELECTROLYTE LAYER, AND SOLID ELECTROLYTE BATT…",
"publication_date": "2026-10-08"
}
]
}Request body
The query. A field and value matches exactly; combine clauses with _and, _or and _not. Dates use YYYY-MM-DD.
Fields to return. Name a group such as assignees to get all of its fields, or one field such as assignees.assignee_organization.
Sort order, for example [{"patent_date": "desc"}]. Only sortable fields are allowed; end with a unique field to keep paging stable.
sizeRows per page. Default 100, up to 1,000. 0 returns only the count.afterCursor: the last row's sort values, in sort order.offsetSkip rows. Don't combine with after.Operators and cursor paging work as on Patents.
curl https://api.patentgrep.com/api/v1/publication/ \
-H "X-Api-Key: $PATENTGREP_KEY" \
-H "Content-Type: application/json" \
-d '{
"q": {
"_text_phrase": {"publication_title": "solid electrolyte"}
},
"f": [
"document_number",
"publication_title",
"publication_date"
],
"s": [
{"publication_date": "desc"},
{"document_number": "desc"}
],
"o": {"size": 2}
}'import os, requests
resp = requests.post(
"https://api.patentgrep.com/api/v1/publication/",
headers={"X-Api-Key": os.environ["PATENTGREP_KEY"]},
json={
"q": {
"_text_phrase": {
"publication_title": "solid electrolyte"
}
},
"f": [
"document_number",
"publication_title",
"publication_date"
],
"s": [
{"publication_date": "desc"},
{"document_number": "desc"}
],
"o": {"size": 2}
},
)
resp.raise_for_status()
data = resp.json()
print(data)const res = await fetch("https://api.patentgrep.com/api/v1/publication/", {
headers: {
"X-Api-Key": process.env.PATENTGREP_KEY,
"Content-Type": "application/json",
},
method: "POST",
body: JSON.stringify({
"q": {
"_text_phrase": {"publication_title": "solid electrolyte"}
},
"f": [
"document_number",
"publication_title",
"publication_date"
],
"s": [
{"publication_date": "desc"},
{"document_number": "desc"}
],
"o": {"size": 2}
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"os"
"strings"
)
func main() {
body := strings.NewReader(`{
"q": {
"_text_phrase": {"publication_title": "solid electrolyte"}
},
"f": [
"document_number",
"publication_title",
"publication_date"
],
"s": [
{"publication_date": "desc"},
{"document_number": "desc"}
],
"o": {"size": 2}
}`)
req, err := http.NewRequest(http.MethodPost, "https://api.patentgrep.com/api/v1/publication/", body)
if err != nil {
panic(err)
}
req.Header.Set("X-Api-Key", os.Getenv("PATENTGREP_KEY"))
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
data, err := io.ReadAll(res.Body)
if err != nil {
panic(err)
}
if res.StatusCode != http.StatusOK {
panic(fmt.Sprintf("%s: %s", res.Status, data))
}
fmt.Println(string(data))
}require "json"
require "net/http"
uri = URI("https://api.patentgrep.com/api/v1/publication/")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = ENV.fetch("PATENTGREP_KEY")
req["Content-Type"] = "application/json"
req.body = <<~'JSON'
{
"q": {
"_text_phrase": {"publication_title": "solid electrolyte"}
},
"f": [
"document_number",
"publication_title",
"publication_date"
],
"s": [
{"publication_date": "desc"},
{"document_number": "desc"}
],
"o": {"size": 2}
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |http| http.request(req) }
raise "#{res.code}: #{res.body}" unless res.is_a?(Net::HTTPSuccess)
data = JSON.parse(res.body)
p data/api/v1/publication/
Rows come back in publications. Without f you get document_number, publication_title, publication_date. One record by id: GET /api/v1/publication/{document_number}/.
| Field | Type | Sort | Description |
|---|---|---|---|
document_number | string | Yes | Unique identifier for the pre-grant publication. |
publication_title | string | No | Title of the publication. |
publication_abstract | string | No | Abstract text of the publication. |
publication_date | date | Yes | Date when the publication was made available. |
publication_year | integer | Yes | Year when the publication was made available. |
publication_type | string | No | Type or category of the publication (e.g., journal, conference). |
series_code | integer | No | Application series; "D" for some designs; (http://www.uspto.gov/web/offices/ac/ido/oeip/taf/filingyr.htm) |
rule_47_flag | boolean | No | Flag for the inventor who was unable to be contacted at the time of filing. |
assignees.assignee_id | string | No | Unique identifier for the assignee. |
assignees.assignee_organization | string | No | Organization name if assignee is an organization. |
assignees.assignee_individual_name_first | string | No | First name, if assignee is an individual. |
assignees.assignee_individual_name_last | string | No | Last name, if assignee is an individual. |
assignees.assignee_city | string | No | City where the assignee is located. |
assignees.assignee_state | string | No | State where the assignee is located. |
assignees.assignee_country | string | No | Country where the assignee is located. |
assignees.assignee_type | string | No | Classification of assignee (1 - Unassigned, 2 - US Company or Corporation, 3 - Foreign Company or Corporation, 4 - US Individual, 5 - Foreign Individual, 6 - US Federal Government, 7 - Foreign Government, 8 - US County Government, 9 - US State Government. Note: A "1" appearing before any of these codes signifies part interest. |
assignees.assignee_sequence | integer | No | Order in which assignee appears in patent file; values for this field begin at 0. |
assignees.assignee_location_id | string | No | Identifier referencing the assignee’s location record. |
inventors.inventor_id | string | No | Unique identifier for the inventor in the database. |
inventors.inventor_name_first | string | No | Inventor’s given first name, if an individual. |
inventors.inventor_name_last | string | No | Inventor’s given last name, if an individual. |
inventors.inventor_city | string | No | City where the inventor resides or is located. |
inventors.inventor_state | string | No | State where the inventor resides or is located. |
inventors.inventor_country | string | No | Country where the inventor resides or is located. |
inventors.inventor_location_id | string | No | Identifier referencing the inventor’s location record. |
inventors.inventor_sequence | integer | No | Order in which the inventor is listed on the patent. |
us_parties.us_party_organization | string | No | Name of the organization, if the US party is an organization. |
us_parties.us_party_name_first | string | No | First name of the US party. |
us_parties.us_party_name_last | string | No | Last name of the US party. |
us_parties.us_party_type | string | No | Type of party record, indicating whether it is an individual or organization. |
us_parties.us_party_designation | string | No | Designation or role of the US party (e.g., inventor, assignee). |
us_parties.applicant_authority | string | No | |
us_parties.us_party_sequence | integer | No | Order in which the US party is listed in the record; the values for this field begin at 0. |
us_parties.location_id | string | No | Identifier referencing the location record of the US party. |
cpc_at_issue.cpc_section | string | No | High-level CPC section code. |
cpc_at_issue.cpc_class | string | No | CPC “class” symbol. |
cpc_at_issue.cpc_class_id | string | No | ID for the CPC class. |
cpc_at_issue.cpc_subclass | string | No | CPC “subclass” symbol. |
cpc_at_issue.cpc_subclass_id | string | No | ID for the CPC subclass. |
cpc_at_issue.cpc_group | string | No | CPC group symbol for further subdivision. |
cpc_at_issue.cpc_group_id | string | No | ID for the CPC group. |
cpc_at_issue.cpc_sequence | integer | No | Order in which the CPC class appears in the patent file; the values for this field begin at 0. |
cpc_at_issue.cpc_type | string | No | CPC category (inventional or additional). |
cpc_at_issue.action_date | date | No | |
cpc_current.cpc_section | string | No | High-level CPC section code. |
cpc_current.cpc_class | string | No | CPC classification code. |
cpc_current.cpc_class_id | string | No | ID for the CPC class. |
cpc_current.cpc_subclass | string | No | CPC “subclass” symbol. |
cpc_current.cpc_subclass_id | string | No | ID for the CPC subclass. |
cpc_current.cpc_group | string | No | CPC “group” symbol for further subdivision. |
cpc_current.cpc_group_id | string | No | ID for the CPC group. |
cpc_current.cpc_sequence | integer | No | Order in which cpc class appears in patent file; values for this field begin at 0. |
cpc_current.cpc_type | string | No | CPC category (inventional or additional). |
ipcr.ipc_id | string | No | PatentsView-internal ID for the IPC entry. |
ipcr.ipc_section | string | No | Top-level IPC section (A–H). |
ipcr.ipc_class | string | No | Class portion of the International Patent Classification. |
ipcr.ipc_subclass | string | No | Specific subclass symbol within the section (e.g., G06). |
ipcr.ipc_main_group | string | No | Main group code in the IPC subclass level (e.g., G06F 3/00). |
ipcr.ipc_subgroup | string | No | Detailed subgroup code (e.g., 3/06). |
ipcr.ipc_symbol_position | string | No | Indicates whether the classification is the primary (invention) or secondary (additional). |
ipcr.ipc_classification_value | string | No | Additional classification value or level of detail. |
ipcr.ipc_classification_data_source | string | No | Source of the IPC classification data. |
ipcr.ipc_action_date | date | No | Date associated with the IPC classification event. |
ipcr.ipc_sequence | integer | No | Order in which ipc class appears in patent file; values for this field begin at 0. |
ipcr.ipc_class_level | string | No | |
ipcr.ipc_class_status | string | No | |
uspc_at_issue.uspc_mainclass | string | No | An API request URL for additional details of this mainclass. |
uspc_at_issue.uspc_mainclass_id | string | No | The ID for the main U.S. Patent Classification at issue. |
uspc_at_issue.uspc_subclass | string | No | An API request URL for additional details of this subclass. |
uspc_at_issue.uspc_subclass_id | string | No | The subclass portion of the U.S. classification. |
uspc_at_issue.uspc_sequence | integer | No | Order in which uspc class appears in patent file; values for this field begin at 0. |
wipo.wipo_field | string | No | Name or label of the WIPO technology field. |
wipo.wipo_field_id | string | No | The code identifying the WIPO technology field. |
wipo.wipo_sector_title | string | No | |
wipo.wipo_sequence | integer | No | Order in which WIPO technology field appears on patent; values for this field begin at 0. |
foreign_priority.priority_claim_sequence | integer | No | Order in which priority claims appear in patent file; values for this field begin at 0. |
foreign_priority.priority_claim_kind | string | No | Type of priority claim (international, national, regional). |
foreign_priority.foreign_application_id | string | No | Foreign patent application number. |
foreign_priority.filing_date | date | No | Filing date of the foreign priority application. |
foreign_priority.foreign_country_filed | string | No | Country in which patent was originally filed (transformed name). |
pct_data.pct_doc_type | string | No | Whether the document has been published or just filed. |
pct_data.pct_doc_number | string | No | ID of the PCT patent. |
pct_data.application_kind | string | No | Kind of application (numerical for filed, alphabetical for published). |
pct_data.published_filed_date | date | No | Date on which the PCT application was published or filed. |
pct_data.pct_371_date | date | No | Date of entering the national stage under 35 U.S.C. 371. |
pct_data.pct_102_date | date | No | Effective date for 35 U.S.C. 102(e) prior art under the PCT process. |
pct_data.filed_country | string | No | |
us_related_documents.related_doc_sequence | integer | No | Order in which the related document appears in patent file; values for this field begin at 0. |
us_related_documents.related_doc_type | string | No | The nature of the relationship between the publication and related document. |
us_related_documents.related_doc_kind | string | No | Kind of document (text). |
us_related_documents.related_doc_number | string | No | Related document number. |
us_related_documents.published_country | string | No | Country where related document was published. |
us_related_documents.related_doc_published_date | date | No | Publication date of the related document. |
gov_interest_organizations.fedagency_name | string | No | Name of Federal department, agency, bureau, etc. |
gov_interest_organizations.level_one | string | No | Position of the focal agency in a hierarchical set of relationships, with the parent agency (e.g., DHHS) at level_one and child agencies at lower levels (e.g., NIH at level_two and NIDA at level_three). government_organization.name is equal to one and only one of the values in level_one, level_two, and level_three. |
gov_interest_organizations.level_two | string | No | Position of the focal agency in a hierarchical set of relationships, with the parent agency (e.g., DHHS) at level_one and child agencies at lower levels (e.g., NIH at level_two and NIDA at level_three). government_organization.name is equal to one and only one of the values in level_one, level_two, and level_three. |
gov_interest_organizations.level_three | string | No | Position of the focal agency in a hierarchical set of relationships, with the parent agency (e.g., DHHS) at level_one and child agencies at lower levels (e.g., NIH at level_two and NIDA at level_three). government_organization.name is equal to one and only one of the values in level_one, level_two, and level_three. |
granted_pregrant_crosswalk.application_number | string | No | The U.S. application number linking the granted patent to its pre-grant publication. |
granted_pregrant_crosswalk.patent_id | integer | No | Patent number. |
granted_pregrant_crosswalk.current_document_number_flag | boolean | No | |
granted_pregrant_crosswalk.current_patent_id_flag | boolean | No | |
inventors.inventor_gender_code | string | No | Code (if present) indicating the inventor’s gender. |
curl https://api.patentgrep.com/api/v1/publication/ \
-H "X-Api-Key: $PATENTGREP_KEY" \
-H "Content-Type: application/json" \
-d '{
"q": {"document_number": "20180123164"},
"f": [
"document_number",
"publication_title",
"publication_date"
],
"s": [{"document_number": "asc"}],
"o": {"size": 25}
}'import os, requests
resp = requests.post(
"https://api.patentgrep.com/api/v1/publication/",
headers={"X-Api-Key": os.environ["PATENTGREP_KEY"]},
json={
"q": {"document_number": "20180123164"},
"f": [
"document_number",
"publication_title",
"publication_date"
],
"s": [{"document_number": "asc"}],
"o": {"size": 25}
},
)
resp.raise_for_status()
data = resp.json()
print(data)const res = await fetch("https://api.patentgrep.com/api/v1/publication/", {
headers: {
"X-Api-Key": process.env.PATENTGREP_KEY,
"Content-Type": "application/json",
},
method: "POST",
body: JSON.stringify({
"q": {"document_number": "20180123164"},
"f": [
"document_number",
"publication_title",
"publication_date"
],
"s": [{"document_number": "asc"}],
"o": {"size": 25}
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"os"
"strings"
)
func main() {
body := strings.NewReader(`{
"q": {"document_number": "20180123164"},
"f": [
"document_number",
"publication_title",
"publication_date"
],
"s": [{"document_number": "asc"}],
"o": {"size": 25}
}`)
req, err := http.NewRequest(http.MethodPost, "https://api.patentgrep.com/api/v1/publication/", body)
if err != nil {
panic(err)
}
req.Header.Set("X-Api-Key", os.Getenv("PATENTGREP_KEY"))
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
data, err := io.ReadAll(res.Body)
if err != nil {
panic(err)
}
if res.StatusCode != http.StatusOK {
panic(fmt.Sprintf("%s: %s", res.Status, data))
}
fmt.Println(string(data))
}require "json"
require "net/http"
uri = URI("https://api.patentgrep.com/api/v1/publication/")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = ENV.fetch("PATENTGREP_KEY")
req["Content-Type"] = "application/json"
req.body = <<~'JSON'
{
"q": {"document_number": "20180123164"},
"f": [
"document_number",
"publication_title",
"publication_date"
],
"s": [{"document_number": "asc"}],
"o": {"size": 25}
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |http| http.request(req) }
raise "#{res.code}: #{res.body}" unless res.is_a?(Net::HTTPSuccess)
data = JSON.parse(res.body)
p data