Skip to main content
 
 
 
IN THIS SECTION
2 posts
Poorman65
Last seen: 03/17/2021 - 12:37
Joined: 03/10/2021 - 11:01
Queries Not Return any Results

If I try this query with the name Whitney, it return results, but if I try with other names, such as Smith, I get a 200, but no results in the Contents. It doesn't make sense because one of the patents returned for Whitney, includes Smith as an inventor.

GETS RESULTS

https://www.patentsview.org/api/patents/query?q={"_and":[{"inventor_last_name":"Whitney"}]}&f=["patent_number","patent_date","inventor_last_name","assignee_organization"]

NO RESULTS

https://www.patentsview.org/api/patents/query?q={"_and":[{"inventor_last_name":"Smith"}]}&f=["patent_number","patent_date","inventor_last_name","assignee_organization"]

PVTeam
Role: moderator
Last seen: 04/26/2024 - 10:39
Joined: 10/17/2017 - 10:47
QUERIES NOT RETURN ANY RESULTS

Hi Poorman65,

 

Thank you for bringing this issue to our attention. The queries you ran were failing due to a space issue on one of our servers. We have addressed the problem and both of the queries you listed above should now work.

Additionally, you can remove the "_and" operator from your query as you are only searching based on one criteria and you can include &o={"matched_subentities_only":"true"} if you are only interested in the 5 fields you listed in the f portion of your query (see the API documentation for more information: https://www.patentsview.org/api/query-language.html). Here are examples of modified versions of your first query:

With &o={"matched_subentities_only":"true"} :

https://www.patentsview.org/api/patents/query?q={"inventor_last_name":"Whitney"}&f=["patent_number","patent_date","inventor_last_name","assignee_organization"]

Without &o={"matched_subentities_only":"true"} :

https://www.patentsview.org/api/patents/query?q={"inventor_last_name":"Whitney"}&f=["patent_number","patent_date","inventor_last_name","assignee_organization"]&o={"matched_subentities_only":"true"}

We hope this information is useful. Please feel free to reach out to us again with any further questions.

 

Best,

PVTeam