Aller au contenu
GET /v1/user/pins

A user's pins

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/pinterest-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/pinterest-api/v1/user/pins" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pinterest-api/v1/user/pins", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pinterest-api/v1/user/pins");
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/pinterest-api/v1/user/pins",
    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": {
        "pins": [
            {
                "id": "142567144448722388",
                "url": "https://www.pinterest.com/pin/142567144448722388/",
                "link": "https://www.nasa.gov/stem-content/what-comes-next-game/",
                "board": {
                    "id": "142567213143159083",
                    "url": "/nasa/learn-with-nasa/",
                    "name": "Learn With NASA"
                },
                "image": "https://i.pinimg.com/originals/67/e6/ae/67e6ae6e1f4cbbc84854b21e5a85eb96.png",
                "title": "NASA Games: What Comes Next?",
                "domain": "nasa.gov",
                "pinner": {
                    "id": "142567281862381039",
                    "username": "nasa",
                    "full_name": "NASA"
                },
                "is_video": false,
                "created_at": "Mon, 01 Jun 2026 11:35:30 +0000",
                "description": "Students can develop their pattern skills by playing this game correlated to the National Council of Teachers of Mathematics standard: Recognize, describe and extend patterns, such as sequences of sounds and shapes or simple numeric patterns, and translate from one representation to another.",
                "repin_count": 0,
                "comment_count": 0,
                "dominant_color": "#456998"
            },
            {
                "id": "142567144448690562",
                "url": "https://www.pinterest.com/pin/142567144448690562/",
                "link": "https://youtu.be/g8zVn14wg38",
                "board": {
                    "id": "142567213143159083",
                    "url": "/nasa/learn-with-nasa/",
                    "name": "Learn With NASA"
                },
                "image": "https://i.pinimg.com/originals/66/64/5f/66645f159b7378cb9d5151ef45aff0b2.jpg",
                "title": "STEMonstrations: Distribution of Mass",
                "domain": "youtu.be",
                "pinner": {
                    "id": "142567281862381039",
                    "username": "nasa",
                    "full_name": "NASA"
                },
                "is_video": false,
                "created_at": "Wed, 20 May 2026 15:15:14 +0000",
                "description": "Have you ever kicked a soccer ball and wondered why it curves, spins, or sometimes wobbles? NASA astronaut Jessica Meir aboard the International Space Station explains the science hidden inside every ball. Engineers carefully design soccer balls so they fly smoothly whether they’re being kicked in your backyard or in the World Cup.\n\nWatch our short video explainer!",
                "repin_count": 6,
                "comment_count": 0,
                "dominant_color": "#3f3b3b"
            },
            {
                "id": "142567144448607504",
                "url": "https://www.pinterest.com/pin/142567144448607504/",
                "link": "https://www.nasa.gov/stem-content/artemis-ii-stem-learning-pathway
…