---
title: "Hub - Returns a list of valid lot locations at a given hub facility."
method: GET
path: "/v1/hub"
tags: ["Requests"]
---

# Hub - Returns a list of valid lot locations at a given hub facility.

`GET /v1/hub`

## Request

- Base URL: `https://api.bnsf.com:6443`
- URL: `https://api.bnsf.com:6443/v1/hub`
- Auth: none declared
- TypeScript: <https://skmtc.dev/bnsf/apis/bnsf-intermodal-hub-operations-api/docs/v1/hub/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `station333` string, required
- `stationStateCode` string, required

## Response `200`

**OK**

The request has succeeded.

- IntermodalStation: Contains information related to Intermodal Stations and any details related to them.
  - `equipmentLotLocations` object[]: List of all Equipment Lot Locations found within the boundaries of a given Intermodal Station.
    - `equipmentLotLocationName` string, required: The name of the lot where equipment is located.
  - `station333` string, required: Name of a City which has been abbreviated from the City's Full Name through the use of a standardized programmatic algorithm.
  - `stationStateCode` string, required: The State code for a given station defined by a standardized State code, as assigned by a national body such as the US Postal Service.

## Other responses

- `400`: **Bad Request** The request could not be understood by the server due to incorrect syntax. Do not repeat the request without modifications.
- `403`: Unauthorized request. Here are the most common causes: * You are getting 403 Access Denied. * It takes a few days for us to get you set up after you register. When set up is complete, you will receive an email letting you know. If you have not received the email, please wait up to five business days. Let us know via API Support if you still have not received the email after five business days. * You can also get this error if your certificate is not configured properly on your side. Please review the Mutual Authentication in the Getting Started section of our documentation. * You are getting 403 "message": "Insufficient privileges" when accessing a restricted service for which you do not have permission. You can use our Registration form to request access. Be sure to explain the situation in the "Please explain how you intend to use the API" field.
- `404`: **Not Found** The server cannot find the requested resource (URI). That is, the address of the endpoint in your request does not exist. Please consult the documentation.
- `405`: **Method Not Allowed** The request HTTP method is known by the server but has been disabled and cannot be used for that resource. For example, you may be using GET when POST is required. Please consult the documentation.
- `429`: **Too Many Requests** The BNSF API Gateway enforces rate limits to maintain application security and performance. Current rate limits are set as follows: * 1 API Request Per Second, Per Partner, Per Service * 15 API Requests Per Minute, Per Partner, Per Service * 100 API Request Per Minute, Per Service When requests exceed these limits the API Gateway will return a **429 Too Many Requests** error response. Upon receiving such exceptions, you can resubmit failed requests in a rate-limited manner, complying with the API Gateway throttle limits.
- `500`: **Internal Server Error** The server encountered an unexpected condition which prevented it from fulfilling the request. This is always a problem on the server side. Our internal support systems will be made aware.
- `504`: **Gateway Timeout** The server is acting as a gateway and cannot get a response in time for a request. Wait about one minute then try again.

---

[API](https://skmtc.dev/bnsf/apis/bnsf-intermodal-hub-operations-api.md) - [All operations](https://skmtc.dev/bnsf/apis/bnsf-intermodal-hub-operations-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bnsf/apis/bnsf-intermodal-hub-operations-api/revisions/b9e2a5ba75a4?raw)
