> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Query Issues By Package URL

Query issues for a specific package version identified by Package URL (purl). Snyk returns only direct vulnerabilities. Transitive vulnerabilities (from dependencies) are not returned because they can vary depending on context.

<Note>
  External Documentation

  To learn more, visit the [Snyk documentation](https://apidocs.snyk.io/?version=2025-11-05#get-/orgs/-org_id-/packages/-purl-/issues).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                                                                                              |
  | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Organization ID  | Unique identifier for an organization.                                                                                                                                                                   |
  | PURL             | A URI-encoded Package URL (purl). Supported purl types are apk, cargo, cocoapods, composer, deb, gem, generic, hex, maven, npm, nuget, pypi, rpm, and swift. A version for the package is also required. |
  | Return All Pages | Automatically fetch all resources, page by page.                                                                                                                                                         |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                       |
  | --------- | ----------------------------------------------------------------------------------------------------------------- |
  | Limit     | Specify the number of results to return. Must be greater than 0 and less than 1000. Default is 1000.              |
  | Offset    | Specify the number of results to skip before returning results. Must be greater than or equal to 0. Default is 0. |
</div>

## Example Output

```json theme={"dark"}
{
	"data": [
		{
			"attributes": {
				"coordinates": [
					{
						"remedies": [
							{
								"description": "Upgrade the package version to 5.4.0,6.4.0 to fix this vulnerability",
								"details": {
									"upgrade_package": "5.4.0,6.4.0"
								},
								"type": "indeterminate"
							}
						],
						"representations": [
							{
								"resource_path": ",5.4.0),[6.0.0.pr1,6.4.0)"
							}
						]
					}
				],
				"created_at": "2022-06-16T13:51:13Z",
				"description": "## Overview\n\n\nAffected versions of this package are vulnerable to XML External Entity (XXE) Injection.",
				"effective_severity_level": "info",
				"problems": [
					{
						"disclosed_at": "1970-01-01T00:00:00.000Z",
						"discovered_at": "1970-01-01T00:00:00.000Z",
						"id": "CWE-61",
						"source": "CVE",
						"updated_at": "1970-01-01T00:00:00.000Z",
						"url": "http://example.com"
					}
				],
				"severities": [
					{
						"level": "medium",
						"score": 5.3,
						"source": "Snyk",
						"type": "primary",
						"vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
						"version": "4.0"
					}
				],
				"slots": {
					"disclosure_time": "2022-06-16T13:51:13Z",
					"exploit_details": {
						"maturity_levels": [
							{
								"format": "CVSSv4",
								"level": "Attacked",
								"type": "primary"
							}
						],
						"sources": [
							"string"
						]
					},
					"publication_time": "2022-06-16T14:00:24.315507Z",
					"references": [
						{
							"title": "string",
							"url": "string"
						}
					]
				},
				"title": "XML External Entity (XXE) Injection",
				"type": "package_vulnerability",
				"updated_at": "2022-06-16T14:00:24.315507Z"
			},
			"id": "SNYK-JAVA-COMFASTERXMLWOODSTOX-2928754",
			"type": "issue"
		}
	],
	"jsonapi": {
		"version": "1.0"
	},
	"links": {
		"first": "https://example.com/api/resource?ending_before=v1.eyJpZCI6IjExIn0K",
		"last": "https://example.com/api/resource?starting_after=v1.eyJpZCI6IjMwIn0K",
		"next": "https://example.com/api/resource?starting_after=v1.eyJpZCI6IjEwIn0K"
	},
	"meta": {
		"match": {
			"description": "Package and checksum both match",
			"details": {
				"checksum": true,
				"name_version": true
			},
			"input": {
				"checksum": "sha1:abc123",
				"purl": "pkg:maven/com.example/my-package@1.0.0?checksum=sha1:abc123"
			},
			"type": "full"
		},
		"package": {
			"name": "spring-core",
			"namespace": "org.springframework",
			"type": "maven",
			"url": "pkg:maven/com.fasterxml.woodstox/woodstox-core@5.0.0",
			"version": "1.0.0"
		}
	}
}
```

## Workflow Library Example

[Query Issues by Package Url with Snyk and Send Results Via Email](https://library.blinkops.com/workflows/query-issues-by-package-url-with-snyk-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/query-issues-by-package-url-with-snyk-and-send-results-via-email/canvas" />
</div>
