Get an API key
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Get, RequestUri = new Uri("https://api.disasm.dev/v1/keys/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"), Headers = { { "Authorization", "Bearer <token>" }, },};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}package main
import ( "fmt" "net/http" "io")
func main() {
url := "https://api.disasm.dev/v1/keys/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close() body, _ := io.ReadAll(res.Body)
fmt.Println(res) fmt.Println(string(body))
}const url = 'https://api.disasm.dev/v1/keys/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.disasm.dev/v1/keys/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Get details for a specific API key including balance, usage, and service info.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The API key ID (UUID).
Responses
Section titled “Responses”The API key.
object
Masked key, for identification only.
Key state, e.g. active, revoked.
Subscription requests remaining on this key.
Total requests made with this key.
Whether requests beyond the subscription balance draw from the PAYG wallet.
Example
{ "id": "key-uuid-1", "service_id": 1, "service_name": "Incapsula", "key_hint": "dk_live_****abcd", "label": "Production", "status": "active", "request_balance": 5000, "requests_used": 12400, "payg_overflow": true, "last_used_at": "2026-04-14T12:30:00Z", "created_at": "2026-01-15T09:00:00Z"}Headers
Section titled “Headers”Example
60Maximum requests per minute (60).
Example
59Requests remaining in the current window.
Example
1718000000Unix timestamp when the rate limit resets.
Missing or invalid API key.
object
A human-readable message describing what went wrong.
Example
{ "error": "Missing or invalid API key"}The requested resource does not exist or does not belong to you.
object
A human-readable message describing what went wrong.
Example
{ "error": "API key not found"}Rate limit exceeded. See the X-RateLimit-* response headers.
object
A human-readable message describing what went wrong.
Example
{ "error": "Rate limit exceeded"}Headers
Section titled “Headers”Example
60Maximum requests per minute (60).
Example
59Requests remaining in the current window.
Example
1718000000Unix timestamp when the rate limit resets.