---
updatedAt: 2025-06-05T21:08:35.000Z
agentTools:
  projectIndex: https://docs.securitytrails.com/llms.txt
---

# Search Domain (DSL)

Filter and search specific records using our DSL with this endpoint

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "SecurityTrails API",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.securitytrails.com/v1"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/domains/list-backup": {
      "post": {
        "summary": "Search Domain (DSL)",
        "description": "Filter and search specific records using our DSL with this endpoint",
        "operationId": "search-domain-dsl-2",
        "parameters": [
          {
            "name": "apikey",
            "in": "query",
            "description": "Your SecurityTrails API key. See [authentication documentation](doc:authentication)",
            "required": true,
            "schema": {
              "type": "string",
              "default": "your_api_key"
            }
          },
          {
            "name": "include_ips",
            "in": "query",
            "description": "Resolves any A records and additionally returns IP addresses.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "The page of the returned results.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "scroll",
            "in": "query",
            "description": "Request scrolling. See the [Scrolling API endpoint](#scroll).",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "query"
                ],
                "properties": {
                  "query": {
                    "type": "string",
                    "default": "whois_email = 'domain-contact_ww_grp@oracle.com'"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"records\": [\n    {\n      \"whois\": {\n        \"registrar\": \"MarkMonitor Inc.\",\n        \"expiresDate\": 1512104400000,\n        \"createdDate\": 597042000000\n      },\n      \"mail_provider\": [\n        \"Oracle Corporation\"\n      ],\n      \"hostname\": \"oracle.com\",\n      \"host_provider\": [\n        \"Oracle Corporation\"\n      ],\n      \"computed\": {\n        \"company_name\": \"Oracle Corporation\"\n      },\n      \"alexa_rank\": 352\n    },\n    {\n      \"whois\": {\n        \"registrar\": \"Tucows Domains Inc.\",\n        \"expiresDate\": 1529093746000,\n        \"createdDate\": 1118866546000\n      },\n      \"mail_provider\": [\n        \"Oracle Corporation\"\n      ],\n      \"hostname\": \"taleo.net\",\n      \"host_provider\": [\n        \"Oracle Corporation\"\n      ],\n      \"computed\": {\n        \"company_name\": \"Oracle Corporation\"\n      },\n      \"alexa_rank\": 413\n    }\n  ],\n  \"record_count\": 2,\n  \"meta\": {\n    \"total_pages\": 1,\n    \"query\": \"whois_email = 'domain-contact_ww_grp@oracle.com'\",\n    \"page\": 1,\n    \"max_page\": 100\n  },\n  \"endpoint\": \"/v1/search/list\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "records": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "whois": {
                            "type": "object",
                            "properties": {
                              "registrar": {
                                "type": "string",
                                "example": "MarkMonitor Inc."
                              },
                              "expiresDate": {
                                "type": "integer",
                                "example": 1512104400000,
                                "default": 0
                              },
                              "createdDate": {
                                "type": "integer",
                                "example": 597042000000,
                                "default": 0
                              }
                            }
                          },
                          "mail_provider": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "example": "Oracle Corporation"
                            }
                          },
                          "hostname": {
                            "type": "string",
                            "example": "oracle.com"
                          },
                          "host_provider": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "example": "Oracle Corporation"
                            }
                          },
                          "computed": {
                            "type": "object",
                            "properties": {
                              "company_name": {
                                "type": "string",
                                "example": "Oracle Corporation"
                              }
                            }
                          },
                          "alexa_rank": {
                            "type": "integer",
                            "example": 352,
                            "default": 0
                          }
                        }
                      }
                    },
                    "record_count": {
                      "type": "integer",
                      "example": 2,
                      "default": 0
                    },
                    "meta": {
                      "type": "object",
                      "properties": {
                        "total_pages": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "query": {
                          "type": "string",
                          "example": "whois_email = 'domain-contact_ww_grp@oracle.com'"
                        },
                        "page": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "max_page": {
                          "type": "integer",
                          "example": 100,
                          "default": 0
                        }
                      }
                    },
                    "endpoint": {
                      "type": "string",
                      "example": "/v1/search/list"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"message\": \"values contain invalid characters\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "values contain invalid characters"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```