{
  "x402Version": 2,
  "id": 27062,
  "slug": "27062",
  "resource": "https://straits.live/api/premium/hormuz/flags",
  "description": "Strait of Hormuz flag rollup: the flag states of the live-AIS vessel population (seen within the last activeWindowHours, currently 1.5) ranked by vessel count, each with a sanctioned tally and an oldest_last_seen recency check, plus distinct-flag count and sanctioned share. Flags are best-effort from the MMSI MID (ITU-T M.585). Quality-gated on live AIS. Operators and direction are omitted, not faked. Recently-dark hulls (last 3 to 24h) are counted in darkFleetTotal.",
  "type": "http",
  "serviceName": "Straits.live premium data",
  "resourceType": "Monitoring",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x1B24dEAc0951EFCD6923f684b574Fe9a4202Cf1f",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {},
          "type": "http"
        },
        "output": {
          "example": {
            "activeWindowHours": 1.5,
            "darkFleetTotal": 71,
            "distinct_flags": 26,
            "health": {
              "aisSource": "live",
              "note": null,
              "trusted": true
            },
            "sanctioned_count": 39,
            "sanctioned_share": 0.029,
            "schema": "https://straits.live/api/premium/hormuz/flags",
            "top_flags": [
              {
                "code": "PA",
                "count": 86,
                "country": "Panama",
                "oldest_last_seen": "2026-07-21T20:15:00Z",
                "sanctioned_count": 4
              }
            ],
            "vessel_count": 1328
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {},
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "maritime",
    "shipping",
    "hormuz",
    "flags",
    "sanctions",
    "bazaar"
  ],
  "sourceHost": "straits.live",
  "lastUpdated": "2026-10-07T09:00:05.74Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-07T09:00:05.394Z"
  },
  "metadata": {
    "serviceName": "Straits.live premium data",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {},
            "type": "http"
          },
          "output": {
            "example": {
              "activeWindowHours": 1.5,
              "darkFleetTotal": 71,
              "distinct_flags": 26,
              "health": {
                "aisSource": "live",
                "note": null,
                "trusted": true
              },
              "sanctioned_count": 39,
              "sanctioned_share": 0.029,
              "schema": "https://straits.live/api/premium/hormuz/flags",
              "top_flags": [
                {
                  "code": "PA",
                  "count": 86,
                  "country": "Panama",
                  "oldest_last_seen": "2026-07-21T20:15:00Z",
                  "sanctioned_count": 4
                }
              ],
              "vessel_count": 1328
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {},
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "straits.live",
    "manifest_name": "straits.live",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}