Skip to content

A wrapper for the USPTO Patent View Api, checkout patents from as far back as 50 years ago

License

Notifications You must be signed in to change notification settings

dills122/patent-view-api

Repository files navigation

Patent View Api

CI Job CodeFactor Codacy Badge npm version

Checkout all the granted patents over the last 50 years.

API Description

Examples of the

Shared arguments:

  • dataPoints - fields you want in your response;
    • example: ["patent_number", "date"]
  • sortBy - how you would like your results sorting in the response
    • example: [{"patent_number":"desc"}]

All endpoints support pagination, thus all endpoint's args object will have the following properties

{
  pageSize?: number;
  pages?: number;
}
  • Endpoints
    • Patents - retrieve details about patents and inventors
      • Range - Get all the patents between a period of time
        • /*
            RangeArgs: {
              startDate: string;
              endDate: string;
            }
          */
          const resp = await new Range().between({
            args: RangeArgs;
            dataPoints: DataPoints;
            sortBy?: SortingOptions;
          })