v1

latestOpenAPI 3.0.02026-07-1441177156.0 KB
Autonomous Systems

Search download

Initiates the creation of the file with data about autonomous systems that matched the search query. When the file is created, it will be available for download. On the successful call, returns the unique identifier that represents the file creation process. The file creation is an asynchronous process because the amount of data that should be exported to the file and the export duration is hard to predict. The call to this endpoint just initiates the file creation. To check the file status and get the download link, send a GET request to the /v4/data/account/downloads/ API endpoint with the identifier returned by this endpoint. The number of rows available for download is determined by the subscription plan.

post/as/search/download

Request body

column_liststring[] required

List of columns to download. Supported values: number, organization.

descriptionstring

An optional field with a short file description. Max length: 254 characters.

file_format'csv' | 'ndjson' required

The file format to use for the file creation. Supported values: ndjson, csv.

rows_countinteger

The number of rows the user wants to receive in the current download request.

search_paramsobject[] required

A list of autonomous system attributes to filter the search results by. A comprehensive list of valid search parameters is shown in the table below.

Example request

{
  "column_list": [
    "number",
    "organization"
  ],
  "description": "description",
  "search_params": [
    {
      "as_domain": {
        "operator": "eq",
        "value": "i.ua"
      }
    },
    {
      "as_ip": {
        "operator": "eq",
        "value": "8.8.8.8"
      }
    }
  ]
}

Response

Operation successful