REST API · GET
Pinterest Media API
Download videos, images, and GIFs from Pinterest via pin.it or pinterest.com links.
GET
https://api.interapi.dev/api/v1/pinterest
Price: 5 credits per successful response. 5xx is free, 4xx costs at most 1 credit. Pricing
What it does
Handles Pinterest pins: static images, animated GIFs, and video pins. Supports pin.it short links and full pinterest.com/pin/… URLs. The media array lists all available formats with quality labels; videos may include download_url as a proxy download link.
- Video and images
- Multiple resolutions
- Fast response (~2s)
- pin.it short links
How to use it
- Use a pin.it or pinterest.com/pin/… link
- GET /api/v1/pinterest?url=…
- Response: media[] with image and video URLs.
Parameters
urlstringrequired- Public pin link: pin.it/… or pinterest.com/pin/…
Request example
curl -G "https://api.interapi.dev/api/v1/pinterest" \
-H "X-API-Key: YOUR_API_KEY" \
--data-urlencode "url=https://pin.it/b8ifFh79b"import requests
resp = requests.get(
"https://api.interapi.dev/api/v1/pinterest",
params={"url": "https://pin.it/b8ifFh79b"},
headers={"X-API-Key": "YOUR_API_KEY"},
timeout=60,
)
resp.raise_for_status()
print(resp.json())const params = new URLSearchParams({ url: "https://pin.it/b8ifFh79b" });
const resp = await fetch(`https://api.interapi.dev/api/v1/pinterest?${params}`, {
headers: { "X-API-Key": "YOUR_API_KEY" },
});
if (!resp.ok) throw new Error(`HTTP ${resp.status}`);
console.log(await resp.json());<?php
$query = http_build_query(["url" => "https://pin.it/b8ifFh79b"]);
$ch = curl_init("https://api.interapi.dev/api/v1/pinterest?" . $query);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-API-Key: YOUR_API_KEY"],
CURLOPT_TIMEOUT => 60,
]);
$data = json_decode(curl_exec($ch), true);
print_r($data);
Response example
{
"status": "success",
"platform": "InterAPI",
"title": "",
"description": "",
"media": [
{
"type": "video",
"url": "https://v1.pinimg.com/…/da6d14c39a57db3db3844930",
"quality": "720p"
},
{
"type": "photo",
"url": "https://i.pinimg.com/…/d53b014d86a6b6761bf649a0",
"quality": "image"
}
],
"video_url": "https://v1.pinimg.com/…/da6d14c39a57db3db3844930",
"video_hd_url": "https://v1.pinimg.com/…/da6d14c39a57db3db3844930",
"music_url": null,
"thumbnail": "https://i.pinimg.com/…/d53b014d86a6b6761bf649a0",
"duration_sec": 0,
"author": "",
"channel_url": null,
"duration_ms": 986
}duration_ms is server processing time. URLs in the example are shortened.
Test a request
Without a key — up to 30 requests per hour per IP. With your key, each request costs the API price in credits.
Paste a link and press Send. The response shows up here.