Gateway REST API
tyk · Company
Gateway REST API API
Authentication
Sample Requests
Gets the health check values for an API if it is being recorded
Hover any highlighted part to learn what it does
| x-tyk-authorization | example |
curl -X GET "https://api.apis.guru/v2/specs/tyk.com/1.9/tyk/health/?api_id=example" \ -H "x-tyk-authorization: example"
import requests
params = {
"api_id": "example"
}
headers = {
"x-tyk-authorization": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/tyk.com/1.9/tyk/health/",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/tyk.com/1.9/tyk/health/');
url.searchParams.set('api_id', 'example');
const response = await fetch(url, {
headers: {
'x-tyk-authorization': 'example'
},
});
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/tyk.com/1.9/tyk/health/")
q := baseURL.Query()
q.Set("api_id", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
req.Header.Set("x-tyk-authorization", "example")
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/tyk.com/1.9/tyk/health/")
uri.query = URI.encode_www_form({
"api_id" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
req["x-tyk-authorization"] = "example"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/tyk.com/1.9/tyk/health/?" . http_build_query([
"api_id" => "example"
]);
$opts = ["http" => [
"method" => "GET",
"header" => implode("\r\n", [
"x-tyk-authorization: example"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Gets a list of *key* IDs (will only work with non-hashed installations)
Hover any highlighted part to learn what it does
| x-tyk-authorization | example |
curl -X GET "https://api.apis.guru/v2/specs/tyk.com/1.9/tyk/keys/?api_id=example" \ -H "x-tyk-authorization: example"
import requests
params = {
"api_id": "example"
}
headers = {
"x-tyk-authorization": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/tyk.com/1.9/tyk/keys/",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/tyk.com/1.9/tyk/keys/');
url.searchParams.set('api_id', 'example');
const response = await fetch(url, {
headers: {
'x-tyk-authorization': 'example'
},
});
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/tyk.com/1.9/tyk/keys/")
q := baseURL.Query()
q.Set("api_id", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
req.Header.Set("x-tyk-authorization", "example")
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/tyk.com/1.9/tyk/keys/")
uri.query = URI.encode_www_form({
"api_id" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
req["x-tyk-authorization"] = "example"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/tyk.com/1.9/tyk/keys/?" . http_build_query([
"api_id" => "example"
]);
$opts = ["http" => [
"method" => "GET",
"header" => implode("\r\n", [
"x-tyk-authorization: example"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Gets a list of *API Definition* objects that are currently live on the gateway
Hover any highlighted part to learn what it does
| x-tyk-authorization | example |
curl -X GET "https://api.apis.guru/v2/specs/tyk.com/1.9/tyk/apis/" \ -H "x-tyk-authorization: example"
import requests
headers = {
"x-tyk-authorization": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/tyk.com/1.9/tyk/apis/",
headers=headers,
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/tyk.com/1.9/tyk/apis/';
const response = await fetch(url, {
headers: {
'x-tyk-authorization': 'example'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/tyk.com/1.9/tyk/apis/"
req, _ := http.NewRequest("GET", targetURL, nil)
req.Header.Set("x-tyk-authorization", "example")
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/tyk.com/1.9/tyk/apis/")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
req["x-tyk-authorization"] = "example"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/tyk.com/1.9/tyk/apis/";
$opts = ["http" => [
"method" => "GET",
"header" => implode("\r\n", [
"x-tyk-authorization: example"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Gateway REST API?
Gateway REST API is a Company API. Developers commonly use company APIs for:
- enriching CRM records with company firmographics
- building lead-generation and prospecting tools
- verifying business identity and registration details
- monitoring competitors and market intelligence
- powering B2B data enrichment pipelines
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Gateway REST API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide