Public data
None of the calls on this page need a login — construct a plain ScratchSession
and read away. They all hit api.scratch.mit.edu and return the API's JSON
verbatim.
Most list endpoints accept a page object, { limit, offset }. Scratch caps
limit at 40.
Users — session.users
Projects — session.projects
The read methods (the editing methods need login):
Studios — session.studios
Search & explore — session.search
search matches a query; explore browses a feed (pass a category tag, or *
for everything). Both take { mode, language, limit, offset }, where mode is
'popular' (default) or 'trending'.
Site-level helpers
Directly on the session: