Skip to content
OSINTtools.io

Global Fishing Watch API

Non-profit map of fishing and vessel activity built from AIS, satellite radar and other data, with free APIs.

Base URL
https://gateway.api.globalfishingwatch.org/v3
Sign-in
Bearer token
Format
REST
Endpoints
2

Compiled by OSINTtools.io editors from globalfishingwatch.org · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

The Global Fishing Watch APIs (version 3) return vessel identities and vessel activity built from AIS positions and more than 40 public regional and national vessel registries. The Vessels API searches by MMSI, IMO, call sign or ship name and returns self-reported AIS identity (name, flag, call sign, ship type, transmission dates) and registry records (owners, authorizations, gear types, length, tonnage). Other APIs cover events (apparent fishing, encounters, loitering, port visits, AIS gaps), 4Wings gridded activity, insights and bulk downloads; this reference covers the vessel lookups.

An investigator uses it to identify a ship from a name or identifier, see its flag and ownership history from registries, and get the GFW vessel ID that the events and activity APIs take.

Calls go to https://gateway.api.globalfishingwatch.org/v3 and return JSON (or a protocol buffer with binary=true). Send your token as Authorization: Bearer <token>; register at the token signup page, then create a token. Tokens do not expire. Every request names a dataset, for example public-global-vessel-identity:latest; responses carry an x-datasets header with the exact version.

The APIs are for non-commercial use only, under CC BY-NC 4.0, and results must be attributed ("Powered by Global Fishing Watch."). Results are paginated.

Quick start

  1. Get a key

    Create an account with Global Fishing Watch and copy your bearer token. Where to get it

  2. Make your first request

    Search vessels by MMSI, IMO, call sign or ship name. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://gateway.api.globalfishingwatch.org/v3/vessels/search?datasets%5B0%5D=public-global-vessel-identity%3Alatest' \
      -H 'Authorization: Bearer YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this, shortened.

    {
      "entries": [
        {
          "dataset": "public-global-vessel-identity:v20231026",
          "registryInfoTotalRecords": 1,
          "registryInfo": [
            {
              "id": "0a1b2c3d4e5f60718293a4b5c6d7e8f9",
              "shipname": "EXAMPLE STAR",
              "ssvid": "000000001",
              "imo": "0000001",
              "callsign": "XX0000",
              "flag": "XXX",
              "geartypes": [
                "trawlers"
              ],
              "lengthM": 26.4,
              "tonnageGt": 121
            }
          ],
          "registryOwners": [
            {
              "name": "EXAMPLE FISHING CO",
              "flag": "XXX",
    …

Authentication

Send your token in the Authorization header as Bearer YOUR_TOKEN.

Tokens are issued instantly and do not expire; at most five tokens per user.

Get a key from Global Fishing Watch

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

50,000 requests per day and 1,500,000 per month per user, across all of that user's tokens. Over the daily limit requests are blocked for 24 hours (429); over the monthly limit for 30 days.

Errors

StatusMeaning
400Bad request
401Unauthorized: missing or invalid token
404Not found
422Validation error, or the dataset version has been retired
429Daily or monthly request limit exceeded
500Server error

Vessels

  • Passive: the target is not contacted

Returns the vessel's self-reported AIS identity and, depending on registries-info-data, its registry records, owners and authorizations. The vessel ID comes from a vessel search.

Path parameters

vesselIdstringrequired

GFW vessel ID, from a vessel search

Example: 1234abcd5-6789-ef01-2345-6789abcdef01

Query parameters

datasetstringrequired

Dataset to look the vessel up in

Example: public-global-vessel-identity:latest
registries-info-datastring

NONE omits registry data, DELTA returns only data that changed over time, ALL returns all of it

Default: NONEOne of: NONE, DELTA, ALL
includesstring

Extra information to return

One of: POTENTIAL_RELATED_SELF_REPORTED_INFO
binaryboolean

Return a protocol buffer instead of JSON

Default: false
Response fields · 9Show

datasetstring

Dataset used for the lookup

registryInfoTotalRecordsinteger

Number of registry records

registryInfo[]object

Registry records

registryOwners[]object

Owner records with date ranges and sources

registryAuthorizations[]object

Authorization records with date ranges and sources

shipnamestring

Ship name as broadcast on AIS

shiptypestring

Ship type

transmissionDateFromstring

First AIS transmission seen

transmissionDateTostring

Last AIS transmission seen

curl 'https://gateway.api.globalfishingwatch.org/v3/vessels/1234abcd5-6789-ef01-2345-6789abcdef01?dataset=public-global-vessel-identity%3Alatest' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "dataset": "public-global-vessel-identity:latest",
  "registryInfoTotalRecords": 0,
  "registryInfo": [],
  "registryOwners": [],
  "registryAuthorizations": [],
  "selfReportedInfo": [
    {
      "id": "1234abcd5-6789-ef01-2345-6789abcdef01",
      "ssvid": "000000001",
      "shipname": "EXAMPLE STAR",
      "flag": "XXX",
      "callsign": "XX0000",
      "shiptype": "OTHER_NON_FISHING",
      "sourceCode": [
        "AIS"
      ],
      "transmissionDateFrom": "2021-08-06T10:49:26Z",
      "transmissionDateTo": "2023-09-21T14:52:16Z"
    }
  ]
}