GET Ports Of Entry

Returns all ports of entry.

Request Information

https://511ga.org/api/v2/get/portofentry

URI Parameters

URI Parameters
NameDescriptionTypeAdditional information
key

Developer Key

string

Required

format

Valid values are 'xml' or 'json', default 'json'.

string

Optional

Response Information

Resource Description


Resource Description
NameDescriptionType
Id

A unique identifier.

integer
Latitude

The latitude describing the location. Format: double between -90 and 90.

double
Longitude

The longitude describing the location. Format: double between -180 and 180.

double
Name

Name of port of entry.

string
Address1

Location address line 1.

string
Address2

Location address line 2.

string
Phone

Phone number.

string
OfficeHours

Office Hours of the port of entry

string
Closed

The days the port of entry is closed.

string
Website

The website where more information on the port of entry can be found.

string

Response Formats

JSON

Sample:
[
	{
		"Id": 501,
		"Latitude": 33.639658,
		"Longitude": -84.397828,
		"Name": "Atlanta - Service Port",
		"Address1": "157 Tradeport Drive",
		"Address2": "Atlanta, GA",
		"Phone": "404-675-1300",
		"OfficeHours": "8:00 am-6:00 pm",
		"Closed": "Sat, Sun",
		"Website": "https://www.cbp.gov/contact/ports/atlanta"
	},
	{
		"Id": 502,
		"Latitude": 31.149295,
		"Longitude": -81.492934,
		"Name": "Brunswick - Port of Entry",
		"Address1": "700 Gloucester Street",
		"Address2": "Brunswick, GA",
		"Phone": "912-262-6692",
		"OfficeHours": "8:00 am-5:00 pm",
		"Closed": "Sat, Sun",
		"Website": "https://www.cbp.gov/contact/ports/brunswick"
	}
]

XML

Sample:
<PortOfEntryList>
    <PortOfEntry>
        <Id>501</Id>
        <Latitude>33.639658</Latitude>
        <Longitude>-84.397828</Longitude>
        <Name>Atlanta - Service Port</Name>
        <Address1>157 Tradeport Drive</Address1>
        <Address2>Atlanta, GA</Address2>
        <Phone>404-675-1300</Phone>
        <OfficeHours>8:00 am-6:00 pm</Open>
        <Closed>Sat, Sun</Closed>
        <Website>https://www.cbp.gov/contact/ports/atlanta</Website>
    </PortOfEntry>
    <PortOfEntry>
        <Id>502</Id>
        <Latitude>31.149295</Latitude>
        <Longitude>-81.492934</Longitude>
        <Name>Brunswick - Port of Entry</Name>
        <Address1>700 Gloucester Street</Address1>
        <Address2>Brunswick, GA</Address2>
        <Phone>912-262-6692</Phone>
        <OfficeHours>8:00 am-5:00 pm</Open>
        <Closed>Sat, Sun</Closed>
        <Website>https://www.cbp.gov/contact/ports/brunswick</Website>
    </PortOfEntry>
</PortOfEntryList>