Naar de inhoud
GET /v1/userprojects

A user's shared projects

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/scratch-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/scratch-api/v1/userprojects" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/scratch-api/v1/userprojects", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/scratch-api/v1/userprojects");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/scratch-api/v1/userprojects",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "count": 20,
        "totals": {
            "loves": 641088,
            "views": 31970611,
            "remixes": 0
        },
        "projects": [
            {
                "id": 843162693,
                "url": "https://scratch.mit.edu/projects/843162693",
                "image": "https://cdn2.scratch.mit.edu/get_image/project/843162693_480x360.png",
                "loves": 37468,
                "title": "Minecraft-ish MMO v1.7",
                "views": 1491675,
                "author": null,
                "shared": "2026-06-08T20:24:18.000Z",
                "created": "2023-04-29T09:27:30.000Z",
                "remixes": 0,
                "favorites": 34956,
                "description": null,
                "instructions": "⭐⭐⭐⭐ Coding Tutorials here ⭐⭐⭐⭐ ⭐⭐⭐ www.youtube.com/griffpatch ⭐⭐⭐ MMO Tutorial - https://youtu.be/1JTgg4WVAX8 ⭐ Fixed Furnaces - Sorry!!! ⭐ Place your Land Claim Sign to protect your building ⭐ Escap"
            },
            {
                "id": 1326350994,
                "url": "https://scratch.mit.edu/projects/1326350994",
                "image": "https://cdn2.scratch.mit.edu/get_image/project/1326350994_480x360.png",
                "loves": 3294,
                "title": "Just stars... v0.1",
                "views": 18738,
                "author": null,
                "shared": "2026-05-29T17:13:52.000Z",
                "created": "2026-05-29T08:44:43.000Z",
                "remixes": 0,
                "favorites": 2680,
                "description": null,
                "instructions": "Sometimes you just gotta code stars! - I don't know why... but they are just so beautiful and mysterious! - it's the little things that make it look cool, like the slight variations in colour and satu"
            },
            {
                "id": 1290458909,
                "url": "https://scratch.mit.edu/projects/1290458909",
                "image": "https://cdn2.scratch.mit.edu/get_image/project/1290458909_480x360.png",
                "loves": 7937,
                "title": "Physics Playground v0.5",
                "views": 154183,
                "author": null,
                "shared": "2026-03-14T09:55:19.000Z",
                "created": "2026-03-12T23:24:57.000Z",
                "remixes": 0,
                "favorites": 7197,
                "description": null,
                "instructions": "*** READ ALL THE INSTRUCTIONS!!! *** Simply Play in this Open Physics Playground - Make contraptions, build levels, spawn an army of Appels! (Scene 2 is less intensive on your PC) [Arrow Keys] to move"
            },
            {
                "id": 1230616495,
                "url": "https://scratch.mit.edu/projects/1230616495",
                "image": "https://cdn2.scratch.mit.edu/get_image/project/1230616495_480x360.png",
                "loves": 12607,
                "title": "3D Head Tracking Song!",
                "views": 238949,
                "author":
…