Sectora Scans API

Create, list, and manage security scans. Sectora supports multiple scan types including DAST (Dynamic Application Security Testing), API security testing, SCA (Software Composition Analysis), secrets detection, and SAST.

GitHub OpenAPI

Operations 4

GET /scans List scans #
POST /scans Create a scan #
GET /scans/{scanId} Get scan details #
GET /scans/{scanId}/vulnerabilities List scan vulnerabilities #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sectora-io:sectora-io-scans-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sectora-io-scans-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sectora Scans API
  description: 'Sectora is an enterprise DAST (Dynamic Application Security Testing) platform.

    This API enables programmatic access to scans, vulnerabilities, and security findings.


    ## Authentication

    All API requests require a Bearer token. Generate an API key from **Settings > API Keys** in the Sectora dashboard.


    ```

    Authorization: Bearer sk_live_your_api_key_here

    ```


    ## Rate Limiting

    Default rate limits: 60 requests/minute, 10,000 requests/day per API key.

    Rate limit headers are included in every response:


    | Header | Description |

    |--------|-------------|

    | `X-RateLimit-Limit` | Maximum requests per window |

    | `X-RateLimit-Remaining` | Remaining requests in current window |

    | `X-RateLimit-Reset` | Unix timestamp when the window resets |


    ## Pagination

    List endpoints support offset-based pagination via `limit` and `offset` query parameters.

    Responses include `total`, `limit`, and `offset` fields for navigation.


    ## Errors

    All errors return a consistent JSON structure:

    ```json

    {

    "success": false,

    "error": "Human-readable error message"

    }

    ```'
  version: 1.0.0
  contact:
    name: Sectora Support
    url: https://sectora.io/support
    email: support@sectora.io
  license:
    name: Proprietary
    url: https://sectora.io/terms
servers:
- url: https://api.sectora.io/api/v1
  description: Production
- url: https://api-staging.sectora.io/api/v1
  description: Staging
security:
- BearerAuth: []
tags:
- name: Scans
  description: 'Create, list, and manage security scans. Sectora supports multiple scan types

    including DAST (Dynamic Application Security Testing), API security testing,

    SCA (Software Composition Analysis), secrets detection, and SAST.'
paths:
  /scans:
    get:
      summary: List scans
      description: 'Returns a paginated list of scans for your organization, ordered by creation

        date (newest first). Use query parameters to filter by status or scan type.'
      operationId: listScans
      tags:
      - Scans
      parameters:
      - name: limit
        in: query
        description: Maximum number of scans to return.
        schema:
          type: integer
          default: 20
          minimum: 1
          maximum: 100
      - name: offset
        in: query
        description: Number of scans to skip for pagination.
        schema:
          type: integer
          default: 0
          minimum: 0
      - name: status
        in: query
        description: Filter scans by status.
        schema:
          type: string
          enum:
          - queued
          - running
          - completed
          - completed_with_errors
          - failed
          - cancelled
      - name: scan_type
        in: query
        description: Filter scans by type.
        schema:
          type: string
          enum:
          - dast
          - api
          - sca
          - secrets
          - sast
      responses:
        '200':
          description: Paginated list of scans.
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/PaginatedResponse'
                - type: object
                  properties:
                    data:
                      type: array
                      items:
                        $ref: '#/components/schemas/Scan'
              example:
                success: true
                data:
                - id: a1b2c3d4-e5f6-7890-abcd-ef1234567890
                  target: https://example.com
                  status: completed
                  scan_type: dast
                  progress: 100
                  summary:
                    total_vulnerabilities: 5
                    critical_count: 0
                    high_count: 1
                    medium_count: 2
                    low_count: 1
                    info_count: 1
                  created_at: '2026-03-22T10:30:00Z'
                  completed_at: '2026-03-22T10:35:42Z'
                total: 1
                limit: 20
                offset: 0
        '401':
          $ref: '#/components/responses/Unauthorized'
    post:
      summary: Create a scan
      description: 'Queue a new security scan for the specified target URL. The scan will be

        assigned a `queued` status and processed by the next available scanner worker.


        Use the returned scan ID to poll for progress via `GET /scans/{scanId}` or

        subscribe to real-time updates via WebSocket at `wss://api.sectora.io/ws/scan/{scanId}`.'
      operationId: createScan
      tags:
      - Scans
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateScanRequest'
            example:
              target: https://example.com
              scan_type: dast
              options:
                max_depth: 3
                timeout: 300
                include_ssl: true
                include_headers: true
      responses:
        '201':
          description: Scan successfully created and queued.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    $ref: '#/components/schemas/Scan'
              example:
                success: true
                data:
                  id: a1b2c3d4-e5f6-7890-abcd-ef1234567890
                  target: https://example.com
                  status: queued
                  scan_type: dast
                  progress: 0
                  created_at: '2026-03-22T10:30:00Z'
                  completed_at: null
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
  /scans/{scanId}:
    get:
      summary: Get scan details
      description: 'Retrieve full details for a specific scan, including its current status,

        progress, and vulnerability summary.'
      operationId: getScan
      tags:
      - Scans
      parameters:
      - name: scanId
        in: path
        required: true
        description: UUID of the scan.
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Scan details.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    $ref: '#/components/schemas/Scan'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /scans/{scanId}/vulnerabilities:
    get:
      summary: List scan vulnerabilities
      description: 'Returns a paginated list of all vulnerabilities found in a specific scan.

        Results are ordered by severity (critical first) then by creation date.'
      operationId: listScanVulnerabilities
      tags:
      - Scans
      parameters:
      - name: scanId
        in: path
        required: true
        description: UUID of the scan.
        schema:
          type: string
          format: uuid
      - name: severity
        in: query
        description: Filter vulnerabilities by severity level.
        schema:
          type: string
          enum:
          - critical
          - high
          - medium
          - low
          - info
      - name: limit
        in: query
        description: Maximum number of vulnerabilities to return.
        schema:
          type: integer
          default: 50
          minimum: 1
          maximum: 200
      - name: offset
        in: query
        description: Number of vulnerabilities to skip for pagination.
        schema:
          type: integer
          default: 0
          minimum: 0
      responses:
        '200':
          description: Paginated list of vulnerabilities for the scan.
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/PaginatedResponse'
                - type: object
                  properties:
                    data:
                      type: array
                      items:
                        $ref: '#/components/schemas/Vulnerability'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    PaginatedResponse:
      type: object
      description: Wrapper for paginated list responses.
      properties:
        success:
          type: boolean
          example: true
        data:
          type: array
          items: {}
          description: Array of result items.
        total:
          type: integer
          description: Total number of items matching the query.
          example: 42
        limit:
          type: integer
          description: Maximum items returned per page.
          example: 20
        offset:
          type: integer
          description: Number of items skipped.
          example: 0
    Scan:
      type: object
      description: Represents a security scan against a target.
      properties:
        id:
          type: string
          format: uuid
          description: Unique scan identifier.
          example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
        target:
          type: string
          description: The target URL or identifier being scanned.
          example: https://example.com
        status:
          type: string
          enum:
          - queued
          - running
          - completed
          - completed_with_errors
          - failed
          - cancelled
          description: Current scan status.
          example: completed
        scan_type:
          type: string
          enum:
          - dast
          - api
          - sca
          - secrets
          - sast
          description: Type of security scan.
          example: dast
        progress:
          type: integer
          minimum: 0
          maximum: 100
          description: Scan progress percentage (0-100).
          example: 100
        summary:
          $ref: '#/components/schemas/ScanSummary'
        error_message:
          type:
          - string
          - 'null'
          description: Error details if the scan failed.
        created_at:
          type: string
          format: date-time
          description: When the scan was created.
          example: '2026-03-22T10:30:00Z'
        started_at:
          type:
          - string
          - 'null'
          format: date-time
          description: When the scan began executing.
        completed_at:
          type:
          - string
          - 'null'
          format: date-time
          description: When the scan finished.
        project_id:
          type:
          - string
          - 'null'
          format: uuid
          description: Project this scan belongs to, if any.
    Vulnerability:
      type: object
      description: A security vulnerability found during a scan.
      properties:
        id:
          type: string
          format: uuid
          description: Unique vulnerability identifier.
          example: f1e2d3c4-b5a6-7890-fedc-ba0987654321
        scan_id:
          type: string
          format: uuid
          description: The scan that discovered this vulnerability.
        title:
          type: string
          description: Human-readable vulnerability title.
          example: Cross-Site Scripting (XSS) in search parameter
        severity:
          type: string
          enum:
          - critical
          - high
          - medium
          - low
          - info
          description: Severity level of the vulnerability.
          example: high
        vuln_type:
          type: string
          description: Vulnerability classification type.
          example: xss-reflected
        url:
          type: string
          description: The URL where the vulnerability was found.
          example: https://example.com/search?q=test
        description:
          type: string
          description: Detailed description of the vulnerability and its impact.
        remediation:
          type: string
          description: Recommended steps to fix the vulnerability.
        cve_id:
          type:
          - string
          - 'null'
          description: Associated CVE identifier, if applicable.
          example: CVE-2024-12345
        cwe:
          type:
          - string
          - 'null'
          description: CWE (Common Weakness Enumeration) classification.
          example: CWE-79
        cvss:
          type:
          - number
          - 'null'
          format: float
          description: CVSS score (0.0 - 10.0).
          example: 7.5
        evidence:
          type:
          - string
          - 'null'
          description: Technical evidence supporting the finding (HTTP request/response excerpts, etc.).
        status:
          type: string
          enum:
          - open
          - confirmed
          - false_positive
          - resolved
          description: Triage status of the vulnerability.
          example: open
        created_at:
          type: string
          format: date-time
          description: When the vulnerability was discovered.
    CreateScanRequest:
      type: object
      required:
      - target
      description: Request body for creating a new scan.
      properties:
        target:
          type: string
          description: URL to scan. Must be a valid, accessible URL.
          example: https://example.com
        scan_type:
          type: string
          enum:
          - dast
          - api
          default: dast
          description: Type of scan to perform.
        options:
          type: object
          description: Optional scan configuration.
          properties:
            max_depth:
              type: integer
              default: 3
              minimum: 1
              maximum: 10
              description: Maximum crawl depth for the scanner.
            timeout:
              type: integer
              default: 300
              minimum: 60
              maximum: 3600
              description: Scan timeout in seconds.
            include_ssl:
              type: boolean
              default: true
              description: Include SSL/TLS certificate analysis.
            include_headers:
              type: boolean
              default: true
              description: Include HTTP security header analysis.
        project_id:
          type: string
          format: uuid
          description: Optional project to assign the scan to.
    Error:
      type: object
      description: Standard error response.
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
          description: Human-readable error message.
          example: Scan not found
    ScanSummary:
      type: object
      description: Aggregated vulnerability counts for a scan.
      properties:
        total_vulnerabilities:
          type: integer
          description: Total number of vulnerabilities found.
          example: 12
        critical_count:
          type: integer
          description: Number of critical severity findings.
          example: 1
        high_count:
          type: integer
          description: Number of high severity findings.
          example: 3
        medium_count:
          type: integer
          description: Number of medium severity findings.
          example: 5
        low_count:
          type: integer
          description: Number of low severity findings.
          example: 2
        info_count:
          type: integer
          description: Number of informational findings.
          example: 1
  responses:
    Unauthorized:
      description: Authentication failed. Provide a valid API key in the Authorization header.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            success: false
            error: Invalid or missing API key
    BadRequest:
      description: The request was malformed or missing required fields.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            success: false
            error: Invalid target URL
    NotFound:
      description: The requested resource was not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            success: false
            error: Resource not found
    RateLimited:
      description: Rate limit exceeded. Retry after the period indicated in the `X-RateLimit-Reset` header.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            success: false
            error: Rate limit exceeded. Try again in 45 seconds.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: 'API key generated from the Sectora dashboard (Settings > API Keys).

        Keys are prefixed with `sk_live_` for production or `sk_test_` for staging.

        '
externalDocs:
  description: Sectora Documentation
  url: https://sectora.io/docs