> For the complete documentation index, see [llms.txt](https://docs.snyk.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.snyk.io/scan-fix-and-prevent/scan-with-snyk/snyk-api-web.md).

# Snyk API & Web

Snyk API & Web is a cloud-based dynamic application security testing (DAST) solution that identifies security vulnerabilities in your running web applications and APIs. Snyk API & Web simulates real-world attacks against your deployed applications to discover security issues before attackers can exploit them.

Modern applications expose complex attack surfaces through web interfaces and API endpoints. Security vulnerabilities in production applications can expose sensitive data, compromise user accounts, and damage the reputation of your organization. Traditional static analysis tools examine code at rest, but many vulnerabilities only appear when code executes in its runtime environment.

Snyk API & Web tests your applications in their running state, finding runtime vulnerabilities such as SQL injection, cross-site scripting (XSS), authentication bypasses, and configuration weaknesses. By integrating DAST throughout the software development lifecycle (SDLC), you can catch and fix vulnerabilities before they reach production.

## Scan web applications and APIs

Snyk API & Web supports two scanning approaches:

* **Web applications**: The scanner crawls your application, discovers pages and functionality, interacts with forms and buttons, and performs comprehensive security tests across your entire web application.
* **APIs**: The scanner tests all endpoints defined in your API schema, ensuring complete coverage of your API surface.

Configure authentication to scan protected areas accessible only to logged-in users. Snyk API & Web supports multiple authentication methods including login forms, login sequences, Basic Auth, API keys, and two-factor authentication (2FA).

## Test behind authentication

Snyk API & Web provides flexible authentication options to scan protected application areas:

* **Login forms and sequences**: Automate login flows using form selectors or recorded browser interactions.
* **Two-factor authentication**: Support for TOTP-based 2FA (for example, Google Authenticator, Authy) and email/SMS-based OTP.
* **API authentication**: API keys, login endpoints, and token-based authentication.
* **Logout detection**: Automatically re-authenticate if your application logs out mid-scan.

Comprehensive authentication support ensures security coverage across your entire application, including administrative interfaces and user-specific functionality.

## Scan internal and private applications

For applications not accessible from the public internet, deploy the scanning agent in your private network. The agent creates a secure tunnel between Snyk cloud scanning infrastructure and your internal applications, enabling DAST for:

* Development and staging environments on private networks
* Internal tools and administrative interfaces
* Applications behind VPNs or firewalls

The agent deploys as a Docker container or Kubernetes workload in your infrastructure.

## Integrate into your development workflow

Snyk API & Web provides multiple interfaces for integrating security testing into your workflow:

* **Web UI**: Configure targets, review findings, and generate reports
* **REST API**: Programmatic access for custom integrations and automation
* **CLI**: Command-line interface for scripting and CI/CD pipelines
* **CI/CD integrations**: Native support for Jenkins, GitHub Actions, GitLab CI, and Azure DevOps

Trigger scans automatically after deployments, fail builds based on vulnerability thresholds, and sync findings with Jira or other ticketing systems to streamline remediation across your development and security teams.

## Prioritize and fix vulnerabilities

Snyk API & Web detects and reports security vulnerabilities with detailed information including:

* **Severity ratings**: Automatically assigned based on vulnerability type, exploitability, impact, and scope, with CVSS scores to prioritize fixes.
* **Affected endpoints**: Specific URLs and API endpoints where vulnerabilities were found
* **Remediation guidance**: Detailed explanations and recommended fixes for each vulnerability type
* **Vulnerability evidence**: Evidence demonstrating how the vulnerability can be exploited

Use customizable scan profiles to balance speed and coverage based on your needs, from lightning-fast SSL/TLS checks for CI/CD gates to comprehensive full scans for thorough security assessments.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.snyk.io/scan-fix-and-prevent/scan-with-snyk/snyk-api-web.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
