to load into your own calculator instance using `setState()`.
2. Hit the saved graph's URL but specifically request a JSON response. If you ask us for JSON (say, using jQuery's `.getJSON()` method), we'll send you the serialized graph state as part of the response body. You can see this in action easily from the command line: `curl -H 'accept: application/json'
https://www.desmos.com/calculator/2rnqgoa6a4` will return JSON instead of HTML. The returned JSON has a `.state` property that is suitable to pass into `.setState()`.
Note, however, that it's possible to build graphs on
desmos.com that won't display as expected in the current stable API version, because the www calculator always runs the edge/experimental version of the API. For example, since the release of API v1.5 we have added new syntax and functions for working with lists. Any graph you build on
desmos.com that makes use of those features will be broken when displayed in a v1.5 calculator instance, because those functions and syntax didn't yet exist when v1.5 was stabilized. (In other words, though we work very hard to be backwards compatible, we can't promise
forwards compatibility, because we can't predict future features.) The absolute safest thing to do would be to author graphs in the same (or earlier) API version that you intend to load the graph in for consumption. What some content partners end up doing is building a lightweight authoring page that saves graph states to their own storage location rather than keeping them on
desmos.com, because that way they can enforce API versioning.