latestSwagger 2.0Terms of Use2026-08-10151137.9 KB

4212453c4c6a

patents

Patent aggregations search

post/patent/aggregate

Request body

queryobject
aggregationsobject
sizeinteger

Number of items per page

Example request

{
  "query": {
    "match": {
      "title": "Malaria"
    }
  },
  "aggregations": {
    "publication_types": {
      "cardinality": {
        "field": "publication_type"
      }
    }
  }
}

Response

Valid response from the server