Skip to content
LAYER400DRONE INTELLIGENCE NETWORK
Menu
Documentation menu
On this pageYour integration

Layer400 developers · Cloud API v1

Cloud API endpoint reference.

A focused endpoint reference. The complete guide also includes fields, mapping, quotas and troubleshooting.

3. Choose the data you need.

Base URL: https://layer400.com/business/api/v1. All data endpoints accept GET and return JSON. They are polled; there is no streaming, WebSocket or webhook endpoint in Cloud API v1.

GET

/live/rid

Current received drone Remote ID positions

Required scope: rid.live

GET

/live/adsb

Current received aircraft ADS-B positions

Required scope: adsb.live

GET

/history/rid

Retained drone position observations

Required scope: rid.history

GET

/history/adsb

Retained aircraft position observations

Required scope: adsb.history

A live drones + live aircraft + drone history integration needs rid.live, adsb.live and rid.history. Aircraft history is separate: adsb.history. One key can use all layers approved for its account.

Bounds, dates and query limits.

bbox is west, south, east, north in WGS84 decimal degrees. Longitude comes first; west/south are the minimum coordinates. For example, -95.8,29.4,-95.4,29.8 is an illustrative box near Sugar Land and southwest Houston, not a claim of reception coverage.

ParameterLive requestsHistory requests
bboxRequired. Each side ≤ 30°; longitude −180…180 and latitude −90…90.Required. Each side ≤ 5°; the same coordinate ranges apply.
limitOptional integer 1–1000; default 250. Maximum rows per page.Optional integer 1–1000; default 250. Maximum returned rows per window.
cursorOptional. Copy next_cursor exactly. Omit on a new refresh.Not supported. Split incomplete time/area windows.
start, endNot supported.Both required; RFC3339 with timezone, e.g. 2026-10-27T12:00:00Z. Use recent dates, not this literal example.
Time windowCurrent non-expired observations.start < end ≤ now; at most one hour per request. start must be within the account’s approved lookback and the hard 30-day ceiling.

Bounds must have positive width/height and cannot cross the antimeridian; split crossing areas into separate requests. Encode parameters with your language’s URL library, especially timezone offsets containing +. Keep server clocks synchronised. End is exclusive: a history window is [start,end).

Filtering and request validation

Only bbox, limit, cursor, start and end are accepted. Duplicate or unknown parameters are rejected; query strings are limited to 2,048 characters. There are no radius, aircraft-ID, registration, callsign, altitude, emergency or TEST-filter parameters. Query an area and filter the returned records in your application; this does not reduce metered calls.

Live cursors are public references, not timestamps or a permanent continuation bookmark. Changing the area or starting the next refresh requires a fresh first page.

4. Make your first requests.

Choose an endpoint you are approved for. These starters fetch one live page or a recent ten-minute history window. They print the response and flag further work; use the complete-refresh helper for a map. A successful response can contain data: [].

/live/rid · copy a request

curl

curl
# Bash; requires curl 7.76+ for --fail-with-body.
curl --fail-with-body --max-time 15 --get 'https://layer400.com/business/api/v1/live/rid' \
  --header "Authorization: Bearer $LAYER400_API_KEY" \
  --user-agent 'YourOrganisation-AirspaceIntegration/1.0' \
  --data-urlencode 'bbox=-95.8,29.4,-95.4,29.8' \
  --data-urlencode 'limit=1000'

Node.js

Node.js
// Node.js 20+. Save as request.mjs; run: node request.mjs
// Run on your backend, with LAYER400_API_KEY set in its environment.
const key = process.env.LAYER400_API_KEY;
if (!key) throw new Error('Set LAYER400_API_KEY');
const url = new URL('https://layer400.com/business/api/v1/live/rid');
url.searchParams.set('bbox', '-95.8,29.4,-95.4,29.8'); // Replace with your area.
url.searchParams.set('limit', '1000');
const response = await fetch(url, {
  headers: { Authorization: 'Bearer ' + key,
    'User-Agent': 'YourOrganisation-AirspaceIntegration/1.0' },
  signal: AbortSignal.timeout(15_000),
});
if (!response.ok) throw new Error('HTTP ' + response.status +
  '; request=' + (response.headers.get('x-request-id') || 'unavailable') +
  '; retry-after=' + (response.headers.get('retry-after') || 'not supplied'));
const result = await response.json();
if (result.next_cursor !== null) console.log('More pages: repeat with cursor=' + result.next_cursor);
console.log(JSON.stringify(result, null, 2));

Python

Python
# Python 3; standard library. Save as request.py; run: python request.py
import json, os, urllib.parse, urllib.request, urllib.error

params = {"bbox": "-95.8,29.4,-95.4,29.8", "limit": 1000}  # Replace with your area.
url = "https://layer400.com/business/api/v1/live/rid?" + urllib.parse.urlencode(params)
request = urllib.request.Request(url, headers={
    "Authorization": "Bearer " + os.environ["LAYER400_API_KEY"],
    "User-Agent": "YourOrganisation-AirspaceIntegration/1.0",
})
try:
    with urllib.request.urlopen(request, timeout=15) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError("HTTP %s; request=%s; retry-after=%s" % (
        error.code, error.headers.get("X-Request-ID", "unavailable"),
        error.headers.get("Retry-After", "not supplied"))) from None
if result["next_cursor"] is not None:
    print("More pages: repeat with cursor=" + result["next_cursor"])
print(json.dumps(result, indent=2))
/live/adsb · copy a request

curl

curl
# Bash; requires curl 7.76+ for --fail-with-body.
curl --fail-with-body --max-time 15 --get 'https://layer400.com/business/api/v1/live/adsb' \
  --header "Authorization: Bearer $LAYER400_API_KEY" \
  --user-agent 'YourOrganisation-AirspaceIntegration/1.0' \
  --data-urlencode 'bbox=-95.8,29.4,-95.4,29.8' \
  --data-urlencode 'limit=1000'

Node.js

Node.js
// Node.js 20+. Save as request.mjs; run: node request.mjs
// Run on your backend, with LAYER400_API_KEY set in its environment.
const key = process.env.LAYER400_API_KEY;
if (!key) throw new Error('Set LAYER400_API_KEY');
const url = new URL('https://layer400.com/business/api/v1/live/adsb');
url.searchParams.set('bbox', '-95.8,29.4,-95.4,29.8'); // Replace with your area.
url.searchParams.set('limit', '1000');
const response = await fetch(url, {
  headers: { Authorization: 'Bearer ' + key,
    'User-Agent': 'YourOrganisation-AirspaceIntegration/1.0' },
  signal: AbortSignal.timeout(15_000),
});
if (!response.ok) throw new Error('HTTP ' + response.status +
  '; request=' + (response.headers.get('x-request-id') || 'unavailable') +
  '; retry-after=' + (response.headers.get('retry-after') || 'not supplied'));
const result = await response.json();
if (result.next_cursor !== null) console.log('More pages: repeat with cursor=' + result.next_cursor);
console.log(JSON.stringify(result, null, 2));

Python

Python
# Python 3; standard library. Save as request.py; run: python request.py
import json, os, urllib.parse, urllib.request, urllib.error

params = {"bbox": "-95.8,29.4,-95.4,29.8", "limit": 1000}  # Replace with your area.
url = "https://layer400.com/business/api/v1/live/adsb?" + urllib.parse.urlencode(params)
request = urllib.request.Request(url, headers={
    "Authorization": "Bearer " + os.environ["LAYER400_API_KEY"],
    "User-Agent": "YourOrganisation-AirspaceIntegration/1.0",
})
try:
    with urllib.request.urlopen(request, timeout=15) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError("HTTP %s; request=%s; retry-after=%s" % (
        error.code, error.headers.get("X-Request-ID", "unavailable"),
        error.headers.get("Retry-After", "not supplied"))) from None
if result["next_cursor"] is not None:
    print("More pages: repeat with cursor=" + result["next_cursor"])
print(json.dumps(result, indent=2))
/history/rid · copy a request

Node.js

Node.js
// Node.js 20+. Save as request.mjs; run: node request.mjs
// Run on your backend, with LAYER400_API_KEY set in its environment.
const key = process.env.LAYER400_API_KEY;
if (!key) throw new Error('Set LAYER400_API_KEY');
const url = new URL('https://layer400.com/business/api/v1/history/rid');
url.searchParams.set('bbox', '-95.8,29.4,-95.4,29.8'); // Replace with your area.
url.searchParams.set('limit', '1000');
const end = new Date(Date.now() - 60_000);
url.searchParams.set('start', new Date(end.getTime() - 600_000).toISOString());
url.searchParams.set('end', end.toISOString());
const response = await fetch(url, {
  headers: { Authorization: 'Bearer ' + key,
    'User-Agent': 'YourOrganisation-AirspaceIntegration/1.0' },
  signal: AbortSignal.timeout(15_000),
});
if (!response.ok) throw new Error('HTTP ' + response.status +
  '; request=' + (response.headers.get('x-request-id') || 'unavailable') +
  '; retry-after=' + (response.headers.get('retry-after') || 'not supplied'));
const result = await response.json();
if (result.truncated !== false) throw new Error('Incomplete history: split the time/area window');
console.log(JSON.stringify(result, null, 2));

Python

Python
# Python 3; standard library. Save as request.py; run: python request.py
import json, os, urllib.parse, urllib.request, urllib.error
from datetime import datetime, timedelta, timezone

params = {"bbox": "-95.8,29.4,-95.4,29.8", "limit": 1000}  # Replace with your area.
end = datetime.now(timezone.utc) - timedelta(minutes=1)
params.update(start=(end - timedelta(minutes=10)).isoformat(), end=end.isoformat())
url = "https://layer400.com/business/api/v1/history/rid?" + urllib.parse.urlencode(params)
request = urllib.request.Request(url, headers={
    "Authorization": "Bearer " + os.environ["LAYER400_API_KEY"],
    "User-Agent": "YourOrganisation-AirspaceIntegration/1.0",
})
try:
    with urllib.request.urlopen(request, timeout=15) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError("HTTP %s; request=%s; retry-after=%s" % (
        error.code, error.headers.get("X-Request-ID", "unavailable"),
        error.headers.get("Retry-After", "not supplied"))) from None
if result["truncated"]:
    raise RuntimeError("Incomplete history: split the time/area window")
print(json.dumps(result, indent=2))
/history/adsb · copy a request

Node.js

Node.js
// Node.js 20+. Save as request.mjs; run: node request.mjs
// Run on your backend, with LAYER400_API_KEY set in its environment.
const key = process.env.LAYER400_API_KEY;
if (!key) throw new Error('Set LAYER400_API_KEY');
const url = new URL('https://layer400.com/business/api/v1/history/adsb');
url.searchParams.set('bbox', '-95.8,29.4,-95.4,29.8'); // Replace with your area.
url.searchParams.set('limit', '1000');
const end = new Date(Date.now() - 60_000);
url.searchParams.set('start', new Date(end.getTime() - 600_000).toISOString());
url.searchParams.set('end', end.toISOString());
const response = await fetch(url, {
  headers: { Authorization: 'Bearer ' + key,
    'User-Agent': 'YourOrganisation-AirspaceIntegration/1.0' },
  signal: AbortSignal.timeout(15_000),
});
if (!response.ok) throw new Error('HTTP ' + response.status +
  '; request=' + (response.headers.get('x-request-id') || 'unavailable') +
  '; retry-after=' + (response.headers.get('retry-after') || 'not supplied'));
const result = await response.json();
if (result.truncated !== false) throw new Error('Incomplete history: split the time/area window');
console.log(JSON.stringify(result, null, 2));

Python

Python
# Python 3; standard library. Save as request.py; run: python request.py
import json, os, urllib.parse, urllib.request, urllib.error
from datetime import datetime, timedelta, timezone

params = {"bbox": "-95.8,29.4,-95.4,29.8", "limit": 1000}  # Replace with your area.
end = datetime.now(timezone.utc) - timedelta(minutes=1)
params.update(start=(end - timedelta(minutes=10)).isoformat(), end=end.isoformat())
url = "https://layer400.com/business/api/v1/history/adsb?" + urllib.parse.urlencode(params)
request = urllib.request.Request(url, headers={
    "Authorization": "Bearer " + os.environ["LAYER400_API_KEY"],
    "User-Agent": "YourOrganisation-AirspaceIntegration/1.0",
})
try:
    with urllib.request.urlopen(request, timeout=15) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError("HTTP %s; request=%s; retry-after=%s" % (
        error.code, error.headers.get("X-Request-ID", "unavailable"),
        error.headers.get("Retry-After", "not supplied"))) from None
if result["truncated"]:
    raise RuntimeError("Incomplete history: split the time/area window")
print(json.dumps(result, indent=2))

Node.js 20+ uses built-in fetch; save each starter as request.mjs. Python uses its standard library. curl examples use Bash line continuations. Real keys make real, metered requests; there is no separate sandbox endpoint.

Read the response and its age.

FieldMeaning
version, layer, modeAPI version "1", layer rid or adsb, and live or history.
request_idSupport reference, also in the X-Request-ID HTTP header.
generated_atWhen the API built this response; not when the radio observation happened.
dataArray of position records; may be empty. It is ordinary JSON, not GeoJSON.
next_cursorLive: next page reference or null. History: always null.
truncatedLive: false, even when more pages exist. History: true means incomplete; check even if data is empty.
continuationHistory-only text guidance for splitting an overfull window.

Show the age of observed_at alongside the last successful fetch time. A fresh HTTP response can contain older observations. Live records have stale_after; stop presenting them as current once that time passes. Missing tracks or reception gaps do not prove landing or an empty sky.

Four matching example responses · fictional, not local coverage evidence
/live/rid response
{
  "version": "1",
  "request_id": "11111111-2222-4333-8444-555555555555",
  "generated_at": "2026-10-27T12:00:02Z",
  "layer": "rid",
  "mode": "live",
  "data": [
    {
      "public_track_id": "L4-D-0123456789ABCDEF",
      "observed_at": "2026-10-27T12:00:00Z",
      "longitude": -95.62,
      "latitude": 29.6,
      "altitude_m": 120,
      "height_agl_m": null,
      "speed_mps": 6.2,
      "heading_deg": 90,
      "confidence": "single",
      "confidence_score": null,
      "receiver_count": 1,
      "track_kind": "drone",
      "simulated": true,
      "test_broadcast": true,
      "emergency_state": "unknown",
      "stale_after": "2026-10-27T12:00:30Z"
    }
  ],
  "next_cursor": null,
  "truncated": false
}
/live/adsb response
{
  "version": "1",
  "request_id": "11111111-2222-4333-8444-555555555555",
  "generated_at": "2026-10-27T12:00:02Z",
  "layer": "adsb",
  "mode": "live",
  "data": [
    {
      "public_track_id": "L4-A-0123456789ABCDEF",
      "observed_at": "2026-10-27T12:00:00Z",
      "longitude": -95.62,
      "latitude": 29.6,
      "altitude_m": 2400,
      "height_agl_m": null,
      "speed_mps": 105,
      "heading_deg": 90,
      "confidence": "single",
      "confidence_score": null,
      "receiver_count": 1,
      "track_kind": "adsb_aircraft",
      "simulated": true,
      "test_broadcast": false,
      "emergency_state": "unknown",
      "stale_after": "2026-10-27T12:00:30Z"
    }
  ],
  "next_cursor": null,
  "truncated": false
}
/history/rid response
{
  "version": "1",
  "request_id": "11111111-2222-4333-8444-555555555555",
  "generated_at": "2026-10-27T12:00:02Z",
  "layer": "rid",
  "mode": "history",
  "data": [
    {
      "public_track_id": "L4-D-0123456789ABCDEF",
      "observed_at": "2026-10-27T12:00:00Z",
      "longitude": -95.62,
      "latitude": 29.6,
      "altitude_m": 120,
      "height_agl_m": null,
      "speed_mps": 6.2,
      "heading_deg": 90,
      "confidence": "single",
      "confidence_score": null,
      "receiver_count": 1,
      "track_kind": "drone",
      "simulated": true,
      "test_broadcast": true,
      "emergency_state": "unknown"
    }
  ],
  "next_cursor": null,
  "truncated": false,
  "continuation": "Split an overfull time window into smaller half-open [start,end) windows; use smaller bounds if needed."
}
/history/adsb response
{
  "version": "1",
  "request_id": "11111111-2222-4333-8444-555555555555",
  "generated_at": "2026-10-27T12:00:02Z",
  "layer": "adsb",
  "mode": "history",
  "data": [
    {
      "public_track_id": "L4-A-0123456789ABCDEF",
      "observed_at": "2026-10-27T12:00:00Z",
      "longitude": -95.62,
      "latitude": 29.6,
      "altitude_m": 2400,
      "height_agl_m": null,
      "speed_mps": 105,
      "heading_deg": 90,
      "confidence": "single",
      "confidence_score": null,
      "receiver_count": 1,
      "track_kind": "adsb_aircraft",
      "simulated": true,
      "test_broadcast": false,
      "emergency_state": "unknown"
    }
  ],
  "next_cursor": null,
  "truncated": false,
  "continuation": "Split an overfull time window into smaller half-open [start,end) windows; use smaller bounds if needed."
}