cURL
curl -X GET 'https://app.onefirewall.com/api/v1/stix2/203.0.113.45' \
-H "Authorization: Bearer $OFA_TOKEN"import requests
url = "https://app.onefirewall.com/api/v1/stix2/{stix2id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.onefirewall.com/api/v1/stix2/{stix2id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.onefirewall.com/api/v1/stix2/{stix2id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.onefirewall.com/api/v1/stix2/{stix2id}"
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(string(body))
}HttpResponse<String> response = Unirest.get("https://app.onefirewall.com/api/v1/stix2/{stix2id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.onefirewall.com/api/v1/stix2/{stix2id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"type": "indicator",
"id": "indicator--f4ca1ddb-965a-54ff-85d9-a94da8e306fb",
"spec_version": "2.1",
"created": "2026-11-20T08:14:03.000Z",
"modified": "2026-11-30T23:58:00.000Z",
"pattern_type": "stix",
"pattern": "[ipv4-addr:value = '203.0.113.45']",
"confidence": 74,
"labels": [
"ssh-bruteforce",
"botnet"
]
}
]<string><string><string><string><string><string><string><string><string>STIX2
STIX 2 objects for an indicator
Stored bundles plus objects generated from the record. Organizations with a feed delay get 403.
Roles: Super Admin (0), Member (1), Guest (2).
Cost: 25 Credit Coins.
GET
/
api
/
v1
/
stix2
/
{stix2id}
cURL
curl -X GET 'https://app.onefirewall.com/api/v1/stix2/203.0.113.45' \
-H "Authorization: Bearer $OFA_TOKEN"import requests
url = "https://app.onefirewall.com/api/v1/stix2/{stix2id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.onefirewall.com/api/v1/stix2/{stix2id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.onefirewall.com/api/v1/stix2/{stix2id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.onefirewall.com/api/v1/stix2/{stix2id}"
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(string(body))
}HttpResponse<String> response = Unirest.get("https://app.onefirewall.com/api/v1/stix2/{stix2id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.onefirewall.com/api/v1/stix2/{stix2id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"type": "indicator",
"id": "indicator--f4ca1ddb-965a-54ff-85d9-a94da8e306fb",
"spec_version": "2.1",
"created": "2026-11-20T08:14:03.000Z",
"modified": "2026-11-30T23:58:00.000Z",
"pattern_type": "stix",
"pattern": "[ipv4-addr:value = '203.0.113.45']",
"confidence": 74,
"labels": [
"ssh-bruteforce",
"botnet"
]
}
]<string><string><string><string><string><string><string><string><string>Authorizations
API token (ofa_..., opaque, stored only as a keyed hash, revocable one by one) or legacy JWT signed (HS256) with a per-user server-side secret, revocable per user. JWT handling follows RFC8725 (JWT best current practices): algorithm pinned by the server, no none, claims checked against the live user record. See the API description for the compatibility forms (Basic, query parameter).

