API response formats

The default API response format is json.

json this is the default response format

JSON (JavaScript Object Notation) is a data-interchange format based on JavaScript. For more details, consult http://json.org/.

Notes

JSON output is supported for all API methods.

jsonp

JSONP (JSON with Padding) is a technique for passing the results of a server request back to the client as a JavaScript function containing JSON data. To use JSONP with the SFO Museum Application Programming Interface (API) API, you must pass a callback paramater that refers to a function in the window scope of the calling page.