The API Interface layer is the nervous system of the WIA-CONTACT-001 architecture, enabling real-time communication between observatories, analysis centers, verification networks, and coordination hubs across the globe. This chapter provides comprehensive documentation of the RESTful API endpoints, WebSocket streaming protocols, authentication mechanisms, error handling patterns, and SDK usage. Whether you are building a detection pipeline, verification service, or analysis tool, this chapter provides everything needed to achieve full interoperability with the WIA-CONTACT-001 network.
The API design follows modern best practices: REST principles for resource manipulation, WebSocket for real-time streaming, OAuth 2.0 for authentication, and JSON for data exchange. Rate limiting, pagination, and caching are built into the specification to ensure scalability and fair resource allocation across the global network of participating systems.
The WIA-CONTACT-001 API is designed around several core principles that ensure consistency, predictability, and ease of use across all endpoints:
Resource-Oriented Design: The API exposes resources (signals, verifications, analyses, facilities) through predictable URL patterns. Each resource has standard operations (create, read, update, delete) mapped to HTTP methods (POST, GET, PUT, DELETE). This predictability reduces learning curve and enables generic client implementations.
Statelessness: Each request contains all information needed for processing. Servers maintain no session state between requests, enabling horizontal scaling across multiple server instances. This is critical for a global system that must handle sudden load spikes during detection events.
Idempotency: Repeated identical requests produce the same result. This is essential for reliability in distributed systems where network failures may cause request duplication. PUT and DELETE operations are inherently idempotent; POST operations use client-generated request IDs to enable idempotency.
Versioning: The API version is included in the URL path (/v1/...), enabling smooth evolution while maintaining backward compatibility. Deprecated features are announced with generous sunset periods, ensuring clients have time to migrate.
| Method | Endpoint | Description | Auth Required |
|---|---|---|---|
| POST | /v1/signals | Submit a new signal detection | Yes (detector+) |
| GET | /v1/signals | List signal detections (paginated) | Yes (observer+) |
| GET | /v1/signals/{id} | Get specific signal details | Yes (observer+) |
| PUT | /v1/signals/{id} | Update signal record | Yes (owner only) |
| DELETE | /v1/signals/{id} | Retract signal detection | Yes (owner only) |
POST /v1/signals
Content-Type: application/json
Authorization: Bearer <access_token>
X-Request-ID: req-unique-12345
{
"signal": {
"frequency": {
"center": 1420405751.768,
"bandwidth": 0.5,
"unit": "Hz",
"driftRate": 0.0023
},
"power": { "snr": 15.7, "flux": 1.2e-26 },
"modulation": { "type": "narrowband" }
},
"source": {
"position": {
"ra": "19h25m12.34s",
"dec": "+21d45m32.1s",
"frame": "ICRS"
},
"uncertainty": { "ra": 0.5, "dec": 0.5, "unit": "arcsec" }
},
"temporal": {
"detected": "2025-12-29T14:25:33.123Z",
"duration": 72.5
}
}
Response: 201 Created
Location: /v1/signals/sdr:2025-12-29-GBT-001
{
"id": "sdr:2025-12-29-GBT-001",
"status": "unverified",
"created": "2025-12-29T14:30:00Z",
"links": {
"self": "/v1/signals/sdr:2025-12-29-GBT-001",
"verification": "/v1/signals/sdr:2025-12-29-GBT-001/verification",
"facility": "/v1/facilities/GBT"
}
}
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/signals/{id}/verification | Request verification campaign |
| GET | /v1/signals/{id}/verification | Get verification status and history |
| POST | /v1/signals/{id}/verification/observations | Submit verification observation result |
| GET | /v1/verifications | List all verification requests (paginated) |
| GET | /v1/verifications/pending | List pending verification requests for facility |
The API uses OAuth 2.0 with JWT (JSON Web Tokens) for authentication. This industry-standard approach provides secure, stateless authentication suitable for distributed systems while supporting multiple client types from automated pipelines to interactive dashboards.
# 1. Request access token using client credentials
POST /v1/auth/token
Content-Type: application/x-www-form-urlencoded
grant_type=client_credentials&
client_id=gbt-detection-system&
client_secret=<secret>&
scope=signals:write verifications:read
# 2. Response with JWT token
{
"access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
"token_type": "Bearer",
"expires_in": 3600,
"scope": "signals:write verifications:read",
"refresh_token": "dGhpcyBpcyBhIHJlZnJlc2ggdG9rZW4..."
}
# 3. Use token in subsequent requests
Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...
Permissions are organized into roles that can be assigned to authenticated entities. Roles follow a hierarchy where higher roles include all permissions of lower roles:
| Role | Permissions | Description |
|---|---|---|
| observer | signals:read, verifications:read | Read-only access to public signals |
| detector | + signals:write | Submit and manage own detections |
| verifier | + verifications:write | Participate in verification campaigns |
| analyst | + analyses:* | Perform and publish signal analyses |
| coordinator | + admin:* | Full system access, regional coordination |
For time-critical operations, the API provides WebSocket connections for real-time event streaming. This is essential for rapid alert propagation during detection events, where minutes or even seconds can matter.
// Connect to alert stream
const ws = new WebSocket('wss://api.wia-contact.org/v1/stream');
// Authenticate immediately after connection
ws.onopen = () => {
ws.send(JSON.stringify({
type: 'authenticate',
token: accessToken
}));
};
// Subscribe to relevant channels after authentication
ws.send(JSON.stringify({
type: 'subscribe',
channels: ['alerts', 'verifications', 'facility:GBT']
}));
// Handle incoming events
ws.onmessage = (event) => {
const data = JSON.parse(event.data);
switch(data.type) {
case 'new_detection':
console.log('New signal detected:', data.signal.id);
handleNewDetection(data.signal);
break;
case 'verification_requested':
console.log('Verification request:', data.verification);
scheduleVerificationObservation(data.verification);
break;
case 'status_change':
console.log('Signal status updated:', data.signalId, data.newStatus);
updateLocalDatabase(data);
break;
}
};
| Event | Channel | Description | Payload |
|---|---|---|---|
| new_detection | alerts | New signal detection submitted | Full SDR |
| verification_requested | verifications | Verification campaign initiated | Request details |
| verification_observation | verifications | New observation result | Observation data |
| status_change | alerts | Signal status updated | Signal ID, old/new status |
| threat_assessment | security | Threat level determined | Assessment report |
The API uses standard HTTP status codes with detailed error responses. Error responses include machine-readable codes for programmatic handling and human-readable messages for debugging:
HTTP/1.1 400 Bad Request
Content-Type: application/json
{
"error": {
"code": "VALIDATION_ERROR",
"message": "Request validation failed",
"details": [
{
"field": "signal.frequency.center",
"issue": "Value must be positive",
"received": -1420405751
},
{
"field": "source.position.dec",
"issue": "Invalid declination format",
"received": "91d00m00s"
}
],
"requestId": "req-abc123def456",
"timestamp": "2025-12-29T14:30:00Z",
"documentation": "https://docs.wia-contact.org/errors/VALIDATION_ERROR"
}
}
| Code | Meaning | Client Action |
|---|---|---|
| 200 | Success | Process response normally |
| 201 | Created | Resource created, check Location header |
| 400 | Bad Request | Fix request data per error details |
| 401 | Unauthorized | Refresh token or re-authenticate |
| 403 | Forbidden | Insufficient permissions for operation |
| 404 | Not Found | Resource doesn't exist, check ID |
| 429 | Too Many Requests | Rate limit exceeded, backoff and retry |
| 500 | Server Error | Report issue, retry with backoff |
To ensure fair resource allocation across the global network, the API implements rate limiting. Limits vary by role and adjust dynamically based on system load:
Rate limit information is returned in response headers:
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 847
X-RateLimit-Reset: 1703863860
X-RateLimit-Policy: detector-standard
import { WIAContactClient } from '@wia/contact-sdk';
const client = new WIAContactClient({
apiKey: process.env.WIA_API_KEY,
facility: 'GBT',
environment: 'production'
});
// Submit detection
const signal = await client.signals.create({
frequency: { center: 1420405751.768, bandwidth: 0.5 },
power: { snr: 15.7 },
source: { ra: '19h25m12.34s', dec: '+21d45m32.1s' },
detected: new Date()
});
console.log(`Signal submitted: ${signal.id}`);
// Request verification
const verification = await client.verifications.request(signal.id, {
priority: 'high',
targetObservatories: ['Parkes', 'Effelsberg', 'Arecibo']
});
// Subscribe to real-time updates
client.stream.subscribe('alerts', (event) => {
console.log('Alert:', event.type, event.data);
});
from wia_contact import WIAContactClient
import os
client = WIAContactClient(
api_key=os.environ['WIA_API_KEY'],
facility='GBT'
)
# Submit detection
signal = client.signals.create(
frequency={'center': 1420405751.768, 'bandwidth': 0.5},
power={'snr': 15.7},
source={'ra': '19h25m12.34s', 'dec': '+21d45m32.1s'},
detected=datetime.utcnow()
)
print(f"Signal submitted: {signal.id}")
# Query signals by position
nearby = client.signals.search(
ra=290.5, dec=21.7,
radius=1.0,
unit='deg',
status='verified'
)
for s in nearby:
print(f" {s.id}: {s.frequency.center} Hz, SNR={s.power.snr}")
Key Takeaways:
Chapter 6 will explore Phase 3: Protocol specifications. We will examine the operational procedures for detection, verification cascade, threat assessment, and response coordination that govern how the system responds to potential first contact scenarios.
Korea operates its industrial ecosystem and standardization system through the following core infrastructure. Korea Top 5 Groups: Samsung, Hyundai Motor, LG, SK, Lotte. Each group operates standardization committees and ISO/IEC TC Korean secretariats. Samsung Electronics (semiconductors, displays, home appliances, telecom)·Hyundai Motor (automobiles, mobility)·LG Electronics (home appliances, displays, OLED)·SK hynix (memory)·LG Energy Solution·Samsung SDI (batteries)·POSCO Future M (materials)·Hyundai Mobis (parts). Korean IT Big Tech: NAVER (search, cloud, AI HyperCLOVA)·Kakao (messenger, payment, mobility, banking)·Coupang (e-commerce, logistics)·Karrot Market·Toss·Woowa Brothers. Korea Telcos: SK Telecom·KT·LG U+. 5G·5G dedicated networks·B2B cloud·AI businesses operating. Korea Top 7 Research Universities: Seoul National University·KAIST·POSTECH·Yonsei University·Korea University·UNIST·DGIST·GIST. All serve as standardization R&D bases and ISO/IEC/IEEE Korean chairs. Korea Government-affiliated National Research Institutes (26): KIST, KAERI, KIMM, KIER, KFRI, KRICT, KRIBB, KARI, KASI, KIGAM, KICT, KISTI, KETI, ETRI, NIMS, KIMS, KISDI, KOTRA, STEPI, KOEN, KICCE, KIET, KIPF, KIHASA, KICJ, KLRI. Korea Industrial Complexes / Tech Valleys: Pangyo Techno Valley·Dongtan·Gwanggyo·Songdo IBD·Yeouido·Gangnam·Sihwa·Banwol·Gumi·Ulsan·Changwon·Geoje·Yeosu·Onsan·Cheongju·Iksan·Gwangyang·POSCO Gwangyang Steel Mill·Asan Bay·Seosan·Songdo·Incheon Airport·Sejong·Cheongna·Geomdan. Korea Trade and Finance Infrastructure: Korea International Trade Association (KITA)·Korea Trade-Investment Promotion Agency (KOTRA)·Export-Import Bank of Korea (KEXIM)·Bank of Korea·Kookmin Bank·Shinhan·Hana·Woori·NH Nonghyup·IBK Industrial Bank·SC First Bank·Citi Bank Korea·HSBC Korea·DBS Korea — 14 Korean major banks and foreign banks. Korea K-POP / K-Content: HYBE·SM·YG·JYP 4 major entertainment companies·CJ ENM·tvN·MBC·KBS·SBS·EBS·YTN·Yonhap News TV·JTBC Korean broadcasting·NETFLIX Korea·Disney Plus·TVING·Wavve·Watcha·Coupang Play. Korea Gaming Industry: Nexon·NCsoft·Krafton·Netmarble·Kakao Games·Pearl Abyss·Com2uS·Gamevil·NHN·Smilegate·Webzen. Korea Automotive / Battery: Hyundai Motor·Kia·Genesis·LG Energy Solution·Samsung SDI·SK On·POSCO Future M·EcoPro·L&F battery cathode material suppliers. Korea Semiconductor: Samsung Electronics (HBM3E·HBM4)·SK hynix (HBM3E 12-Hi)·DB HiTek·SK siltron·SK Enpulse·Dongjin Semichem·Seoul Semiconductor·Simmtech·Samsung Display·LG Display.
Korea operates a comprehensive standards governance system through inter-ministerial cooperation. National Standards Council (under Prime Minister's Office, per Framework Act on National Standards Article 5) coordinates KATS (Korean Agency for Technology and Standards), MFDS (Ministry of Food and Drug Safety), MOTIE (Ministry of Trade, Industry and Energy), MSIT (Ministry of Science and ICT), MOIS (Ministry of the Interior and Safety), MOE (Ministry of Environment), MOHW (Ministry of Health and Welfare), MND (Ministry of National Defense), MCST (Ministry of Culture, Sports and Tourism), MOFA (Ministry of Foreign Affairs), MOJ (Ministry of Justice), and FSC (Financial Services Commission). Accreditation and Testing: KOLAS (Korea Laboratory Accreditation Scheme) accredits 800+ testing laboratories. KAS (Korea Accreditation System) accredits 50+ certification bodies. KTC (Korea Testing Certification), KTR (Korea Testing & Research Institute), KTL (Korea Testing Laboratory), and KCL (Korea Conformity Laboratories) provide conformance testing. Telecom and Cyber: KCC (Korea Communications Commission), KCA (Korea Communications Agency), TTA (Telecommunications Technology Association), IITP (Institute for Information & Communications Technology Planning & Evaluation), NIPA (National IT Industry Promotion Agency), KISA (Korea Internet & Security Agency), KCMVP (Korea Cryptographic Module Validation Program), NIS (National Intelligence Service), NSR (National Security Research Institute), and NCSC (National Cyber Security Center). National R&D Centers: KIST, ETRI, KAIST, Seoul National University, Yonsei University, Korea University, POSTECH, UNIST, GIST, DGIST, KISTI, KIER, KIMM, KRICT, KFRI, KRIBB. International Standards Cooperation: ISO TC/SC Korean secretariats, IEC TC/SC Korean secretariats, ITU-T Study Group Korean chairs, 3GPP RAN/SA Korean chairs, IEEE 802 Korean chairs, W3C Korea office, OASIS Korea office, IETF Korea cooperation, OECD CSTP, UN ESCAP, APEC SCSC Korean cooperation. Korean Industrial Standards (KS) Catalog: KS X (Information) 25,000+, KS A (Basic) 15,000+, KS B (Machinery) 25,000+, KS C (Electrical) 18,000+, KS D (Metallurgy) 12,000+, KS E (Mining) 5,000+, KS F (Construction) 18,000+, KS H (Food) 8,000+, KS I (Environment) 5,000+, KS J (Biology) 3,000+, KS K (Textile) 15,000+, KS L (Ceramics) 7,000+, KS M (Chemistry) 12,000+, KS P (Medical) 5,000+, KS Q (Quality Mgmt) 4,000+, KS R (Transport) 12,000+, KS S (Service) 3,000+, KS T (Packaging) 4,000+, KS V (Shipbuilding) 5,000+, KS W (Aerospace) 3,000+ — totaling 220,000+ Korean Industrial Standards. Key Acts: Personal Information Protection Act (Act 19234, effective Sept 15, 2024), Electronic Government Act, Electronic Signature Act, Act on Promotion of Information and Communications Network Utilization and Information Protection, Information and Communications Infrastructure Protection Act, Data Industry Act, Public Data Act, AI Framework Act (Act 20212, effective July 2026), Industrial Technology Innovation Promotion Act, Framework Act on Science and Technology — 70+ Korean standardization-related laws.
Korea operates digital transformation through a comprehensive governance system. Digital Government: Digital Platform Government Committee (established September 2022, under the President)·Ministry of the Interior and Safety Digital Government Bureau·e-Government Support Center·Gov.kr·National Citizen Service·KDIS (Korea Digital Information Society)·NIA (National Information Society Agency)·MOIS (Ministry of the Interior and Safety). K-DNS Infrastructure: Korea Internet & Security Agency (KISA) Korea Internet Center·KISA DNS Root Server·KRNIC (Korea Network Information Center)·BGP Korea·National Cyber Security Center (NCSC)·KCC (Korea Communications Commission)·MSIT (Ministry of Science and ICT)·NIA·NIPA. Korean Cloud Infrastructure: KT Cloud·NAVER Cloud (NCloud)·Samsung SDS Cloud·LG U+ Cloud·NHN Cloud·Kakao Enterprise Cloud·SK Telecom Cloud·KISA Cloud Security Assurance Program (CSAP)·KCMVP-validated cloud·ISMS-P (Information Security & Personal Information Management System). Korean Security Certifications: KISA ISMS-P certification·KCMVP (Korean Cryptographic Module Validation Program)·NIS (National Intelligence Service) "National Cryptographic Technology Operation Standards"·NCSC "National Cyber Security Strategy 2024-2028"·CC (Common Criteria) Korean evaluation bodies·EAL4·EAL5·KS X ISO/IEC 15408·19790·24759 Korean Profile. Korean Data Standards: NIA AI Hub·National Data Standardization Committee·Statistics Korea (KOSTAT)·MyData 4 Designated Combination Specialists (Samsung SDS, KICI, KOSTAT, KFTC)·National Institute of Korean Language·National Law Information Center·National Spatial Information Platform·National Spatial Data Center·Korean Spatial Information Standards. Finance and Fintech Standards: FSC (Financial Services Commission)·FSS (Financial Supervisory Service)·FIU (Financial Intelligence Unit)·BOK (Bank of Korea)·FSEC (Financial Security Institute)·KFTC (Korea Financial Telecommunications)·KSD (Korea Securities Depository)·KRX (Korea Exchange) 8-agency cooperation. 5G/6G Communications Infrastructure: 5G subscribers 35 million (2024)·5G base stations 350,000·6G commercialization target 2028·5G dedicated networks 16 operators·6G Acceleration Council (MSIT, 2024). K-Content: KOCCA (Korea Creative Content Agency)·MCST (Ministry of Culture, Sports and Tourism)·KCA (Korea Communications Agency)·Korea Culture Information Service Agency·Korean Film Archive·Korea Publishing Industry Promotion Agency. Data 3 Acts (Personal Information Protection Act·Credit Information Act·Telecommunications Network Act, 2020 enforcement)·Data Industry Act (2021)·Public Data Act (2013)·AI Framework Act (2026)·Digital Platform Government Framework Act (2024 proposed) — Korea digital transformation core legislation.