# Global Fishing Watch API reference

> 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…

Source: https://osinttools.io/apis/global-fishing-watch/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/global-fishing-watch/

- Base URL: https://gateway.api.globalfishingwatch.org/v3
- Authentication: Bearer token in the `Authorization` header. Get a key: https://globalfishingwatch.org/our-apis/tokens/signup Tokens are issued instantly and do not expire; at most five tokens per user.
- Rate limits: 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.
- Vendor docs: https://globalfishingwatch.org/our-apis/documentation

## Overview

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](https://globalfishingwatch.org/our-apis/tokens/signup), 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.

## Errors

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

## Vessels

### Search vessels by MMSI, IMO, call sign or ship name

`GET /vessels/search`

- Takes: Name
- Footprint: passive (the target is not contacted)

Returns matching vessels with their self-reported AIS identity and registry records. Use query for a free-form identifier (at least 3 characters) or where for an advanced search on several fields (AND, OR, =, >=, <; no LIKE); the two cannot be combined. Add includes=OWNERSHIP or AUTHORIZATIONS for owner and authorization history. Page with limit and the since token from the previous response.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `datasets[0]` | query | string | yes | Dataset to search. More datasets can be added as datasets[1], and so on. Example: public-global-vessel-identity:latest |
| `query` | query | string | no | Free-form identifier: MMSI, IMO, call sign or ship name. Minimum 3 characters. Cannot be combined with where. Example: EXAMPLE STAR |
| `where` | query | string | no | Advanced search on several identifiers with AND, OR, =, >= and <. Cannot be combined with query. Example: ssvid = "000000001" |
| `match-fields` | query | string | no | Filter by match level. Works with query, not with where. One of: ID_MATCH_ONLY, SEVERAL_FIELDS, NO_MATCH, ALL |
| `includes` | query | string | no | Extra information to return One of: MATCH_CRITERIA, OWNERSHIP, AUTHORIZATIONS |
| `limit` | query | integer | no | Number of results to return. Maximum 50. |
| `since` | query | string | no | Pagination token from the previous response |
| `binary` | query | boolean | no | Return a protocol buffer instead of JSON |

Response fields:

- `entries[].selfReportedInfo[].id` (string): GFW vessel ID, used by the vessel and events endpoints
- `entries[].selfReportedInfo[].shipname` (string): Ship name as broadcast on AIS
- `entries[].selfReportedInfo[].ssvid` (string): MMSI
- `entries[].selfReportedInfo[].flag` (string): Flag (ISO3)
- `entries[].selfReportedInfo[].callsign` (string): Call sign
- `entries[].registryInfo[]` (object): Registry records: ship name, IMO, call sign, flag, gear types, length, tonnage, transmission dates
- `entries[].registryOwners[]` (object): Owner history: name, flag, source, dates (with includes=OWNERSHIP)
- `entries[].registryPublicAuthorizations[]` (object): Authorization history by source and dates (with includes=AUTHORIZATIONS)
- `entries[].combinedSourcesInfo[]` (object): Gear types, ship types and fishing-list status combined across sources
- `metadata.didYouMean` (object): Suggested alternative matches, by field
- `since` (string): Token for the next page
- `total` (integer): Total number of matches

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

Example response (200):

```json
{
  "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",
          "ssvid": "000000001",
          "sourceCode": "EXAMPLE-1",
          "dateFrom": "2014-06-30T00:00:00Z",
          "dateTo": "2015-09-30T00:00:00Z"
        }
      ],
      "selfReportedInfo": [
        {
          "id": "1234abcd5-6789-ef01-2345-6789abcdef01",
          "shipname": "EXAMPLE STAR",
          "ssvid": "000000001",
          "flag": "XXX",
          "callsign": "XX0000",
          "sourceCode": [
            "AIS"
          ],
          "messagesCounter": 1284,
          "positionsCounter": 894
        }
      ]
    }
  ],
  "limit": 30,
  "metadata": {
    "query": "Example Star",
    "normalizedQuery": "EXAMPLESTAR"
  },
  "since": "MTAuNzQ1MDM5LkVYQU1QTEU=",
  "total": 1
}
```

### Get one vessel's identity and registry records by its GFW vessel ID

`GET /vessels/{vesselId}`

- Footprint: 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.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `vesselId` | path | string | yes | GFW vessel ID, from a vessel search Example: 1234abcd5-6789-ef01-2345-6789abcdef01 |
| `dataset` | query | string | yes | Dataset to look the vessel up in Example: public-global-vessel-identity:latest |
| `registries-info-data` | query | string | no | NONE omits registry data, DELTA returns only data that changed over time, ALL returns all of it One of: NONE, DELTA, ALL |
| `includes` | query | string | no | Extra information to return One of: POTENTIAL_RELATED_SELF_REPORTED_INFO |
| `binary` | query | boolean | no | Return a protocol buffer instead of JSON |

Response fields:

- `dataset` (string): Dataset used for the lookup
- `registryInfoTotalRecords` (integer): 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
- `selfReportedInfo[].shipname` (string): Ship name as broadcast on AIS
- `selfReportedInfo[].shiptype` (string): Ship type
- `selfReportedInfo[].transmissionDateFrom` (string): First AIS transmission seen
- `selfReportedInfo[].transmissionDateTo` (string): Last AIS transmission seen

```bash
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'
```

Example response (200):

```json
{
  "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"
    }
  ]
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
