---
title: "Scan target."
method: GET
path: "/scan"
tags: ["Scan"]
---

# Scan target.

`GET /scan`

Scan the given target. Currently, only IPv4 targets are supported.

## Query parameters

- `target` string, required
- `port` string
- `network` string

## Response `200`

Success. This not means, that no error occured while scanning! These errors are returned in `errors` array.

- Result — unresolved $ref

## Other responses

- `400` — Invalid target or port.
- `404` — Target domain not found.
- `500` — Internal error.

## Changes

- **2022-05-27** `d707d70e97da` — 2 info
  - added the non-success response with the status `404`
  - removed the non-success response with the status `403`
- **2022-05-05** `e618775ae95a` — 1 info
  - added the non-success response with the status `403`
- **2022-05-05** `784d1c9e20bc` — 1 breaking
  - the response's body type/format changed from `array`/`` to ``/`` for status `200`
- **2022-05-04** `7cf36cd77474` — 1 info
  - added the new optional `query` request parameter `network`
- **2022-05-04** `ae4014d95760` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/elmasy-com/apis/elmasy-api/changes/scan/get.md)

---

[API](https://skmtc.dev/elmasy-com/apis/elmasy-api.md) · [All operations](https://skmtc.dev/elmasy-com/apis/elmasy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/elmasy-com/elmasy-api/revisions/7e77337b2cee/schema)
