Skip to main content
 
 
 
IN THIS SECTION
5 posts
dgpe
Last seen: 06/18/2022 - 14:59
Joined: 06/13/2022 - 10:41
PatentsView returning a 200 success code but zero patents

I have tried running some short python scripts that send specific queries to PatentsView and have worked without errors for some time, but today they started returning no results even though the response code was 200.  If I run one of the examples provided by PatentsView that just retrieves a single paten it works OK.  Similarly if I try to reach for patents by a single inventor it appears to work, but my scripts which make use of conditions relating to dates, CPC codes, and other variables do not.

Is this related to the introduction of the Elastic Search version or is the system experiencing some other problem?

Thanks for you assistance with this.

PVTeam
Role: moderator
Last seen: 09/10/2024 - 13:29
Joined: 10/17/2017 - 10:47
MySQL API or ElasticSearch (beta) API?

Hello! Which API are you using/speaking to when experiencing this 200 response but no results? 

Thank you,

PVTeam

Russ
Last seen: 03/21/2024 - 09:05
Joined: 11/14/2017 - 22:15
Assignees endpoint

I'm seeing it when searching for patents assigned to Rice University.  It used to return results but doesn't now.

Russ Allen

 

PVTeam
Role: moderator
Last seen: 09/10/2024 - 13:29
Joined: 10/17/2017 - 10:47
Hello! Our API developer…

Hello! Our API developer believes to have resolved this issue. Queries should return results as intended now.

Please let us know if you continue to have null responses. 

Thank you,

PVTeam

dgpe
Last seen: 06/18/2022 - 14:59
Joined: 06/13/2022 - 10:41
PATENTSVIEW RETURNING A 200 SUCCESS CODE BUT ZERO PATENTS

I am using the MYSQL API.  It is now working for some queries but still not for all.

For example, the following query returns 101 results (which is consistent with expectations): https://api.patentsview.org/patents/query?q={"_and":[{"_gte":{"patent_date":"2021-12-15"}},{"_lte":{"patent_date":"2021-12-31"}},{"inventor_county_fips":["4013","4021"]}]}&f=["patent_number","patent_title"]&0={"page":"1","per_page":"10000"}

But this one still returns with code 200 but the number of results is zero, which seems improbable: https://api.patentsview.org/patents/query?q={"_and":[{"_gte":{"patent_date":"2021-01-01"}},{"_lte":{"patent_date":"2021-04-01"}}]}&f=["patent_number","patent_title"]&o={"page":"1","per_page":"5000"}

Both of these queries and other similar ones were working without any problems until recently.

DGPE