API Documentation

Please contact peter@parkinsf.com for information about the Parking API that provides JSON data for best parking.

Below is an explanation of deep linking into ParkinSF.com.

Anatomy of Deep Linking

https://www.parkinsf.com/sanfrancisco/parking-near/{address}/{day_of_week}/{start_time}/{duration}

Example 1: https://www.parkinsf.com/sanfrancisco/parking-near/1838+Mason+Street/mon/starting-4-50pm/for-2-30-hours

Example 2: https://www.parkinsf.com/sanfrancisco/parking-near/1901+Green+St/fri/starting-7-50pm/for-4-17-hours

1. {address}

Example 1: 100+Main+Street

Example 2: 100+Main+St

Example 3: 1838+Mason+Street

Example 4: 1000+Van+Ness+Ave

All spaces must be replaced with '+'. All other characters must be URI encoded. No ',San Francisco CA...' is necessary.

2. {day_of_week}

day of week must be one of the following values:

mon

tue

wed

thu

fri

sat

sun

3. {start_time}

Example 1: starting-12-15pm

Example 2: starting-7-00am

start_time is the concatenation of:

1. 'starting-'

2. hour + '-': hour must be one of the following values: 1,2,...,9,10,11,12.

3. minute: minute must always be two digits between 00 and 59 inclusive.

4. meridian: meridian must be 'am' or 'pm'.

4. {duration}

Example 1: for-1-00-hours

Example 2: for-3-36-hours

duration is the concatenation of:

1. 'for-'

2. hours + '-': hours must be one of the following values: 1,2,...,23,24.

3. minutes + '-hours': minutes must always be two digits between 00 and 59 inclusive.

Longest duration is 24 hours.