curl --request POST \
--url https://api.aisa.one/apis/v1/cgmix-uscg-mil/maritime-safety/source-status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.aisa.one/apis/v1/cgmix-uscg-mil/maritime-safety/source-status"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.aisa.one/apis/v1/cgmix-uscg-mil/maritime-safety/source-status', 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://api.aisa.one/apis/v1/cgmix-uscg-mil/maritime-safety/source-status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/cgmix-uscg-mil/maritime-safety/source-status"
payload := strings.NewReader("{}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/cgmix-uscg-mil/maritime-safety/source-status")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/cgmix-uscg-mil/maritime-safety/source-status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{}"
response = http.request(request)
puts response.read_body{
"canary_segment": true,
"content_hash": "18d0dd3ca31cd62a0bb8369a62987f530d22cae2c88443c00e16fc1ccbf9e335",
"content_hash_algorithm": "sha256 of the sorted canonical summary rows (fields sorted, name=value, tab separated)",
"endpoint_url": "https://cgmix.uscg.mil/xml/PSIXData.asmx",
"file_urls": [],
"observed_at_ms": 1792901411927,
"publication_id": "88cd9713813c3cfa8c4f40306b90d8970f10e6f0d69c494480faa26563e202d6",
"publication_signal": "none",
"published_at": null,
"publisher_hash": null,
"record_count": 10,
"retrieved_at": "2026-10-25T03:57:24Z",
"segment": {
"build_year": 2007,
"flag": "UNITED STATES",
"service": "Freight Ship"
},
"segment_hash_algorithm": "sha256 of the sorted VesselId list, one id per line (what a records_list cursor pins)",
"segment_sha256": "88cd9713813c3cfa8c4f40306b90d8970f10e6f0d69c494480faa26563e202d6",
"size_bytes": 6075,
"source_url": "https://cgmix.uscg.mil/xml/PSIXData.asmx?op=getVesselSummaryXMLString",
"wsdl_url": "https://cgmix.uscg.mil/xml/PSIXData.asmx?WSDL"
}Source status
Before a records_list run of a segment, or on a schedule, to see whether a segment’s membership or content moved.
curl --request POST \
--url https://api.aisa.one/apis/v1/cgmix-uscg-mil/maritime-safety/source-status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.aisa.one/apis/v1/cgmix-uscg-mil/maritime-safety/source-status"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.aisa.one/apis/v1/cgmix-uscg-mil/maritime-safety/source-status', 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://api.aisa.one/apis/v1/cgmix-uscg-mil/maritime-safety/source-status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/cgmix-uscg-mil/maritime-safety/source-status"
payload := strings.NewReader("{}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/cgmix-uscg-mil/maritime-safety/source-status")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/cgmix-uscg-mil/maritime-safety/source-status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{}"
response = http.request(request)
puts response.read_body{
"canary_segment": true,
"content_hash": "18d0dd3ca31cd62a0bb8369a62987f530d22cae2c88443c00e16fc1ccbf9e335",
"content_hash_algorithm": "sha256 of the sorted canonical summary rows (fields sorted, name=value, tab separated)",
"endpoint_url": "https://cgmix.uscg.mil/xml/PSIXData.asmx",
"file_urls": [],
"observed_at_ms": 1792901411927,
"publication_id": "88cd9713813c3cfa8c4f40306b90d8970f10e6f0d69c494480faa26563e202d6",
"publication_signal": "none",
"published_at": null,
"publisher_hash": null,
"record_count": 10,
"retrieved_at": "2026-10-25T03:57:24Z",
"segment": {
"build_year": 2007,
"flag": "UNITED STATES",
"service": "Freight Ship"
},
"segment_hash_algorithm": "sha256 of the sorted VesselId list, one id per line (what a records_list cursor pins)",
"segment_sha256": "88cd9713813c3cfa8c4f40306b90d8970f10e6f0d69c494480faa26563e202d6",
"size_bytes": 6075,
"source_url": "https://cgmix.uscg.mil/xml/PSIXData.asmx?op=getVesselSummaryXMLString",
"wsdl_url": "https://cgmix.uscg.mil/xml/PSIXData.asmx?WSDL"
}Request contract
- Method and path: POST /apis/v1/cgmix-uscg-mil/maritime-safety/source-status
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/cgmix-uscg-mil/maritime-safety/source-status
{
"operationId": "cgmix-uscg-mil.maritime-safety.source-status",
"method": "POST",
"path": "/apis/v1/cgmix-uscg-mil/maritime-safety/source-status",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"build_year": {
"description": "Construction completed year; needed to split large US segments under the 32 MiB response cap.\n\nProvider reference: minimum 1800; maximum 2100.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 2100,
"min": 1800
}
},
"flag": {
"description": "Flag state as PSIX spells CountryLookupName (case-insensitive), e.g. UNITED STATES, PANAMA, MARSHALL ISLANDS.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"service": {
"description": "Service type, exact PSIX spelling (case-insensitive), e.g. Freight Ship, Tank Ship, Towing Vessel, Passenger (Inspected), Commercial Fishing Vessel.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
Response
Cheap version check. PSIX publishes no version, date or hash, so this hashes one getVesselSummary segment: by default the fixed canary segment UNITED STATES / Freight Ship / 2007; any flag, service and build_year segment on request. Returns the SHA-256 of the sorted VesselId list (the value a records_list cursor pins, as publication_id), a SHA-256 of the canonical summary rows (content_hash) and the record count. An empty canary segment is upstream_unavailable.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
canary_segment | boolean | |
content_hash | string | |
content_hash_algorithm | string | |
endpoint_url | string | |
file_urls | string[] | Always empty: PSIX is a query service with no downloadable file. |
observed_at_ms | number | |
publication_id | string | Equals segment_sha256: PSIX has no publication signal. |
publication_signal | string | |
published_at | object | |
publisher_hash | object | |
record_count | number | |
retrieved_at | string | |
segment | object | |
segment_hash_algorithm | string | |
segment_sha256 | string | |
size_bytes | number | |
source_url | string | |
wsdl_url | string |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.