Custom data guide.
Connect your own data sources to AirVeto and see them rendered on the map in real time. Your browser fetches directly from your API - nothing passes through AirVeto servers.
Tell it what you need. It plans the map
Ask in plain words and it runs your map: it places radars, sensors, vehicles and markers, moves them as plans change, connects your own data feeds and checks the wind at 8 heights at each one. It briefs you; you decide.
Newsrooms covering Baltic security, border-security analysts, and defence consultancies use custom data overlays to connect their own sensor feeds to AirVeto's live wind map. The Companies tier gives teams a shared organisation account and a direct line for bespoke data requirements.
Request Companies access
Ready to connect your data or need help scoping a custom setup? Tell us what you need and we reply by email - or see all plans to compare tiers first.
On Companies, your AI assistant can also manage your map over MCP: see the MCP server guide.
Your feeds, sites and units together make one shared picture for the team: see the common operating picture.
Prefer email? Write to hello@airveto.com.
Technical requirements
- HTTPS only - your API must be served over HTTPS. Browsers block mixed content from HTTPS pages.
- CORS headers - your API must return
Access-Control-Allow-Origin: *or the browser will block the response. - JSON response - must conform to the schema below.
- Pro or Companies plan - custom data sources are free to try after sign-up. A Pro or Companies plan is required to continue.
Response Schema
Your API endpoint must return this JSON shape:
{
"refresh": 5,
"points": [
{
"id": "station-001",
"lat": 54.6872,
"lon": 25.2797,
"alt": 150,
"label": "Vilnius station",
"origin": "radar-01"
}
]
}Fields
| Field | Type | Required | Description |
|---|---|---|---|
refresh | number | no | Poll interval in seconds. Clamped to 2–300s. Default 10s if missing. Drones might use 2, weather stations 60. |
points | array | yes | Array of point objects (see below). Empty array is valid. |
id | string | yes | Stable unique identifier. Max 60 characters. |
lat | number | yes | Latitude in decimal degrees (-90 to 90). |
lon | number | yes | Longitude in decimal degrees (-180 to 180). |
alt | number | no | Altitude in meters (0–100,000). Ground points (0 or missing) sit on the map. Airborne points rise to altitude in 3D view. |
heading | number | no | Direction in degrees (0–360, 0 = north). |
speed | number | no | Speed in meters per second (0–1000). Shown in popup if present. |
label | string | no | Name shown on the map for hostile, selected and hovered points, and in the popup. Supports emoji and live data, e.g. 12°C Kaunas. Max 80 characters. |
kind | string | no | What the point is, so it looks like every other unit on the map: sensor, acoustic, camera, drone, fixed_wing, helicopter, vehicle, ugv, logistics, team, depot or marker (the default). These are the same kinds the AI assistant uses. |
color | string | no | Hex color, e.g. #FF6200. Default: the colour of its kind. |
affiliation | string | no | friendly, hostile, suspect (an unidentified contact). Draws the NATO-style frame. A moving point with a heading and speed shows a pin pointing the way it travels. |
echelon | string | no | Unit size, part of the NATO symbol: squad, section, platoon, company, battalion, regiment, brigade, division, corps. Shows on a point with an affiliation. |
unit_type | string | no | Military unit type, drawn as its NATO symbol (with affiliation and echelon): infantry, mechanized, motorized, armour, artillery, mortar, missile, air_defence, aviation, engineer, recon, signal, special_forces, medical, supply. Shows on a point with an affiliation. |
sidc | string | no | An exact NATO symbol code, APP-6D / MIL-STD-2525D (20 digits), for any unit, equipment, installation, aircraft, ship or other symbol the fields above cannot name. Drawn as given, with its status, headquarters and echelon marks; the affiliation is read from it. Wins over affiliation, echelon and unit_type. |
origin | string | no | ID of another point. Draws a line from that point to this one. Max 60 characters. |
range_km | number | no | Range in km, e.g. a radar's reach. Drawn as a faint circle around the point, or as a wedge when beam_deg is set. |
beam_deg | number | no | For a directional radar or camera: the width of its view in degrees (1 to 359), centred on heading. Needs range_km and heading. Without it the range is a full circle. |
Rules
pointsmust be an array. Empty array is valid.- Maximum 50 points per response. Extra points are truncated.
- All string fields are sanitized - HTML tags are stripped, length capped.
- Colors must be valid hex (
#RGB,#RRGGBB, or#RRGGBBAA). Invalid colors are ignored. - Numeric fields are clamped: altitude 0–100,000m, heading 0–360°, speed 0–1,000 m/s.
- Points outside valid lat/lon ranges are dropped.
- Your API must respond within 8 seconds or the request is aborted.
How It Works
- Enter your API URL in the Data Sources panel and click Connect. To try it first, use the example feed:
https://airveto.com/data/custom-demo.json. - AirVeto makes a test request from your browser to validate the response.
- On success, the source is saved to your browser's local storage.
- AirVeto polls your endpoint every 10 seconds by default. Include a
refreshfield in your response to control the rate (2–300 seconds). - Ground points appear as colored circles on the map.
- Airborne points appear as flat circles in 2D. In 3D view, they rise to altitude with shadows below.
- Points with an
originfield draw connection lines to their source.
Authentication
AirVeto does not manage API keys. Two options:
- IP whitelist - configure your API to allow requests from your IP. The browser makes requests directly.
- Query parameter - embed credentials in the URL:
https://api.example.com/data?key=YOUR_KEY. Stored in your browser only.
CORS Setup
Your API must include CORS headers or the browser will block the response entirely. This is the most common issue.
Node.js / Express:
app.use((req, res, next) => {
res.setHeader('Access-Control-Allow-Origin', '*');
next();
});Python / Flask:
from flask_cors import CORS
CORS(app)Python / FastAPI:
from fastapi.middleware.cors import CORSMiddleware
app.add_middleware(CORSMiddleware, allow_origins=["*"], allow_methods=["GET"])Nginx:
add_header Access-Control-Allow-Origin *;Examples
Custom APIs are for your own data sources. Aircraft (ADS-B) and satellites (TLE) are already built in. Toggle them in the Data Sources panel.
Drone telemetry
Track a drone's live position. The label field supports any text: live data, status text, or emoji for quick identification.
{
"points": [
{
"id": "drone-01",
"lat": 54.2341,
"lon": 25.0128,
"alt": 120,
"heading": 315,
"speed": 8.5,
"color": "#FF6200",
"label": "Drone 120 m"
}
]
}Radar network with detections
Radar stations on the ground, detected targets in the air. The origin field draws connection lines from origin to target.
{
"points": [
{
"id": "radar-vilnius",
"kind": "sensor",
"lat": 54.6339,
"lon": 24.9106,
"range_km": 40,
"label": "Radar Vilnius"
},
{
"id": "uav-001",
"kind": "drone",
"lat": 54.58,
"lon": 25.02,
"alt": 450,
"heading": 200,
"speed": 12,
"affiliation": "hostile",
"label": "Unknown UAV",
"origin": "radar-vilnius"
}
]
}Directional camera
A camera that sees one way. heading is where it points, beam_deg how wide it sees, range_km how far. The map draws a wedge instead of a circle.
{
"points": [
{
"id": "camera-north",
"kind": "camera",
"lat": 54.82,
"lon": 25.12,
"heading": 20,
"beam_deg": 70,
"range_km": 12,
"label": "Camera North"
}
]
}Weather stations
Ground-based sensors with live readings in the label. No altitude needed. Points render as circles on the map.
{
"refresh": 60,
"points": [
{
"id": "wx-kaunas",
"lat": 54.8985,
"lon": 23.9036,
"color": "#fbbf24",
"label": "Kaunas 12°C"
},
{
"id": "wx-vilnius",
"lat": 54.6872,
"lon": 25.2797,
"color": "#60a5fa",
"label": "Vilnius 15°C"
}
]
}Vehicle / fleet GPS
Track patrol units or research vehicles. Each vehicle has a stable ID.
{
"points": [
{
"id": "unit-alpha",
"lat": 54.3521,
"lon": 25.7843,
"heading": 90,
"speed": 16.7,
"label": "Alpha 60 km/h"
},
{
"id": "unit-bravo",
"lat": 54.1892,
"lon": 25.3017,
"speed": 0,
"label": "Bravo stopped"
}
]
}Create Your API with AI
Not a developer? Paste this prompt into Claude, ChatGPT, or any AI assistant to generate a working API:
Build me a simple API server that returns JSON for AirVeto custom data sources.
Requirements:
- Single GET endpoint at /api/data
- Returns JSON matching this exact schema:
{
"points": [
{
"id": "unique-stable-id",
"lat": 54.6872,
"lon": 25.2797,
"alt": 150,
"label": "Description text"
}
]
}
- "id", "lat", "lon" are required. "alt" (meters), "label" are optional.
- Maximum 50 points.
- Must include CORS header: Access-Control-Allow-Origin: *
- Must serve over HTTPS.
- Each point's "id" must stay the same between requests.
My data: [DESCRIBE YOUR DATA HERE]
Give me the complete code and instructions to deploy for free on Vercel or Railway.Limitations
- Browser-only - requests come from your browser. Your API sees your IP address.
- Polling only - every 10 seconds. No WebSocket support yet.
- No field mapping - your API must return the exact schema above.
- Local storage - clearing browser data removes custom sources.
- 50 point cap - per source, per response.
Troubleshooting
| Problem | Cause | Fix |
|---|---|---|
| Connect stays gray | CORS error | Add Access-Control-Allow-Origin: * to your API |
| Points don't appear | Wrong schema | Check points array with id, lat, lon |
| Points flicker | Non-stable IDs | Keep id the same between polls |
| Status dot turns red | API non-200 | Check your API is online |
| URL rejected | HTTP endpoint | Serve over HTTPS (Cloudflare, Vercel, Railway) |
Privacy
- Your API URL is stored only in your browser's local storage.
- AirVeto servers never see or proxy your custom data requests.
- Data is held in browser memory and discarded when you close the tab.
- Other users cannot see your custom data sources.