Aller au contenu
GET /v1/explore

The community discovery feed

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/scratch-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/scratch-api/v1/explore" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/scratch-api/v1/explore", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/scratch-api/v1/explore");
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/explore",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "mode": "trending",
        "count": 11,
        "projects": [
            {
                "id": 275307007,
                "url": "https://scratch.mit.edu/projects/275307007",
                "image": "https://cdn2.scratch.mit.edu/get_image/project/275307007_480x360.png",
                "loves": 3068,
                "title": "Scratch Monopoly - The Scratch Edition!",
                "views": 24008,
                "author": "PrinceMatthew9998",
                "shared": "2019-01-15T16:12:19.000Z",
                "created": "2018-12-28T19:03:21.000Z",
                "remixes": 0,
                "favorites": 2777,
                "description": "✰ Welcome to Scratchnopoly! ✰ (Scratch Monopoly) I've haven't been able to comment due to Scratch 3.0 lagging my project and making it crash! Sorry! When Scratch 3.0 fixes my project, I will be creating a much faster version, which includes balance changes and bug fixes! Give me suggestions on what ",
                "instructions": null
            },
            {
                "id": 434926168,
                "url": "https://scratch.mit.edu/projects/434926168",
                "image": "https://cdn2.scratch.mit.edu/get_image/project/434926168_480x360.png",
                "loves": 108,
                "title": "In The Laboratory || #all #tutorials #art",
                "views": 6220,
                "author": "-mushr00mz-",
                "shared": "2020-10-30T20:50:33.000Z",
                "created": "2020-10-10T21:20:43.000Z",
                "remixes": 0,
                "favorites": 79,
                "description": "instructions: <press space> or <tap> notes: \"In The Laboratory\" is an educational project about microorganisms, it contains three slides for the three main microorganisms. It was made, exclusively, for my studio, Extraordinary Organisms. Feel free to check it out, make projects for it, or ask to cur",
                "instructions": null
            },
            {
                "id": 788352494,
                "url": "https://scratch.mit.edu/projects/788352494",
                "image": "https://cdn2.scratch.mit.edu/get_image/project/788352494_480x360.png",
                "loves": 71,
                "title": "Snowy Wilderness - Parallax #all #art",
                "views": 2690,
                "author": "Xeno_G",
                "shared": "2023-01-15T01:16:04.000Z",
                "created": "2023-01-15T00:35:39.000Z",
                "remixes": 0,
                "favorites": 58,
                "description": "Background mountains - @Samyra Code-me #all #art #music #animations #Xeno_G #tutorials #games",
                "instructions": "Watch and relax, snowy wilderness. My first Project. Hope you enjoy! Propose it to be featured here https://scratch.mit.edu/studios/28715018/ #all #art #music #animations #Xeno_G IM GETTING CURATED :D"
            },
            {
                "id": 792538179,
                "url": "https://scratch.mit
…