Intermodal Region List
<h2>Overview</h2>
<p>In drayage, an 'intermodal region' is a geographic area that functions as a hub for intermodal transportation, featuring ports and ramps. We divided North America into approximately 100 intermodal regions. This API request delivers a list of intermodal regions. </p>
<h2>Request</h2>
<ul>
<li>Method: <strong>GET</strong></li>
<li>URI: <code>/intermodalRegions</code></li>
</ul>
<h2>Code Example</h2>
<pre><code>Request:
curl https://api.drayeasy.com/api/v2/intermodalRegions \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer xxxxxxxxx'
Response:
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
&quot;data&quot;: [
{
&quot;id&quot;: 50,
&quot;name&quot;: &quot;Albany - NY&quot;,
&quot;city&quot;: &quot;Albany, NY, USA&quot;,
&quot;latitude&quot;: 42.914506,
&quot;longitude&quot;: -73.709122,
&quot;has_ocean_port&quot;: false,
&quot;has_ramp_port&quot;: false
},
{
&quot;id&quot;: 53,
&quot;name&quot;: &quot;Albuquerque - NM&quot;,
&quot;city&quot;: &quot;Albuquerque, NM, USA&quot;,
&quot;latitude&quot;: 35.043125,
&quot;longitude&quot;: -106.653018,
&quot;has_ocean_port&quot;: false,
&quot;has_ramp_port&quot;: true
},
...
]
}</code></pre>
<h2>Response Fields Description</h2>
<table>
<thead>
<tr>
<th>Field</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>Integer</td>
<td>A unique identifier for the intermodal region.</td>
</tr>
<tr>
<td>name</td>
<td>String</td>
<td>The name of the intermodal region, typically including the city name and state abbreviation.</td>
</tr>
<tr>
<td>city</td>
<td>String</td>
<td>A detailed string that includes the city name, state abbreviation, and country.</td>
</tr>
<tr>
<td>latitude</td>
<td>Float</td>
<td>The geographic latitude of the intermodal region's central point.</td>
</tr>
<tr>
<td>longitude</td>
<td>Float</td>
<td>The geographic longitude of the intermodal region's central point.</td>
</tr>
<tr>
<td>has_ocean_port</td>
<td>Boolean</td>
<td>Indicates whether the intermodal region has access to an ocean port <strong>true</strong> or not <strong>false</strong>.</td>
</tr>
<tr>
<td>has_ramp_port</td>
<td>Boolean</td>
<td>Indicates whether the region includes a ramp port <strong>true</strong> or lacks one <strong>false</strong>.</td>
</tr>
</tbody>
</table>