DEV Community

carrierone
carrierone

Posted on

USPTO Patent and Trademark Data via REST API

USPTO Patent and Trademark Data via REST API for Developers

If you're developing a patent search tool, IP analytics platform, or a system for trademark monitoring, accessing data from the United States Patent and Trademark Office (USPTO) can be invaluable. The USPTO provides access to its vast database of patents through an API endpoint at api.verilexdata.com/api/v1/patents/sample. This article will guide you on how to search for patents using this API, covering the basics of what it offers and providing a small Python example.

Problem: Accessing USPTO Patent Data

The USPTO grants over 600,000 patents each year. As an engineer building a tool that needs to integrate with these data, you might want to filter or search for specific patents based on keywords, inventors, assignees, or other criteria. The REST API allows developers like yourself to do just that.

Solution: A Simple Python Example

Here’s a simple example of how to use the api.verilexdata.com/api/v1/patents/sample endpoint in Python to search for patents by keyword:


python
import requests

def fetch_patent_data(keyword):
    url = "https://api.verilexdata.com/api/v1/patents/sample"
    headers = {
        'Accept': '
Enter fullscreen mode Exit fullscreen mode

Top comments (0)