An AIS green CII API in Python returns estimated CO₂ and an IMO CII rating. On Vessels API that is GET /api/V1/vessels/green. Official sample: MMSI 258785000, name ZJ ATLANTIC, rating C, co2_tons 1850.3, window ending 2026-02-09.
Starter is $19.99/mo with a 7-day trial. MCP: mcp.vessels-api.com.
Request: official MMSI
curl -H "X-API-Key: YOUR_API_KEY" \
"https://vessels-api.com/api/V1/vessels/green?mmsi=258785000&period=30d"
Python: same contract
import os, urllib.request
req = urllib.request.Request(
"https://vessels-api.com/api/V1/vessels/green?mmsi=258785000&period=30d",
headers={"X-API-Key": os.environ["VESSELS_KEY"]},
)
print(urllib.request.urlopen(req).read().decode())
Response: official green fixture (2026-02-09)
{
"status": "success",
"success": true,
"data": {
"mmsi": 258785000,
"name": "ZJ ATLANTIC",
"rating": "C",
"co2_tons": 1850.3,
"period": "30d"
}
}
That window is the docs fixture, not this week’s CII. Scale A (best) → E.
Go live
1. Register — 7-day trial.
2. Copy the X-API-Key.
3. GET /api/V1/vessels/green with MMSI 258785000.
4. Read rating and co2_tons.





