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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| code | query | string | — | Location code. |
| country | query | string | — | ISO alpha-2 country. |
| type | query | string | — | sea, air, icd, cfs, or land. |
| page | query | integer | — | One-indexed page. |
| page_size | query | integer | — | Rows 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
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.