{"uid":"cap_Kcg1ZS7niH_pzmjpz4tdF","slug":"brainiac-maritime-intelligence-ais-track-gap-detector-899f810d","name":"BRAINIAC Maritime Intelligence — AIS Track Gap Detector","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/maritime-intelligence/ais-track-gap-detect?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","maxLength":200000},"asOf":{"type":"string","maxLength":40},"file":{"type":"object","required":["fileBase64"],"properties":{"role":{"type":"string","maxLength":80},"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["text/plain","text/csv","application/json","application/octet-stream"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"json":{"type":"string","maxLength":200000},"text":{"type":"string","maxLength":200000},"files":{"type":"array","items":{"type":"object","required":["fileBase64"],"properties":{"role":{"type":"string","maxLength":80},"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["text/plain","text/csv","application/json","application/octet-stream"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"maxItems":20},"vessels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"imo":{"type":"string","maxLength":20},"flag":{"type":"string","maxLength":80},"mmsi":{"type":"string","maxLength":20},"name":{"type":"string","maxLength":200},"owner":{"type":"string","maxLength":200},"source":{"type":"string","maxLength":200},"callSign":{"type":"string","maxLength":40},"operator":{"type":"string","maxLength":200},"vesselType":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":500},"aisPoints":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"imo":{"type":"string","maxLength":20},"lat":{"type":"number","maximum":90,"minimum":-90},"lon":{"type":"number","maximum":180,"minimum":-180},"mmsi":{"type":"string","maxLength":20},"sogKn":{"type":"number","maximum":100,"minimum":0},"cogDeg":{"type":"number","maximum":360,"minimum":0},"source":{"type":"string","maxLength":200},"vesselId":{"type":"string","maxLength":80},"navStatus":{"type":"string","maxLength":80},"headingDeg":{"type":"number","maximum":360,"minimum":0}},"additionalProperties":false},"maxItems":10000},"fetchOfac":{"type":"boolean"},"waypoints":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"lat":{"type":"number","maximum":90,"minimum":-90},"lon":{"type":"number","maximum":180,"minimum":-180},"name":{"type":"string","maxLength":120},"source":{"type":"string","maxLength":200},"sequence":{"type":"integer","maximum":10000,"minimum":0},"vesselId":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":2000},"cargoEvents":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"side":{"enum":["document","ops","left","right","a","b"],"type":"string"},"unit":{"type":"string","maxLength":40},"source":{"type":"string","maxLength":200},"location":{"type":"string","maxLength":160},"quantity":{"type":"number","maximum":1000000000,"minimum":0},"vesselId":{"type":"string","maxLength":80},"eventType":{"type":"string","maxLength":80},"shipmentId":{"type":"string","maxLength":80},"billOfLading":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":5000},"portSamples":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"source":{"type":"string","maxLength":200},"portCode":{"type":"string","maxLength":20},"portName":{"type":"string","maxLength":160},"arrivals24h":{"type":"number","maximum":100000,"minimum":0},"departures24h":{"type":"number","maximum":100000,"minimum":0},"vesselsWaiting":{"type":"number","maximum":100000,"minimum":0},"averageWaitHours":{"type":"number","maximum":10000,"minimum":0},"berthOccupancyPct":{"type":"number","maximum":100,"minimum":0}},"additionalProperties":false},"maxItems":2000},"assumedSpeedKn":{"type":"number","maximum":50,"minimum":0.1},"demurrageCases":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"source":{"type":"string","maxLength":200},"endedAt":{"type":"string","maxLength":40},"currency":{"type":"string","maxLength":12},"vesselId":{"type":"string","maxLength":80},"voyageId":{"type":"string","maxLength":80},"startedAt":{"type":"string","maxLength":40},"laytimeUsedHours":{"type":"number","maximum":100000,"minimum":0},"demurrageRatePerDay":{"type":"number","maximum":100000000,"minimum":0},"laytimeAllowedHours":{"type":"number","maximum":100000,"minimum":0}},"additionalProperties":false},"maxItems":500},"destinationLat":{"type":"number","maximum":90,"minimum":-90},"destinationLon":{"type":"number","maximum":180,"minimum":-180},"ownershipRecords":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"to":{"type":"string","maxLength":40},"imo":{"type":"string","maxLength":20},"flag":{"type":"string","maxLength":80},"from":{"type":"string","maxLength":40},"owner":{"type":"string","maxLength":200},"source":{"type":"string","maxLength":200},"vesselId":{"type":"string","maxLength":80},"ownerType":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":2000},"sanctionsEntries":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"imo":{"type":"string","maxLength":20},"name":{"type":"string","maxLength":200},"source":{"type":"string","maxLength":200},"program":{"type":"string","maxLength":120},"sourceUrl":{"type":"string","maxLength":400}},"additionalProperties":false},"maxItems":2000},"gapThresholdHours":{"type":"number","maximum":720,"minimum":0.1},"deviationThresholdKm":{"type":"number","maximum":5000,"minimum":0.1}}},"responseSchema":{"type":"json","example":{"items":[{"toAt":"2026-11-01T12:00:00.000Z","toId":"A3","isGap":true,"fromAt":"2026-11-01T02:00:00.000Z","fromId":"A2","source":"Caller-supplied AIS export; Caller-supplied AIS export","gapHours":10,"vesselKey":"V1","distanceKm":124.2732,"paidAisUsed":false,"impliedSpeedKn":6.7102,"thresholdHours":6},{"toAt":"2026-11-02T00:00:00.000Z","toId":"A4","isGap":true,"fromAt":"2026-11-01T12:00:00.000Z","fromId":"A3","source":"Caller-supplied AIS export; Caller-supplied AIS export","gapHours":12,"vesselKey":"V1","distanceKm":471.2937,"paidAisUsed":false,"impliedSpeedKn":21.2065,"thresholdHours":6}],"status":"detected","findings":[{"code":"ais_gap","kind":"observation","detail":"AIS gap of 10 hours between 2026-11-01T02:00:00.000Z and 2026-11-01T12:00:00.000Z.","subject":"V1"},{"code":"ais_gap","kind":"observation","detail":"AIS gap of 12 hours between 2026-11-01T12:00:00.000Z and 2026-11-02T00:00:00.000Z.","subject":"V1"}],"gapCount":2,"checkedAt":"2026-11-04T21:00:00.000Z","limitations":["Vessel identities, AIS points, waypoints, port samples, demurrage cases, sanctions entries, cargo events, and ownership records are copied only from labeled fields supplied by the caller, or from the key-free public OFAC SDN publication when fetchOfac is requested.","No paid AIS service is used and no API key is required. Global real-time vessel coverage is not claimed.","Track gaps, route deviations, and ETA values use only supplied positions/speeds and simple geodesic math. Missing values are not invented.","Sanctions signals are name/IMO comparisons only. Exact matches are labeled as signals, not confirmed legal determinations. Possible matches require human review.","Demurrage amounts use only caller-supplied laytime and rate inputs and are not legal invoices."],"ofacFetched":false,"paidAisUsed":false,"vesselCount":1,"apiKeyRequired":false,"paidProviderUsed":false,"globalRealtimeCoverageClaimed":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_n4Ipq6nIc_vDhHt7d3Bss","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a sequence of AIS position points for one or more vessels and detects significant tracking gaps that may indicate AIS signal loss, spoofing, or intentional transponder disabling.","exampleAgentPrompt":"I have a CSV of AIS position pings for vessel MMSI 123456789 covering November 2026 — can you scan it for any tracking gaps longer than 6 hours and tell me how far the ship moved during each gap and what the implied speed was?","exampleUseCases":[{"title":"Sanctions compliance dark vessel check","prompt":"I need to check whether this tanker — IMO 9876543 — went dark at any point during its last voyage. Here's the AIS export as JSON. Flag any gaps over 4 hours and tell me the implied speed during each blackout period."},{"title":"Insurance underwriting AIS continuity review","prompt":"For this bulk carrier's AIS track data I'm attaching as a CSV, detect all gaps longer than 8 hours over the past month. I need the gap duration, distance covered, and implied speed for each one to include in an underwriting risk report."},{"title":"Fleet monitoring for suspicious transponder disabling","prompt":"Run a track-gap analysis on all 12 vessels in this JSON file — flag any ship that had an AIS blackout exceeding 6 hours, and list which vessel and when each gap occurred."}],"resultDescription":"Returns a JSON object containing: an array of gap items (each with start/end timestamps, start/end position IDs, gap duration in hours, great-circle distance in km, implied speed in knots, and whether it exceeds the threshold), a findings list with human-readable observations, total gap count, vessel count checked, whether paid AIS data was used, and a checkedAt timestamp. Limitations regarding data sources are included in the response.","failureModes":["Insufficient AIS points provided — gaps cannot be computed without at least two sequential position points per vessel","Malformed timestamp formats causing parse errors","AIS points missing lat/lon values, resulting in incomplete gap distance computation","Exceeding maxItems (500 vessels or 20 files) limits","CSV or JSON parsing failure if content is malformed","No gaps found — returns gapCount: 0 with empty items array and status indicating clean track"],"whenToPreferThis":"Use this endpoint when you have caller-supplied AIS position data and need to detect tracking gaps without requiring a paid AIS subscription or external API key. It is ideal for compliance workflows, sanctions screening support, insurance underwriting, or investigative maritime analysis where you already have an AIS export. It performs pure geodesic math on supplied data and is transparent about its limitations (no real-time global coverage claimed). Prefer alternatives if you need live AIS feeds or real-time vessel tracking.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-14T06:30:57.058Z","isFirstParty":false,"canonicalSlug":"brainiac-maritime-intelligence-ais-track-gap-detector-899f810d"}