Developers page

Use the City of Palo Alto API.

The API allows direct access to the data published in the City of Palo Alto Public Data site from your applications. It uses a RESTful interface and returns the data in JSON format.

Data Views invoked through the API provide online and standardized access to data contained in HTML pages, XLS, CSV and other similar file types available on Internet.

Get an Auth Key!

The API requires a key to operate.

1

Get one and access to any resource through it.

Jump right into the API resource documentation to get in touch with the requests and methods you can use.

Create a Request

The API accepts RESTful requests.

2

A typical request will look like this:
http://paloalto.cloudapi.junar.com/api/v2/datastreams/GENER-RESID-WATER-SERVI-UTILI/data.json/?auth_key=YOUR_API_KEY

A few things to note in the request above:

/api/v2/datastreams/
This is an invoke request, that will return a json response. The entire resources descriptions are available in the API resource documentation.

GENER-RESID-WATER-SERVI-UTILI
This is the GUID of the data stream you are accessing. You will always find this GUID in the Data Stream Details page, making a data stream search through the API, or in many other places.

auth_key=YOUR_API_KEY
This is the key from step 1. You'll need it for every request.

Process your response

3

Your response will be returned as JSON. You can also obtain the response in XML, CSV and HTML..

To understand the format of the result field, read the API resource documentation.

Powered by Junar This material is Data

Loading. Please wait.