Find an API

Search public APIs with auth details & Postman guides

← All APIs

Snyk API

snyk · Developer Tools

Developer Tools No Auth Free & Open developer_tools

The Snyk API is available to customers on [Business and Enterprise plans](https://snyk.io/plans) and allows you to programatically integrate with Snyk. ## REST API We are in the process of building a new, improved API (`https://api.snyk.io/rest`) built using the OpenAPI and JSON API standards. We welcome you to try it out as we shape and release endpoints until it, ultimately, becomes a full replacement for our current API. Looking for our REST API docs? Please head over to [https://apidocs.s

Authentication

No authentication requiredFree to use with no key needed.

Sample Requests

GET List all the organizations a user belongs to

List all the organizations a user belongs to

https://api.apis.guru/v2/specs/snyk.io/1.0.0/orgs

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/snyk.io/1.0.0/orgs"
import requests
response = requests.get(
    "https://api.apis.guru/v2/specs/snyk.io/1.0.0/orgs",
)
print(response.json())
const url = 'https://api.apis.guru/v2/specs/snyk.io/1.0.0/orgs';

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	targetURL := "https://api.apis.guru/v2/specs/snyk.io/1.0.0/orgs"
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/snyk.io/1.0.0/orgs")

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/snyk.io/1.0.0/orgs";
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET Get My Details

Get My Details

https://api.apis.guru/v2/specs/snyk.io/1.0.0/user/me

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/snyk.io/1.0.0/user/me"
import requests
response = requests.get(
    "https://api.apis.guru/v2/specs/snyk.io/1.0.0/user/me",
)
print(response.json())
const url = 'https://api.apis.guru/v2/specs/snyk.io/1.0.0/user/me';

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	targetURL := "https://api.apis.guru/v2/specs/snyk.io/1.0.0/user/me"
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/snyk.io/1.0.0/user/me")

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/snyk.io/1.0.0/user/me";
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET List all organizations in a group

List all organizations in a group

https://api.apis.guru/v2/specs/snyk.io/1.0.0/group/{groupId}/orgs?name=test&page=1&perPage=100

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/snyk.io/1.0.0/group/{groupId}/orgs?name=test&page=1&perPage=100"
import requests
params = {
    "name": "test",
    "page": "1",
    "perPage": "100"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/snyk.io/1.0.0/group/{groupId}/orgs",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/snyk.io/1.0.0/group/{groupId}/orgs');
url.searchParams.set('name', 'test');
url.searchParams.set('page', '1');
url.searchParams.set('perPage', '100');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/snyk.io/1.0.0/group/{groupId}/orgs")
	q := baseURL.Query()
	q.Set("name", "test")
	q.Set("page", "1")
	q.Set("perPage", "100")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/snyk.io/1.0.0/group/{groupId}/orgs")
uri.query = URI.encode_www_form({
  "name" => "test",
  "page" => "1",
  "perPage" => "100"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/snyk.io/1.0.0/group/{groupId}/orgs?" . http_build_query([
    "name" => "test",
    "page" => "1",
    "perPage" => "100"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));

Postman Setup Guide

Get Postman ↗
  1. See official documentation for authentication and setup.

What can you build with Snyk API?

Snyk API is a Developer Tools API. Developers commonly use developer tools APIs for:

  • automating code review and quality checks
  • integrating CI/CD pipelines and build systems
  • managing feature flags and A/B tests
  • monitoring errors and application performance
  • generating and validating test data

No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Snyk API is free to use, making it a low-risk choice to experiment with.

New to APIs? Read our beginner's guide · Learn about API keys · What is REST?

Open documentation ↗