CLEARIE GETWAYEX-IM Intelligence & APIs
← Marketplace

Master Data · min plan: developer · standard (1u) · scope: read:master · both

Port Locations

Returns normalized port, airport, ICD, CFS, and land-border location records.

GET /v1/master/ports

Required scope

read:master

API credits

1 per success

Minimum plan

developer

Rate-limit bucket

standard

Parameters

NameInTypeRequiredDescription
codequerystringLocation code.
countryquerystringISO alpha-2 country.
typequerystringsea, air, icd, cfs, or land.
pagequeryintegerOne-indexed page.
page_sizequeryintegerRows per page, from 1 to 1000.

Sample request

curl "https://getway.clearie.neximprove.com/v1/master/ports?country=IN" -H "Authorization: Bearer $CLEARIE_API_KEY"

Sample response

{
  "items": [
    {
      "code": "INMUN",
      "name": "Mundra",
      "type": "sea",
      "country": "IN",
      "state": "GJ"
    }
  ],
  "meta": {
    "weighted_units": 1
  },
  "page": 1,
  "page_size": 200,
  "total": 1
}

Live response contract

Live calls require API-key authentication, read:master scope, plan access, and available quota. Successful calls consume 1 API credits.

Sandbox sample response

Workspace try-it calls use isolated representative sandbox records. They are for integration validation, not production filing.

Error examples

401 invalid key · 403 missing scope or plan · 429 quota/rate limit · 404 no verified data where applicable.

Response schema

root object {
items* array [
item object {
code* string// e.g. "INMUN"
name* string// e.g. "Mundra"
type* string// e.g. "sea"
country* string// e.g. "IN"
state* string// e.g. "GJ"
}
]
meta* object {
weighted_units* integer// e.g. 1
}
page* integer// e.g. 1
page_size* integer// e.g. 200
total* integer// e.g. 1
}

Try this API live in the workspace

The in-app try-it console runs against the isolated deterministic sandbox repository. It never reads live customer or reference records.