API documentation | API docs for agents | OpenAPI 3.1
GET /api/v1/locations
ark.search_locations
Searches visible shipper, consignee, and customer locations by name, address, customer, country, and team visibility.
- Availability
- Core preview
- Scopes
locations:read- ARK permissions
canViewLocations- Team visibility
- Required and enforced
- Idempotency-Key
- Not required
- Approval
- No MCP approval on REST API-token calls
- Rate limit
- API credential and organization budgets
Parameters
qquerystring- min length: 1; max length: 100
team_idsquerystring- Comma-separated visible team IDs.
country_codesquerystring- Comma-separated ISO 3166-1 alpha-3 country codes.
limitqueryinteger- default: 25; min: 1; max: 100
cursorquerystring
Request body
None.
Example request
Shell
curl 'https://arktms.com/api/v1/locations' \
-H "Authorization: Bearer $ARK_API_TOKEN"Success response
Location search results
objectstringrequiredokbooleanrequiredapi_versionstringrequiredrequest_idstringrequireddataobjectrequireddata.itemsarray<object>requireddata.paginationobjectrequiredErrors
HTTP 400- Invalid request
HTTP 401- Authentication required
HTTP 403- Permission, scope, team, or entitlement denied